Difference between revisions of "Template:Test"
Jump to navigation
Jump to search
(new datastring format) |
m (remove % from max health, remove +- from fumble chance, fix not displaying experience gain) |
||
Line 193: | Line 193: | ||
-->{{#vardefine:Pain Resistance|{{#explode: {{#var:Datastring}}|;|44}}}}<!-- | -->{{#vardefine:Pain Resistance|{{#explode: {{#var:Datastring}}|;|44}}}}<!-- | ||
-->{{#vardefine:Crit Efficiency|{{#explode: {{#var:Datastring}}|;|28}}}}<!-- | -->{{#vardefine:Crit Efficiency|{{#explode: {{#var:Datastring}}|;|28}}}}<!-- | ||
-->{{#vardefine:Experience Gain|{{#explode: {{#var:Datastring}}|;| | -->{{#vardefine:Experience Gain|{{#explode: {{#var:Datastring}}|;|40}}}}<!-- | ||
-->{{#vardefine:Backfire Chance|{{#explode: {{#var:Datastring}}|;|21}}}}<!-- | -->{{#vardefine:Backfire Chance|{{#explode: {{#var:Datastring}}|;|21}}}}<!-- | ||
-->{{#vardefine:Backfire Damage|{{#explode: {{#var:Datastring}}|;|20}}}}<!-- | -->{{#vardefine:Backfire Damage|{{#explode: {{#var:Datastring}}|;|20}}}}<!-- | ||
Line 248: | Line 248: | ||
-->{{#if: {{#var:Crit Efficiency}}| <div style="order: 76;"> {{Translate|Crit Efficiency|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Crit Efficiency}}>0|{{c|+|+{{#var:Crit Efficiency}}%}}|{{c|-|{{#var:Crit Efficiency}}%}}}}</span></div>| }}<!-- | -->{{#if: {{#var:Crit Efficiency}}| <div style="order: 76;"> {{Translate|Crit Efficiency|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Crit Efficiency}}>0|{{c|+|+{{#var:Crit Efficiency}}%}}|{{c|-|{{#var:Crit Efficiency}}%}}}}</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: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|+| | -->{{#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;"> {{#ifexpr: {{#var:Range}}>1|{{Translate|Range|Properties}}: <span style="{{#var:FloatRight}}">{{c|W|{{#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>| }}<!-- | ||
Line 309: | Line 309: | ||
-->{{#if: {{#var:Fatigue Change}} | <div style="order: 151;"> {{Translate|Fatigue Change|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Fatigue Change}}>0|{{c|-|{{#var:Fatigue Change}}%}}|{{c|+|+{{#var:Fatigue Change}}%}}}}</span></div>| }}<!-- | -->{{#if: {{#var:Fatigue Change}} | <div style="order: 151;"> {{Translate|Fatigue Change|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Fatigue Change}}>0|{{c|-|{{#var:Fatigue Change}}%}}|{{c|+|+{{#var:Fatigue Change}}%}}}}</span></div>| }}<!-- | ||
-->{{#if: {{#var:Fatigue Resistance}} | <div style="order: 152;"> {{Translate|Fatigue Resistance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Fatigue Resistance}}>0|{{c|+|+{{#var:Fatigue Resistance}}%}}|{{c|-|{{#var:Fatigue Resistance}}%}}}}</span></div>| }}<!-- | -->{{#if: {{#var:Fatigue Resistance}} | <div style="order: 152;"> {{Translate|Fatigue Resistance|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Fatigue Resistance}}>0|{{c|+|+{{#var:Fatigue Resistance}}%}}|{{c|-|{{#var:Fatigue Resistance}}%}}}}</span></div>| }}<!-- | ||
-->{{#if: {{#var:Max Health}} | <div style="order: 153;"> {{Translate|Max Health|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Max Health}}>0|{{c|+|+{{#var:Max Health}} | -->{{#if: {{#var:Max Health}} | <div style="order: 153;"> {{Translate|Max Health|Properties}}: <span style="{{#var:FloatRight}}">{{#ifexpr:{{#var:Max Health}}>0|{{c|+|+{{#var:Max Health}}}}|{{c|-|{{#var:Max Health}}}}}}</span></div>| }}<!-- | ||
-->{{#if: {{#var:Hunger}}{{#var:Hunger Change}}{{#var:Hunger Resistance}}{{#var:Thirst}}{{#var:Thirst Change}}{{#var:Intoxication}}{{#var:Intoxication Change}}{{#var:Intoxication Resistance}}{{#var:Pain}}{{#var:Pain Change}}{{#var:Pain Limit}}{{#var:Sanity}}{{#var:Sanity Change}}{{#var:Morale}}{{#var:Morale Change}}{{#var:Energy Replenishment}}{{#var:Health Replenishment}}{{#var:Injury Treatment}}{{#var:Immunity}}{{#var:Fatigue}}{{#var:Fatigue Change}}{{#var:Fatigue Resistance}}| <div style="order: 160;"> </div> | }}<!-- | -->{{#if: {{#var:Hunger}}{{#var:Hunger Change}}{{#var:Hunger Resistance}}{{#var:Thirst}}{{#var:Thirst Change}}{{#var:Intoxication}}{{#var:Intoxication Change}}{{#var:Intoxication Resistance}}{{#var:Pain}}{{#var:Pain Change}}{{#var:Pain Limit}}{{#var:Sanity}}{{#var:Sanity Change}}{{#var:Morale}}{{#var:Morale Change}}{{#var:Energy Replenishment}}{{#var:Health Replenishment}}{{#var:Injury Treatment}}{{#var:Immunity}}{{#var:Fatigue}}{{#var:Fatigue Change}}{{#var:Fatigue Resistance}}| <div style="order: 160;"> </div> | }}<!-- | ||
--></div><!-- | --></div><!-- |
Revision as of 20:12, 31 May 2023
This template has no documentation. If you know how to use this template, please add some.