Difference between revisions of "Template:WeaponTable/row test"
Jump to navigation
Jump to search
(Created page with "<includeonly><!-- --- Load complete datastring into a variable - to only load from the Armor data page once. --- -->{{#vardefine:Datastring|{{:Weapon_data|{{{1}}}}}}}<!-- --- Separate values from datastring into individual variables. --- -->{{#vardefine:Unobtainable|{{#explode: {{#var:Datastring}}|;|-2}}}}<!-- -->{{#vardefine:Rarity|{{#explode: {{#var:Datastring}}|;|2}}}}<!-- -->{{#vardefine:Total Damage|{{#explode: {{#var:Datastring}}|;|1}}}}<!-- -->{{#vardefine:Range|{...") |
|||
Line 5: | Line 5: | ||
-->{{#vardefine:Unobtainable|{{#explode: {{#var:Datastring}}|;|-2}}}}<!-- | -->{{#vardefine:Unobtainable|{{#explode: {{#var:Datastring}}|;|-2}}}}<!-- | ||
-->{{#vardefine:Rarity|{{#explode: {{#var:Datastring}}|;|2}}}}<!-- | -->{{#vardefine:Rarity|{{#explode: {{#var:Datastring}}|;|2}}}}<!-- | ||
-->{{#vardefine:Total Damage|{{#explode: {{#var:Datastring}}|;| | -->{{#vardefine:Total Damage|{{#explode: {{#var:Datastring}}|;|-3}}}}<!-- | ||
-->{{#vardefine:Range|{{#explode: {{#var:Datastring}}|;| | -->{{#vardefine:Range|{{#explode: {{#var:Datastring}}|;|8}}}}<!-- | ||
-->{{#vardefine:Slashing Damage|{{#explode: {{#var:Datastring}}|;|13}}}}<!-- | -->{{#vardefine:Slashing Damage|{{#explode: {{#var:Datastring}}|;|13}}}}<!-- | ||
-->{{#vardefine:Piercing Damage|{{#explode: {{#var:Datastring}}|;|14}}}}<!-- | -->{{#vardefine:Piercing Damage|{{#explode: {{#var:Datastring}}|;|14}}}}<!-- | ||
Line 29: | Line 29: | ||
-->'''[[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}|<!-- | -->'''[[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|{{{1}}}|{{{1}}}/{{SUBPAGENAME}}}}|<!-- | ||
--- Check if item name has a translation. If yes, load translation of item name. If not, return empty string. Used for other languages. --- | --- Check if item name has a translation. If yes, load translation of item name. If not, return empty string. Used for other languages. --- | ||
-->{{#if:{{#var:TranslateName}}|{{#var:TranslateName | -->{{#if:{{#var:TranslateName}}|{{#var:TranslateName}}}}]]'''<!-- | ||
-->[[File:{{{1}}}.png|center|<!-- | -->[[File:{{{1}}}.png|center|<!-- | ||
--- Check if there is a custom name. If yes, load custom name translation, otherwise load item name translation. --- | --- Check if there is a custom name. If yes, load custom name translation, otherwise load item name translation. --- |
Revision as of 18:11, 31 May 2023
This template has no documentation. If you know how to use this template, please add some.