Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:DamageProfile: Difference between revisions

Template page
test moving small values to the right
fix error
Line 16: Line 16:
     |-
     |-
     | style="width:{{#expr: 100 * {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }}%; background:Silver;" | {{#expr: 100 * {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}%
     | style="width:{{#expr: 100 * {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }}%; background:Silver;" | {{#expr: 100 * {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}%
     | style="background:#717171;" | {{#ifexpr: {{#expr: 100 * {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }} < 33 | {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}% | }}
     | style="background:#717171;" | {{#ifexpr: {{#expr: 100 * {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }} < 33 | {{#expr: 100 * {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}% | }}
     |}
     |}
| style="color: #222; font-size:80%;" |  
| style="color: #222; font-size:80%;" |