Difference between revisions of "Template:WeaponTable/row"
Jump to navigation
Jump to search
(using new DamageText property to load damage into the table) |
|||
Line 5: | Line 5: | ||
-->{{#vardefine:Image|{{:Data|{{{1}}}|Image}}}}<!-- | -->{{#vardefine:Image|{{:Data|{{{1}}}|Image}}}}<!-- | ||
-->{{#vardefine:Rarity|{{:Data|{{{1}}}|Rarity}}}}<!-- | -->{{#vardefine:Rarity|{{:Data|{{{1}}}|Rarity}}}}<!-- | ||
-->{{#vardefine:Total Damage|{{:Data|{{{1}}}|Total Damage}}}} | -->{{#vardefine:Total Damage|{{:Data|{{{1}}}|Total Damage}}}}<!-- | ||
-->{{#vardefine:Damage Text|{{:Data|{{{1}}}|DamageText}}}} | |||
|- | |- | ||
|{{#if:{{:Data|{{{1}}}|Unobtainable}}|{{Unobtainable}}<br />}}<!-- | |{{#if:{{:Data|{{{1}}}|Unobtainable}}|{{Unobtainable}}<br />}}<!-- | ||
Line 19: | Line 20: | ||
-->alt={{#if:{{#var:Name}}|{{Translate|{{#var:Name}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}]] | -->alt={{#if:{{#var:Name}}|{{Translate|{{#var:Name}}|ItemNames}}|{{Translate|{{{1}}}|ItemNames}}}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}]] | ||
| {{#if:{{#var:Rarity}}||{{#vardefine:Rarity|Common}}}}{{c|{{#var:Rarity}}|{{Translate|{{#var:Rarity}}|Properties}}}} | | {{#if:{{#var:Rarity}}||{{#vardefine:Rarity|Common}}}}{{c|{{#var:Rarity}}|{{Translate|{{#var:Rarity}}|Properties}}}} | ||
| data-sort-value="{{#var:Total Damage}}" | {{Damage | | data-sort-value="{{#var:Total Damage}}" | {{#var:Damage Text}} | ||
| {{:Data|{{{1}}}|Durability}} | | {{:Data|{{{1}}}|Durability}} | ||
{{#if:{{#var:weapon table ranged}}| | {{#if:{{#var:weapon table ranged}}| |
Revision as of 22:31, 28 May 2022
This template has no documentation. If you know how to use this template, please add some.