Difference between revisions of "Template:ArmorTable/row"
Jump to navigation
Jump to search
old>Realpsojed (now loads properties (Rarity, Protection, etc.) from the Data page) |
old>Realpsojed (Temporary undo, it works but Bulk Parser uses wrong item names. Undo revision 19403 by Realpsojed (talk)) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|- | |- | ||
|{{#if:{{: | |{{#if:{{:{{{1}}}|Unobtainable}}|{{Unobtainable}}</small><br />}}'''[[{{{1}}}|{{#if:{{:{{{1}}}|Name}}|{{Translate|{{:{{{1}}}|Name}}|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|{{: | | {{#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|{{: | {{!}} {{#vardefine:item protection|{{:{{{1}}}|Protection}}}}{{#if:{{#var:item protection}}|{{#var:item protection}}|0}} | ||
{{!}} {{Translate|{{: | {{!}} {{Translate|{{:{{{1}}}|ArmorClass}}|Properties}} | ||
}} | }} | ||
| {{: | | {{:{{{1}}}|Durability}} | ||
| {{: | | {{:{{{1}}}|Price}} | ||
| {{#if: {{:{{{1}}}|NewProp}}|{{Test|{{{1}}}}}|{{Properties|{{{1}}}}}}}</includeonly><noinclude>{{doc|Template:ArmorTable}}[[Category:Templates]]</noinclude> | | {{#if: {{:{{{1}}}|NewProp}}|{{Test|{{{1}}}}}|{{Properties|{{{1}}}}}}}</includeonly><noinclude>{{doc|Template:ArmorTable}}[[Category:Templates]]</noinclude> |
Revision as of 11:11, 22 September 2021
This template has no documentation. If you know how to use this template, please add some.