Difference between revisions of "Template:Weapon test"

From Stoneshard wiki
Jump to navigation Jump to search
(add custom image property check)
Line 28: Line 28:
|style="text-align:center;"|<!--
|style="text-align:center;"|<!--
--- Only display Damage types that have a value. ---
--- Only display Damage types that have a value. ---
-->{{#if:{{#var:Slashing Damage}}|{{#var:Slashing Damage}} {{Translate|Slashing|Properties}} {{Translate|Damage|Properties}}}}<!--
-->{{#if:{{#var:Slashing Damage}}|{{#var:Slashing Damage}} {{Translate|Slashing|Properties}} {{Translate|Damage|Properties}}<br>}}<!--
-->{{#if:{{#var:Piercing Damage}}|{{#var:Piercing Damage}} {{Translate|Piercing|Properties}} {{Translate|Damage|Properties}}}}<!--
-->{{#if:{{#var:Piercing Damage}}|{{#var:Piercing Damage}} {{Translate|Piercing|Properties}} {{Translate|Damage|Properties}}<br>}}<!--
-->{{#if:{{#var:Crushing Damage}}|{{#var:Crushing Damage}} {{Translate|Crushing|Properties}} {{Translate|Damage|Properties}}}}<!--
-->{{#if:{{#var:Crushing Damage}}|{{#var:Crushing Damage}} {{Translate|Crushing|Properties}} {{Translate|Damage|Properties}}<br>}}<!--
-->{{#if:{{#var:Rending Damage}}|{{#var:Rending Damage}} {{Translate|Rending|Properties}} {{Translate|Damage|Properties}}}}<!--
-->{{#if:{{#var:Rending Damage}}|{{#var:Rending Damage}} {{Translate|Rending|Properties}} {{Translate|Damage|Properties}}<br>}}<!--
--- Swap the order of words for Russian wiki version on Fire, Frost, Shock, Poison and Caustic damage types, its a grammar/pronounciation thing apparently. ---
--- Swap the order of words for Russian wiki version on Fire, Frost, Shock, Poison and Caustic damage types, its a grammar/pronounciation thing apparently. ---
-->{{#if:{{#var:Fire Damage}}|{{c|Fire|{{#var:Fire Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Fire|Properties}}|{{Translate|Fire|Properties}} {{Translate|Damage|Properties}}}}}}}}<!--
-->{{#if:{{#var:Fire Damage}}|{{c|Fire|{{#var:Fire Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Fire|Properties}}|{{Translate|Fire|Properties}} {{Translate|Damage|Properties}}}}}}<br>}}<!--
-->{{#if:{{#var:Frost Damage}}|{{c|Frost|{{#var:Frost Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Frost|Properties}}|{{Translate|Frost|Properties}} {{Translate|Damage|Properties}}}}}}}}<!--
-->{{#if:{{#var:Frost Damage}}|{{c|Frost|{{#var:Frost Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Frost|Properties}}|{{Translate|Frost|Properties}} {{Translate|Damage|Properties}}}}}}<br>}}<!--
-->{{#if:{{#var:Shock Damage}}|{{c|Shock|{{#var:Shock Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Shock|Properties}}|{{Translate|Shock|Properties}} {{Translate|Damage|Properties}}}}}}}}<!--
-->{{#if:{{#var:Shock Damage}}|{{c|Shock|{{#var:Shock Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Shock|Properties}}|{{Translate|Shock|Properties}} {{Translate|Damage|Properties}}}}}}<br>}}<!--
-->{{#if:{{#var:Poison Damage}}|{{c|Poison|{{#var:Poison Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Poison|Properties}}|{{Translate|Poison|Properties}} {{Translate|Damage|Properties}}}}}}}}<!--
-->{{#if:{{#var:Poison Damage}}|{{c|Poison|{{#var:Poison Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Poison|Properties}}|{{Translate|Poison|Properties}} {{Translate|Damage|Properties}}}}}}<br>}}<!--
-->{{#if:{{#var:Caustic Damage}}|{{c|Caustic|{{#var:Caustic Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Caustic|Properties}}|{{Translate|Caustic|Properties}} {{Translate|Damage|Properties}}}}}}}}<!--
-->{{#if:{{#var:Caustic Damage}}|{{c|Caustic|{{#var:Caustic Damage}} {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | 2}} | ru |{{Translate|Damage|Properties}} {{Translate|Caustic|Properties}}|{{Translate|Caustic|Properties}} {{Translate|Damage|Properties}}}}}}<br>}}<!--
-->{{#if:{{#var:Arcane Damage}}|{{c|Arcane|{{#var:Arcane Damage}} {{Translate|Arcane|Properties}} {{Translate|Damage|Properties}}}}}}<!--
-->{{#if:{{#var:Arcane Damage}}|{{c|Arcane|{{#var:Arcane Damage}} {{Translate|Arcane|Properties}} {{Translate|Damage|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Sacred Damage}}|{{c|Sacred|{{#var:Sacred Damage}} {{Translate|Sacred|Properties}} {{Translate|Damage|Properties}}}}}}<!--
-->{{#if:{{#var:Sacred Damage}}|{{c|Sacred|{{#var:Sacred Damage}} {{Translate|Sacred|Properties}} {{Translate|Damage|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Unholy Damage}}|{{c|Unholy|{{#var:Unholy Damage}} {{Translate|Unholy|Properties}} {{Translate|Damage|Properties}}}}}}<!--
-->{{#if:{{#var:Unholy Damage}}|{{c|Unholy|{{#var:Unholy Damage}} {{Translate|Unholy|Properties}} {{Translate|Damage|Properties}}}}<br>}}<!--
-->{{#if:{{#var:Psionic Damage}}|{{c|Psionic|{{#var:Psionic Damage}} {{Translate|Psionic|Properties}} {{Translate|Damage|Properties}}}}}}<!--
-->{{#if:{{#var:Psionic Damage}}|{{c|Psionic|{{#var:Psionic Damage}} {{Translate|Psionic|Properties}} {{Translate|Damage|Properties}}}}<br>}}<!--
-->{{Tooltip rule}}
-->{{Tooltip rule}}
|-
|-

Revision as of 18:33, 28 May 2022

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