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: | ||
{{ | Custom template containing 3 navboxes. Simply set which ones you want to true when creating (Someone please let me know if this is bad for optimisation :) ) | ||
<templatedata> | |||
{ | |||
"params": { | |||
"weapon items": { | |||
"description": "Choose whether or not to show Weapon items.", | |||
"type": "boolean", | |||
"default": "false" | |||
}, | |||
"vitality items": { | |||
"description": "Choose whether or not to show Vitality Items", | |||
"type": "boolean", | |||
"default": "false" | |||
}, | |||
"spirit items": { | |||
"description": "Choose whether or not to show Spirit Items.", | |||
"type": "boolean", | |||
"default": "false" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
<onlyinclude> | |||
{{#ifeq:{{{weapon items|}}}|true| | {{#ifeq:{{{weapon items|}}}|true| | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title = | |title = [[File:Weapon Icon.png|30px|link=Weapon]] <b>Weapon Items</b> | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 11: | Line 34: | ||
|above = | |above = | ||
|group1 = | |group1 = | ||
|list1 = {{ | |list1 = {{Weapon Items}} | ||
}}|}}{{#ifeq:{{{ | }}|}}{{#ifeq:{{{vitality items|}}}|true| | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title = | |title = [[File:Vitality Icon.png|30px|link=Vitality]] <b>Vitality Items</b> | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 23: | Line 46: | ||
|above = | |above = | ||
|group1 = | |group1 = | ||
|list1 = {{ | |list1 = {{Vitality Items}} | ||
}}|}}{{#ifeq:{{{ | }}|}}{{#ifeq:{{{spirit items|}}}|true| | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title = | |title = [[File:Spirit icon.png|30px|link=Spirit]] <b>Spirit Items</b> | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 35: | Line 58: | ||
|above = | |above = | ||
|group1 = | |group1 = | ||
|list1 = {{ | |list1 = {{Spirit Items}} | ||
}}|}}< | }}|}}</onlyinclude> | ||
{{Infobox ShopItems|weapon items = true|vitality items = true|spirit items = true}} | |||