Difference between revisions of "Template:Test"
Jump to navigation
Jump to search
old>Realpsojed (testing new properties template) |
m (bonus range shouldn't have %) |
||
(33 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:FloatRight|{{#switch: {{ROOTPAGENAME}} | |||
|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.