Difference between revisions of "Template:ArmorTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
old>Phoe nixx
old>Phoe nixx
Line 22: Line 22:


| {{#vardefine:item rarity|{{:{{{1}}}|Rarity}}}}{{#if:{{#var:item rarity}}||{{#vardefine:item rarity|Common}}}}{{c|{{#var:item rarity}}}}
| {{#vardefine:item rarity|{{:{{{1}}}|Rarity}}}}{{#if:{{#var:item rarity}}||{{#vardefine:item rarity|Common}}}}{{c|{{#var:item rarity}}}}
| {{#vardefine:item protection|{{:{{{1}}}|Protection}}}}{{#if:{{#var:item protection}}|{{#var:item protection}}|0}}
{{#ifeq:{{lc:{{#var:armor table type}}}}|jewelry||
| {{:{{{1}}}|ArmorClass}}
{{!}} {{#vardefine:item protection|{{:{{{1}}}|Protection}}}}{{#if:{{#var:item protection}}|{{#var:item protection}}|0}}
{{!}} {{:{{{1}}}|ArmorClass}}
}}
| {{:{{{1}}}|Durability}}
| {{:{{{1}}}|Durability}}
| {{:{{{1}}}|Price}}
| {{:{{{1}}}|Price}}
| {{Properties|{{{1}}}}}</includeonly><noinclude>{{doc|Template:ArmorTable}}[[Category:Templates]]</noinclude>
| {{Properties|{{{1}}}}}</includeonly><noinclude>{{doc|Template:ArmorTable}}[[Category:Templates]]</noinclude>

Revision as of 15:38, 7 October 2020

This template has no documentation. If you know how to use this template, please add some.