Difference between revisions of "Template:WeaponTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(add unobtainable)
old>Phoe nixx
Line 1: Line 1:
<includeonly>
<includeonly>
|-
|-
|{{#if:{{:{{{1}}}|Unobtainable}}|<small><span style="color:#c00">'''UNOBTAINABLE'''</span></small><br />}}'''[[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}|{{#if:{{:{{{1}}}|Name}}|{{Translate|{{:{{{1}}}|Name}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}]]'''[[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}}}}]]
|{{#if:{{:{{{1}}}|Unobtainable}}|{{Unobtainable}}<br />}}'''[[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}|{{#if:{{:{{{1}}}|Name}}|{{Translate|{{:{{{1}}}|Name}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}]]'''[[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}}|Properties}}}}
| {{#vardefine:item rarity|{{:{{{1}}}|Rarity}}}}{{#if:{{#var:item rarity}}||{{#vardefine:item rarity|Common}}}}{{c|{{#var:item rarity}}|{{Translate|{{#var:item rarity}}|Properties}}}}
| data-sort-value="{{TotalDamage|{{{1}}}}}" | {{Damage|{{{1}}}}}
| data-sort-value="{{TotalDamage|{{{1}}}}}" | {{Damage|{{{1}}}}}

Revision as of 03:39, 29 October 2020

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