Template:Item Navbox v2: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m soul groups now dynamic using write_item_slot_subgroup |
Gammaton32 (talk | contribs) m Gammaton32 moved page Template:Infobox ShopItems to Template:Item Navbox v2: better name |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{#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 = {{ItemType|Weapon|color=true}} | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 39: | Line 15: | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title | |title = {{ItemType|Armor|color=true}} | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 51: | Line 27: | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title | |title = {{ItemType|Tech|color=true}} | ||
|state = | |state = | ||
|titlestyle = background-color:#ffefd7; | |titlestyle = background-color:#ffefd7; | ||
| Line 60: | 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}} | ||
}}|}}< | }}|}}<noinclude>{{Documentation}}</noinclude> | ||
{{ | |||
Latest revision as of 18:03, 22 May 2026
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}}
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| weapon items | weapon items | Choose whether or not to show Weapon items.
| Boolean | optional |
| armor items | armor items | Choose whether or not to show Armor (Vitality) Items
| Boolean | optional |
| tech items | tech items | Choose whether or not to show Tech (Spirit) Items.
| Boolean | optional |