Template:Infobox ShopItems: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
add docs
Sylphoid (talk | contribs)
moving more info
Line 1: Line 1:
<onlyinclude>
{{#vardefine:souls_style|font-size: 12px; text-shadow: 1px 1px rgba(0, 0, 0, 0.3);}}
{{#vardefine:souls_style|font-size: 12px; text-shadow: 1px 1px rgba(0, 0, 0, 0.3);}}
{{#ifeq:{{{weapon items|}}}|true|
{{#ifeq:{{{weapon items|}}}|true|
Line 37: Line 36:
|group1    =  
|group1    =  
|list1      = {{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_cards}}
|list1      = {{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_cards}}
}}|}}</onlyinclude>
}}|}}<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>
{{Infobox ShopItems|weapon items = true|armor items = true|tech items = true}}

Revision as of 04:44, 3 November 2024

Template documentation [view] [edit] [history] [purge]

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

Examples

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

Template parameters[Edit template data]

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