Template:Item Navbox v2: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
added ItemType template with colored text for better reading
No edit summary
Line 3: Line 3:
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = {{ItemType|Weapon}}
|title      = {{ItemType|Weapon|color=true}}
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;
Line 15: Line 15:
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = {{ItemType|Armor}}
|title      = {{ItemType|Armor|color=true}}
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;
Line 27: Line 27:
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = {{ItemType|Tech}}
|title      = {{ItemType|Tech|color=true}}
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;

Revision as of 13:56, 31 March 2025

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

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