Difference between revisions of "Template:Test"

From Stoneshard wiki
Jump to navigation Jump to search
m (remove % from max health, remove +- from fumble chance, fix not displaying experience gain)
m (bonus range shouldn't have %)
 
(4 intermediate revisions by the same user not shown)
Line 20: Line 20:
|Cloaks
|Cloaks
|Amulets
|Amulets
|Rings =  
|Rings
|Tools & Traps =  
|#default = float:right;
|#default = float:right;
}}}}{{#ifeq: {{:Weapon_data|{{{1}}}}}|Data does not exist.||{{#vardefine:Datastring|{{:Weapon_data|{{{1}}}}}}}<!--
}}}}{{#ifeq: {{:Weapon_data|{{{1}}}}}|Data does not exist.||{{#vardefine:Datastring|{{:Weapon_data|{{{1}}}}}}}<!--
Line 242: Line 243:
-->{{#if: {{#var:Bleed Resistance}}{{#var:Knockback Resistance}}{{#var:Move Resistance}}{{#var:Stun Resistance}}{{#var:Control Resistance}}{{#var:Pain Resistance}}{{#var:Bleed Chance}}{{#var:Daze Chance}}{{#var:Stun Chance}}{{#var:Knockback Chance}}{{#var:Stagger Chance}}{{#var:Immobilization Chance}} | <div style="order: 70;"> </div> | }}<!--
-->{{#if: {{#var:Bleed Resistance}}{{#var:Knockback Resistance}}{{#var:Move Resistance}}{{#var:Stun Resistance}}{{#var:Control Resistance}}{{#var:Pain Resistance}}{{#var:Bleed Chance}}{{#var:Daze Chance}}{{#var:Stun Chance}}{{#var:Knockback Chance}}{{#var:Stagger Chance}}{{#var:Immobilization Chance}} | <div style="order: 70;"> </div> | }}<!--
-->{{#if: {{#var:Block Chance}} | <div style="order: 71;"> {{Translate|Block Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Block Chance}}>0|{{c|+|+{{#var:Block Chance}}%}}|{{c|-|{{#var:Block Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Block Chance}} | <div style="order: 71;"> {{Translate|Block Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Block Chance}}>0|{{c|+|+{{#var:Block Chance}}%}}|{{c|-|{{#var:Block Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Block Power}} | <div style="order: 72;"> {{Translate|Block Power|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Block Power}}>0|{{c|+|+{{#var:Block Power}}%}}|{{c|-|{{#var:Block Power}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Block Power}} | <div style="order: 72;"> {{Translate|Block Power|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Block Power}}>0|{{c|+|+{{#var:Block Power}}}}|{{c|-|{{#var:Block Power}}}}}}</span></div>| }}<!--
-->{{#if: {{#var:Block Recovery}} | <div style="order: 73;"> {{Translate|Block Power Recovery|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Block Recovery}}>0|{{c|+|+{{#var:Block Recovery}}%}}|{{c|-|{{#var:Block Recovery}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Block Recovery}} | <div style="order: 73;"> {{Translate|Block Power Recovery|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Block Recovery}}>0|{{c|+|+{{#var:Block Recovery}}%}}|{{c|-|{{#var:Block Recovery}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Accuracy}} | <div style="order: 74;"> {{Translate|Accuracy|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Accuracy}}>0|{{c|+|+{{#var:Accuracy}}%}}|{{c|-|{{#var:Accuracy}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Accuracy}} | <div style="order: 74;"> {{Translate|Accuracy|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Accuracy}}>0|{{c|+|+{{#var:Accuracy}}%}}|{{c|-|{{#var:Accuracy}}%}}}}</span></div>| }}<!--
Line 253: Line 254:
-->{{#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>| }}<!--
-->{{#if: {{#var:Damage Reflection}} | <div style="order: 82;"> {{Translate|Damage Reflection|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Damage Reflection}}>0|{{c|+|+{{#var:Damage Reflection}}%}}|{{c|-|{{#var:Damage Reflection}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Damage Reflection}} | <div style="order: 82;"> {{Translate|Damage Reflection|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Damage Reflection}}>0|{{c|+|+{{#var:Damage Reflection}}%}}|{{c|-|{{#var:Damage Reflection}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Bonus Range}} | <div style="order: 83;"> {{Translate|Bonus Range|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Bonus Range}}>0|{{c|+|+{{#var:Bonus Range}}%}}|{{c|-|{{#var:Bonus Range}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Bonus Range}} | <div style="order: 83;"> {{Translate|Bonus Range|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Bonus Range}}>0|{{c|+|+{{#var:Bonus Range}}}}|{{c|-|{{#var:Bonus Range}}}}}}</span></div>| }}<!--
-->{{#if: {{#var:Backfire Chance}} | <div style="order: 84;"> {{Translate|Backfire Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Backfire Chance}}>0|{{c|-|+{{#var:Backfire Chance}}%}}|{{c|+|{{#var:Backfire Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Backfire Chance}} | <div style="order: 84;"> {{Translate|Backfire Chance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Backfire Chance}}>0|{{c|-|+{{#var:Backfire Chance}}%}}|{{c|+|{{#var:Backfire Chance}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Backfire Damage}} | <div style="order: 85;"> {{Translate|Backfire Damage|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Backfire Damage}}>0|{{c|-|+{{#var:Backfire Damage}}%}}|{{c|+|{{#var:Backfire Damage}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Backfire Damage}} | <div style="order: 85;"> {{Translate|Backfire Damage|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Backfire Damage}}>0|{{c|-|+{{#var:Backfire Damage}}%}}|{{c|+|{{#var:Backfire Damage}}%}}}}</span></div>| }}<!--
Line 259: Line 260:
-->{{#if: {{#var:Miracle Potency}} | <div style="order: 87;"> {{Translate|Miracle Potency|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Miracle Potency}}>0|{{c|+|+{{#var:Miracle Potency}}%}}|{{c|-|{{#var:Miracle Potency}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Miracle Potency}} | <div style="order: 87;"> {{Translate|Miracle Potency|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Miracle Potency}}>0|{{c|+|+{{#var:Miracle Potency}}%}}|{{c|-|{{#var:Miracle Potency}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Block Chance}}{{#var:Block Power}}{{#var:Accuracy}}{{#var:Crit Chance}}{{#var:Crit Efficiency}}{{#var:Counter Chance}}{{#var:Fumble Chance}}{{#var:Range}}{{#var:Dodge Chance}}{{#var:Damage Taken}}{{#var:Damage Reflection}}{{#var:Bonus Range}}{{#var:Backfire Chance}}{{#var:Backfire Damage}}{{#var:Miracle Chance}}{{#var:Miracle Potency}} | <div style="order: 90;"> </div> | }}<!--
-->{{#if: {{#var:Block Chance}}{{#var:Block Power}}{{#var:Accuracy}}{{#var:Crit Chance}}{{#var:Crit Efficiency}}{{#var:Counter Chance}}{{#var:Fumble Chance}}{{#var:Range}}{{#var:Dodge Chance}}{{#var:Damage Taken}}{{#var:Damage Reflection}}{{#var:Bonus Range}}{{#var:Backfire Chance}}{{#var:Backfire Damage}}{{#var:Miracle Chance}}{{#var:Miracle Potency}} | <div style="order: 90;"> </div> | }}<!--
-->{{#if: {{#var:Energy}} | <div style="order: 91;"> {{Translate|Energy|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Energy}}>0|{{c|+|+{{#var:Energy}}%}}|{{c|-|{{#var:Energy}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Energy}} | <div style="order: 91;"> {{Translate|Energy|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Energy}}>0|{{c|+|+{{#var:Energy}}}}|{{c|-|{{#var:Energy}}}}}}</span></div>| }}<!--
-->{{#if: {{#var:Energy Restoration}} | <div style="order: 92;"> {{Translate|Energy Restoration|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Energy Restoration}}>0|{{c|+|+{{#var:Energy Restoration}}%}}|{{c|-|{{#var:Energy Restoration}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Energy Restoration}} | <div style="order: 92;"> {{Translate|Energy Restoration|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Energy Restoration}}>0|{{c|+|+{{#var:Energy Restoration}}%}}|{{c|-|{{#var:Energy Restoration}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Skills Energy Cost}} | <div style="order: 93;"> {{Translate|Skills Energy Cost|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Skills Energy Cost}}>0|{{c|-|+{{#var:Skills Energy Cost}}%}}|{{c|+|{{#var:Skills Energy Cost}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Skills Energy Cost}} | <div style="order: 93;"> {{Translate|Skills Energy Cost|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Skills Energy Cost}}>0|{{c|-|+{{#var:Skills Energy Cost}}%}}|{{c|+|{{#var:Skills Energy Cost}}%}}}}</span></div>| }}<!--
Line 285: Line 286:
-->{{#if: {{#var:Stealth}} | <div style="order: 122;"> {{Translate|Stealth|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Stealth}}>0|{{c|+|+{{#var:Stealth}}%}}|{{c|-|{{#var:Stealth}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Stealth}} | <div style="order: 122;"> {{Translate|Stealth|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Stealth}}>0|{{c|+|+{{#var:Stealth}}%}}|{{c|-|{{#var:Stealth}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Lockpicking & Disarming}} | <div style="order: 123;"> {{Translate|Lockpicking & Disarming|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Lockpicking & Disarming}}>0|{{c|+|+{{#var:Lockpicking & Disarming}}%}}|{{c|-|{{#var:Lockpicking & Disarming}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Lockpicking & Disarming}} | <div style="order: 123;"> {{Translate|Lockpicking & Disarming|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Lockpicking & Disarming}}>0|{{c|+|+{{#var:Lockpicking & Disarming}}%}}|{{c|-|{{#var:Lockpicking & Disarming}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Vision}} | <div style="order: 124;"> {{Translate|Vision|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Vision}}>0|{{c|+|+{{#var:Vision}}%}}|{{c|-|{{#var:Vision}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Vision}} | <div style="order: 124;"> {{Translate|Vision|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Vision}}>0|{{c|+|+{{#var:Vision}}}}|{{c|-|{{#var:Vision}}}}}}</span></div>| }}<!--
-->{{#if: {{#var:Noise Produced}}{{#var:Stealth}}{{#var:Lockpicking & Disarming}}{{#var:Vision}} | <div style="order: 130;"> </div> | }}<!--
-->{{#if: {{#var:Noise Produced}}{{#var:Stealth}}{{#var:Lockpicking & Disarming}}{{#var:Vision}} | <div style="order: 130;"> </div> | }}<!--
-->{{#if: {{#var:Hunger}} | <div style="order: 131;"> {{Translate|Hunger|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Hunger}}>0|{{c|-|+{{#var:Hunger}}%}}|{{c|+|{{#var:Hunger}}%}}}}</span></div>| }}<!--
-->{{#if: {{#var:Hunger}} | <div style="order: 131;"> {{Translate|Hunger|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Hunger}}>0|{{c|-|+{{#var:Hunger}}%}}|{{c|+|{{#var:Hunger}}%}}}}</span></div>| }}<!--

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.