Difference between revisions of "Template:Test"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(add missing }})
m (bonus range shouldn't have %)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="display: flex;flex-direction:column;"><!--
<includeonly>{{#vardefine:FloatRight|{{#switch: {{ROOTPAGENAME}}
-->{{#if: {{:{{{1}}}|Armor Penetration}} | <div style="order: 1;"> {{Translate|Armor Penetration|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;
|Swords
|Axes
|Maces
|Daggers
|Wands
|Bows
|Crossbows
|Two-Handed Swords
|Two-Handed Axes
|Two-Handed Maces
|Spears
|Staves
|Headgear
|Chestpieces
|Gloves
|Belts
|Boots
|Shields
|Cloaks
|Amulets
|Rings
|Tools & Traps =
|#default = float:right;
}}}}{{#ifeq: {{:Weapon_data|{{{1}}}}}|Data does not exist.||{{#vardefine:Datastring|{{:Weapon_data|{{{1}}}}}}}<!--
-->{{#switch: {{#explode: {{#var:Datastring}}|;|1}}
|Sword
|Axe
|Mace
|Dagger
|Two-handed Sword
|Spear
|Two-handed Axe
|Two-handed Mace
|Bow
|Crossbow
|Staff
|Tool
|Lute =
<!--
--- WEAPON PROPERTIES ---
-->{{#vardefine:Range|{{#explode: {{#var:Datastring}}|;|8}}}}<!--
-->{{#vardefine:Weapon Damage|{{#explode: {{#var:Datastring}}|;|9}}}}<!--
-->{{#vardefine:Armor Damage|{{#explode: {{#var:Datastring}}|;|10}}}}<!--
-->{{#vardefine:Armor Penetration|{{#explode: {{#var:Datastring}}|;|11}}}}<!--
-->{{#vardefine:Bodypart Damage|{{#explode: {{#var:Datastring}}|;|12}}}}<!-

Latest revision as of 21:45, 20 June 2023

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