Template:Infobox ShopItems: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
moving more info
Sylphoid (talk | contribs)
finally fix the links
 
Line 3: Line 3:
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = [[File:Weapon Icon.png|30px|link={{#invoke:Lang|get_string|CitadelCategoryWeapon|fallback_str=en}}]] <b>{{#invoke:Dictionary|translate|Weapon Item}}</b>
|title      = [[File:Weapon Icon.png|30px|link={{#invoke:Dictionary|translate|Weapon Item|lang_code_override=en}}]] <b>{{#invoke:Dictionary|translate|Weapon Item}}</b>
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;
Line 15: Line 15:
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = [[File:Vitality Icon.png|30px|link={{#invoke:Lang|get_string|CitadelCategoryArmor|fallback_str=en}}]] <b>{{#invoke:Dictionary|translate|Armor Item}}</b>
|title      = [[File:Vitality Icon.png|30px|link={{#invoke:Dictionary|translate|Armor Item|lang_code_override=en}}]] <b>{{#invoke:Dictionary|translate|Armor Item}}</b>
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;
Line 27: Line 27:
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = [[File:Spirit icon.png|30px|link={{#invoke:Lang|get_string|CitadelCategoryTech|fallback_str=en}}]] <b>{{#invoke:Dictionary|translate|Tech Item}}</b>
|title      = [[File:Spirit icon.png|30px|link={{#invoke:Dictionary|translate|Tech Item|lang_code_override=en}}]] <b>{{#invoke:Dictionary|translate|Tech Item}}</b>
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;

Latest revision as of 04:56, 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[edit source]

{{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