Difference between revisions of "Template:Test test"

From Stoneshard wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 22: Line 22:
|Rings =  
|Rings =  
|#default = float:right;
|#default = float:right;
}}}}{{#ifeq: {{:Armor_data|{{{1}}}}}|Data does not exist.||{{#vardefine:Datastring|{{:Weapon_data|{{{1}}}}}}}<!--
}}}}{{#ifeq: {{:Weapon_data|{{{1}}}}}|Data does not exist.||{{#vardefine:Datastring|{{:Weapon_data|{{{1}}}}}}}<!--
-->{{#switch: {{#explode: {{#var:Datastring}}|;|1}}
-->{{#switch: {{#explode: {{#var:Datastring}}|;|1}}
|Sword
|Sword
Line 44: Line 44:
-->{{#vardefine:Armor Penetration|{{#explode: {{#var:Datastring}}|;|11}}}}<!--
-->{{#vardefine:Armor Penetration|{{#explode: {{#var:Datastring}}|;|11}}}}<!--
-->{{#vardefine:Bodypart Damage|{{#explode: {{#var:Datastring}}|;|12}}}}<!--
-->{{#vardefine:Bodypart Damage|{{#explode: {{#var:Datastring}}|;|12}}}}<!--
-->{{#vardefine:Accuracy|{{#explode: {{#var:Datastring}}|;|26}}}<!--
-->{{#vardefine:Accuracy|{{#explode: {{#var:Datastring}}|;|26}}}}<!--
-->{{#vardefine:Crit Chance|{{#explode: {{#var:Datastring}}|;|27}}}}<!--
-->{{#vardefine:Crit Chance|{{#explode: {{#var:Datastring}}|;|27}}}}<!--
-->{{#vardefine:Crit Efficiency|{{#explode: {{#var:Datastring}}|;|28}}}}<!--
-->{{#vardefine:Crit Efficiency|{{#explode: {{#var:Datastring}}|;|28}}}}<!--
Line 65: Line 65:
-->{{#vardefine:Magic Power|{{#explode: {{#var:Datastring}}|;|45}}}}<!--
-->{{#vardefine:Magic Power|{{#explode: {{#var:Datastring}}|;|45}}}}<!--
-->{{#vardefine:Backfire Chance|{{#explode: {{#var:Datastring}}|;|46}}}}<!--
-->{{#vardefine:Backfire Chance|{{#explode: {{#var:Datastring}}|;|46}}}}<!--
-->{{#vardefine:Miracle Chance|{{#explode: {{#var:Datastring}}|;47}}}}<!--
-->{{#vardefine:Miracle Chance|{{#explode: {{#var:Datastring}}|;|47}}}}<!--
-->{{#vardefine:Miracle Potency|{{#explode: {{#var:Datastring}}|;|48}}}}<!--
-->{{#vardefine:Miracle Potency|{{#explode: {{#var:Datastring}}|;|48}}}}<!--
-->{{#vardefine:Backfire Damage|{{#explode: {{#var:Datastring}}|;|49}}}}<!--
-->{{#vardefine:Backfire Damage|{{#explode: {{#var:Datastring}}|;|49}}}}<!--
Line 86: Line 86:
-->{{#vardefine:Healing Efficiency|{{#explode: {{#var:Datastring}}|;|66}}}}<!--
-->{{#vardefine:Healing Efficiency|{{#explode: {{#var:Datastring}}|;|66}}}}<!--
-->{{#vardefine:Stealth|{{#explode: {{#var:Datastring}}|;|67}}}}<!--
-->{{#vardefine:Stealth|{{#explode: {{#var:Datastring}}|;|67}}}}<!--
-->{{#vardefine:Noise Produced|{{#explode: {{#var:Datastring}}|;|68}}}}<!--
-->{{#vardefine:Noise Produced|{{#explode: {{#var:Datastring}}|;|68}}}}
}}}}{{#switch: {{:Consumable_data|{{{1}}}|ItemType}}
}}}}{{#switch: {{:Consumable_data|{{{1}}}|ItemType}}
|Food
|Food
Line 249: Line 249:
-->{{#if: {{#var:Counter Chance}} | <div style="order: 77;"> {{Translate|Counter Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Counter Chance}}>0|{{c|+|+{{#var:Counter Chance}}%}}|{{c|-|{{#var:Counter Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Counter Chance}} | <div style="order: 77;"> {{Translate|Counter Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Counter Chance}}>0|{{c|+|+{{#var:Counter Chance}}%}}|{{c|-|{{#var:Counter Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Fumble Chance}} | <div style="order: 78;"> {{Translate|Fumble Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Fumble Chance}}>0|{{c|-|{{#var:Fumble Chance}}%}}|{{c|+|+{{#var:Fumble Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Fumble Chance}} | <div style="order: 78;"> {{Translate|Fumble Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Fumble Chance}}>0|{{c|-|{{#var:Fumble Chance}}%}}|{{c|+|+{{#var:Fumble Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Range}} | <div style="order: 79;"> {{Translate|Range|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Range}}>0|{{c|+|+{{#var:Range}}%}}|{{c|-|{{#var:Range}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Range}} | <div style="order: 79;"> {{#ifexpr: {{#var:Range}}>1|{{Translate|Range|Properties}}: <span style="{{#var:FloatRight}}">{{c|W|{{#var:Range}}}}</span>}}</div>| }}<!--
-->{{#if: {{#var:Dodge Chance}} | <div style="order: 80;"> {{Translate|Dodge Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Dodge Chance}}>0|{{c|+|+{{#var:Dodge Chance}}%}}|{{c|-|{{#var:Dodge Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Dodge Chance}} | <div style="order: 80;"> {{Translate|Dodge Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Dodge Chance}}>0|{{c|+|+{{#var:Dodge Chance}}%}}|{{c|-|{{#var:Dodge Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Damage Taken}} | <div style="order: 81;"> {{Translate|Damage Taken|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Damage Taken}}>0|{{c|-|+{{#var:Damage Taken}}%}}|{{c|+|{{#var:Damage Taken}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Damage Taken}} | <div style="order: 81;"> {{Translate|Damage Taken|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Damage Taken}}>0|{{c|-|+{{#var:Damage Taken}}%}}|{{c|+|{{#var:Damage Taken}}%}}}}</span></div>| }}<!--

Latest revision as of 19:29, 31 May 2023

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