Difference between revisions of "Template:Weapon test"

From Stoneshard wiki
Jump to navigation Jump to search
(add color for damage, fix WeaponType property name, fix comments breaking properties)
m
Line 42: Line 42:
-->{{#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}}}}}}<!--
-->{{#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}}}}}}<!--
-->{{Tooltip rule}}<!--
-->{{Tooltip rule}}
|-
|<!--
--- Load and sort this weapon's properties, we use another template. ---
--- Load and sort this weapon's properties, we use another template. ---
-->|-
--><div style="width:100%;float: left;color:#9d9a9a;">{{Test|{{ROOTPAGENAME}}}}</div>
|<div style="width:100%;float: left;color:#9d9a9a;">{{Test|{{ROOTPAGENAME}}}}</div>
<div style="clear: both;color:#9d9a9a;">{{Translate|Durability|Properties}}: <span style="color:white;">{{#var:Durability}}/{{#var:Durability}}</span></div>
<div style="clear: both;color:#9d9a9a;">{{Translate|Durability|Properties}}: <span style="color:white;">{{#var:Durability}}/{{#var:Durability}}</span></div>
|-
|-

Revision as of 18:23, 28 May 2022

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