Template:Infobox ShopItems: Difference between revisions
Jump to navigation
Jump to search
m removed an uncommented comment |
m soul groups now dynamic using write_item_slot_subgroup |
||
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 | 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> | <templatedata> | ||
{ | { | ||
Line 35: | Line 35: | ||
|above = | |above = | ||
|group1 = | |group1 = | ||
|list1 = {{#invoke:ItemData/nav|write_item_slot_subgroup|Weapon|get_item_nav_cards}} | |||
}} | |||
}}|}}{{#ifeq:{{{armor items|}}}|true| | }}|}}{{#ifeq:{{{armor items|}}}|true| | ||
{{Navbox | {{Navbox | ||
Line 57: | Line 47: | ||
|above = | |above = | ||
|group1 = | |group1 = | ||
|list1 = {{#invoke:ItemData/nav|write_item_slot_subgroup|Armor|get_item_nav_cards}} | |||
}} | |||
}}|}}{{#ifeq:{{{tech items|}}}|true| | }}|}}{{#ifeq:{{{tech items|}}}|true| | ||
{{Navbox | {{Navbox | ||
Line 79: | Line 59: | ||
|above = | |above = | ||
|group1 = | |group1 = | ||
|list1 = {{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_cards}} | |||
}} | |||
}}|}}</onlyinclude> | }}|}}</onlyinclude> | ||
{{Infobox ShopItems|weapon items = true|armor items = true|tech items = true}} | {{Infobox ShopItems|weapon items = true|armor items = true|tech items = true}} |
Revision as of 20:57, 1 November 2024
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 ;)
No description.
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 |
|
|
|