Difference between revisions of "Template:ArmorTable/row"
Jump to navigation
Jump to search
(add Tier) |
|||
Line 3: | Line 3: | ||
-->{{#vardefine:Datastring|{{:Armor_data|{{{1}}}}}}}<!-- | -->{{#vardefine:Datastring|{{:Armor_data|{{{1}}}}}}}<!-- | ||
--- Separate values from datastring into individual variables. --- | --- Separate values from datastring into individual variables. --- | ||
-->{{#vardefine:Tier|{{#explode: {{#var:Datastring}}|;|0}}}}<!-- | |||
-->{{#vardefine:Unobtainable|{{#explode: {{#var:Datastring}}|;|-3}}}}<!-- | -->{{#vardefine:Unobtainable|{{#explode: {{#var:Datastring}}|;|-3}}}}<!-- | ||
-->{{#vardefine:Rarity|{{#explode: {{#var:Datastring}}|;|4}}}}<!-- | -->{{#vardefine:Rarity|{{#explode: {{#var:Datastring}}|;|4}}}}<!-- | ||
Line 15: | Line 16: | ||
-->{{#vardefine:TranslateName|{{Translate|{{{1}}}|ItemNames}}}} | -->{{#vardefine:TranslateName|{{Translate|{{{1}}}|ItemNames}}}} | ||
|- | |- | ||
|{{#if:{{#var:Tier}}|Tier {{#var:Tier}} | |||
|{{#if:{{#var:Unobtainable}}|{{Unobtainable}}<br />}}'''[[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}|{{#var:TranslateName}}]]'''<!-- | |{{#if:{{#var:Unobtainable}}|{{Unobtainable}}<br />}}'''[[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}|{{#var:TranslateName}}]]'''<!-- | ||
-->{{#if:{{#var:Image2}}|<!-- | -->{{#if:{{#var:Image2}}|<!-- |
Latest revision as of 22:11, 25 December 2024
This template has no documentation. If you know how to use this template, please add some.