Editing Template:Item Navbox v2Give feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
Similar to [[Template:Item Navbox]], but calls [[Template:ItemBox]] instead of [[Template:ItemIcon]] for each item's formatting. Simply set which ones you want to true when creating (Someone please let me know if this is bad for optimisation :) ) -Sur: Don't worry, your method is actually very efficient ;) | |||
<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": "Choose whether or not to show Tech (Spirit) Items.", | |||
"type": "boolean", | |||
"default": "false" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
<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| | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title = {{ | |title = [[File:Weapon Icon.png|30px|link={{#invoke:Lang|get_string|CitadelCategoryWeapon|fallback_str=en}}]] <b>{{#invoke:Dictionary|translate|Weapon Item}}</b> | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 15: | Line 39: | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title = {{ | |title = [[File:Vitality Icon.png|30px|link={{#invoke:Lang|get_string|CitadelCategoryArmor|fallback_str=en}}]] <b>{{#invoke:Dictionary|translate|Armor Item}}</b> | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 27: | Line 51: | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title = {{ | |title = [[File:Spirit icon.png|30px|link={{#invoke:Lang|get_string|CitadelCategoryTech|fallback_str=en}}]] <b>{{#invoke:Dictionary|translate|Tech Item}}</b> | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 36: | Line 60: | ||
|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> | ||
{{Infobox ShopItems|weapon items = true|armor items = true|tech items = true}} | |||