Template:Infobox ShopItems/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
Created page with "Similar to Template:Item Navbox, but calls Template:ItemBox instead of Template:ItemIcon for each item's formatting. <templatedata> { "params": { "weapon items": { "description": "Choose whether or not to show Weapon items.", "type": "boolean", "default": "false" }, "armor items": { "description": "Choose whether or not to show Armor (Vitality) Items", "type": "boolean", "default": "false" }, "tech items": { "description": "Cho..."
 
Sylphoid (talk | contribs)
add examples and info
 
Line 1: Line 1:
Similar to [[Template:Item Navbox]], but calls [[Template:ItemBox]] instead of [[Template:ItemIcon]] for each item's formatting.
Similar to [[Template:Item Navbox]], but calls [[Template:ItemBox]] instead of [[Template:ItemIcon]] for each item's formatting.
== Examples ==
<pre>
{{Infobox ShopItems|weapon items = true|armor items = true|tech items = true}}
</pre>
{{Infobox ShopItems|weapon items = true|armor items = true|tech items = true}}
<templatedata>
<templatedata>
{
{
Line 18: Line 24:
"default": "false"
"default": "false"
}
}
}
},
"description": " ",
"format": "inline"
}
}
</templatedata>
</templatedata>
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 04:47, 3 November 2024

Similar to Template:Item Navbox, but calls Template:ItemBox instead of Template:ItemIcon for each item's formatting.

Examples[edit source]

{{Infobox ShopItems|weapon items = true|armor items = true|tech items = true}}

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
weapon itemsweapon items

Choose whether or not to show Weapon items.

Default
false
Booleanoptional
armor itemsarmor items

Choose whether or not to show Armor (Vitality) Items

Default
false
Booleanoptional
tech itemstech items

Choose whether or not to show Tech (Spirit) Items.

Default
false
Booleanoptional