Difference between revisions of "Template:ArmorTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
Tag: Manual revert
(switch to Armor data page)
Line 1: Line 1:
<includeonly>
<includeonly>
|-
|-
|{{#if:{{:Data|{{{1}}}|Unobtainable}}|{{Unobtainable}}<br />}}'''[[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}|{{#if:{{:{{{1}}}|Name}}|{{#if:{{Translate|{{:{{{1}}}|Name}}|ItemNames}}|{{Translate|{{:{{{1}}}|Name}}|ItemNames}}}}|{{#if:{{Translate|{{{1}}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}}}]]'''<!--
|{{#if:{{:Armor data|{{{1}}}|Unobtainable}}|{{Unobtainable}}<br />}}'''[[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}|{{#if:{{:{{{1}}}|Name}}|{{#if:{{Translate|{{:{{{1}}}|Name}}|ItemNames}}|{{Translate|{{:{{{1}}}|Name}}|ItemNames}}}}|{{#if:{{Translate|{{{1}}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}}}]]'''<!--


-->{{#if:{{:{{{1}}}|Image2}}|<!--
-->{{#if:{{:{{{1}}}|Image2}}|<!--
Line 21: Line 21:
-->|[[File:{{#if:{{:{{{1}}}|Image}}|{{:{{{1}}}|Image}}|{{{1}}}.png}}|center|alt={{#if:{{:{{{1}}}|Name}}|{{Translate|{{:{{{1}}}|Name}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}|class=image2x|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}}}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}]]}}


| {{#vardefine:item rarity|{{:Data|{{{1}}}|Rarity}}}}{{#if:{{#var:item rarity}}||{{#vardefine:item rarity|Common}}}}{{c|{{#var:item rarity}}|{{Translate|{{#var:item rarity}}|Properties}}}}
| {{#vardefine:item rarity|{{:Armor data|{{{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|{{:Data|{{{1}}}|Protection}}}}{{#if:{{#var:item protection}}|{{#var:item protection}}|0}}
{{!}} {{#vardefine:item protection|{{:Armor data|{{{1}}}|Protection}}}}{{#if:{{#var:item protection}}|{{#var:item protection}}|0}}
{{!}} {{Translate|{{:Data|{{{1}}}|ArmorClass}}|Properties}}
{{!}} {{Translate|{{:Armor data|{{{1}}}|ArmorClass}}|Properties}}
}}
}}
| {{:Data|{{{1}}}|Durability}}
| {{:Armor data|{{{1}}}|Durability}}
| {{:Data|{{{1}}}|Price}}
| {{:Armor data|{{{1}}}|Price}}
| {{Test|{{{1}}}}}</includeonly><noinclude>{{doc|Template:ArmorTable}}[[Category:Templates]]</noinclude>
| {{Test|{{{1}}}}}</includeonly><noinclude>{{doc|Template:ArmorTable}}[[Category:Templates]]</noinclude>

Revision as of 11:27, 21 June 2022

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