Difference between revisions of "Template:ArmorTable/row test"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--- Load complete datastring into a variable - to only load from the | --- Load complete datastring into a variable - to only load from the Armor data page once. --- | ||
-->{{#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:Unobtainable|{{#explode: {{#var:Datastring}}|;|-3}}}}<!-- | -->{{#vardefine:Unobtainable|{{#explode: {{#var:Datastring}}|;|-3}}}}<!-- | ||
-->{{#vardefine:Rarity|{{#explode: {{#var:Datastring}}|;|4}}}}<!-- | -->{{#vardefine:Rarity|{{#explode: {{#var:Datastring}}|;|4}}}}<!-- | ||
-->{{#vardefine: | -->{{#vardefine:ArmorClass|{{#explode: {{#var:Datastring}}|;|3}}}}<!-- | ||
-->{{#vardefine:Protection|{{#explode: {{#var:Datastring}}|;|8}}}}<!-- | -->{{#vardefine:Protection|{{#explode: {{#var:Datastring}}|;|8}}}}<!-- | ||
-->{{#vardefine:Durability|{{#explode: {{#var:Datastring}}|;|7}}}}<!-- | -->{{#vardefine:Durability|{{#explode: {{#var:Datastring}}|;|7}}}}<!-- | ||
Line 29: | Line 29: | ||
{{!}} {{#if:{{#var:Protection}}|{{#var:Protection}}|0}} | {{!}} {{#if:{{#var:Protection}}|{{#var:Protection}}|0}} | ||
}} | }} | ||
{{!}} {{Translate|{{#var: | {{!}} {{Translate|{{#var:ArmorClass}}|Properties}} | ||
}} | }} | ||
| {{#var:Durability}} | | {{#var:Durability}} | ||
| {{#var:Price}} | | {{#var:Price}} | ||
| {{ | | {{Test_test|{{{1}}}}}</includeonly><noinclude>{{doc|Template:ArmorTable}}[[Category:Templates]]</noinclude> |
Latest revision as of 16:24, 26 May 2023
This template has no documentation. If you know how to use this template, please add some.