Difference between revisions of "Template:ArmorTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(added translation templates)
old>Realpsojed
Line 21: Line 21:
-->|[[File:{{#if:{{:{{{1}}}|Image}}|{{:{{{1}}}|Image}}|{{{1}}}.png}}|center|alt={{#if:{{:{{{1}}}|Name}}|{{Translate|{{:{{{1}}}|Name}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}|link={{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}]]}}
-->|[[File:{{#if:{{:{{{1}}}|Image}}|{{:{{{1}}}|Image}}|{{{1}}}.png}}|center|alt={{#if:{{:{{{1}}}|Name}}|{{Translate|{{:{{{1}}}|Name}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}|link={{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}]]}}


| {{#vardefine:item rarity|{{:{{{1}}}|Rarity}}}}{{#if:{{#var:item rarity}}||{{#vardefine:item rarity|Common}}}}{{c|{{#var:item rarity}}|{{Translate|{{#var:item rarity}}|Texts}}}}
| {{#vardefine:item rarity|{{:{{{1}}}|Rarity}}}}{{#if:{{#var:item rarity}}||{{#vardefine:item rarity|Common}}}}{{c|{{#var:item rarity}}|{{Translate|{{#var:item rarity}}|Properties}}}}
{{#ifeq:{{lc:{{#var:armor table type}}}}|jewelry||
{{#ifeq:{{lc:{{#var:armor table type}}}}|jewelry||
{{!}} {{#vardefine:item protection|{{:{{{1}}}|Protection}}}}{{#if:{{#var:item protection}}|{{#var:item protection}}|0}}
{{!}} {{#vardefine:item protection|{{:{{{1}}}|Protection}}}}{{#if:{{#var:item protection}}|{{#var:item protection}}|0}}
{{!}} {{Translate|{{:{{{1}}}|ArmorClass}}|Texts}}
{{!}} {{Translate|{{:{{{1}}}|ArmorClass}}|Properties}}
}}
}}
| {{:{{{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:17, 8 October 2020

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