Difference between revisions of "Template:Test"
Jump to navigation
Jump to search
(Fix for showing spaces due to Range=1 on melee weapons, fix for space at the end of the sorting) |
m |
||
| Line 295: | Line 295: | ||
-->{{#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>| }}<!-- | ||
-->{{#ifeq: {{#var:Range}} |1| |<div style="order: 79;"> {{Translate|Range|Properties}}: <span style="{{#var:FloatRight}}">{{c|W|{{#var:Range}}}}</span></div>}}<!-- | -->{{#if: {{#var:Range}} | {{#ifeq: {{#var:Range}} |1| |<div style="order: 79;"> {{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:Crit Avoidance}} | <div style="order: 81;"> {{Translate|Crit Avoidance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Crit Avoidance}}>0|{{c|+|+{{#var:Crit Avoidance}}%}}|{{c|-|{{#var:Crit Avoidance}}%}}}}</span></div>| }}<!-- | -->{{#if: {{#var:Crit Avoidance}} | <div style="order: 81;"> {{Translate|Crit Avoidance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Crit Avoidance}}>0|{{c|+|+{{#var:Crit Avoidance}}%}}|{{c|-|{{#var:Crit Avoidance}}%}}}}</span></div>| }}<!-- | ||
Revision as of 17:22, 3 February 2025
This template has no documentation. If you know how to use this template, please add some.