Difference between revisions of "Template:ItemPropertiesInfoBox"
(format) |
(fixed ammunition formatting) |
||
Line 237: | Line 237: | ||
{{#if: {{#show: {{#var: source}} |?Ammunition }} | | {{#if: {{#show: {{#var: source}} |?Ammunition }} | | ||
{{!}}Ammunition | {{!}}Ammunition | ||
− | {{!}} {{# | + | {{!}} {{#vardefine: string | {{#explode: {{#sub: {{#show: {{#var: source}} |?Ammunition}} | 3 }} | {{!}} | 0 }} }}{{#vardefine: i | 0 }}{{#vardefine: continue | true}}<!-- |
+ | -->{{#while: | ||
+ | | {{#var: continue}} | ||
+ | | {{#vardefine: exploded | {{#explode: {{#var: string}} | , | {{#var: i}} }} }}<!-- | ||
+ | -->{{#if: {{#var: exploded}} | {{#vardefine: continue | true}}[[{{#var: exploded}}]]<br> | {{#vardefine: continue |}} }}<!-- | ||
+ | -->{{#vardefine: i | {{#expr: {{#var: i}} + 1}} }}<!-- | ||
+ | -->}} | ||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 13:29, 22 October 2019
This template is designed for being used inside Template:InfoOverview. It adds information on equippable Items to the general info overview