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 zero case
Arin Mara (talk | contribs)
mNo edit summary
 
(32 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>| {{PercentageBar|{{#expr: 100 * {{#expr: {{{1}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}|Cyan|#1a5959}}
| style="color: #222; font-size:80%;" |
| {{PercentageBar|{{#expr: 100 * {{#expr: {{{2}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}|OrangeRed|#592b1a}}
    {| style="width:100%;"
| {{PercentageBar|{{#expr: 100 * {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}|Silver|#4a4a4a}}
    |-
| {{PercentageBar|{{#expr: 100 * {{#expr: {{{4}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}|Orange|#59431a}}</includeonly><noinclude>
    | style="width:{{#expr: 100 * {{{1}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }}%; background:Cyan;" | {{#expr: 100 * {{#expr: {{{1}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}%
    | style="background:#119090;" |
    |}
| style="color: #222; font-size:80%;" |
    {| style="width:100%;"
    |-
    | {{ #ifexpr: {{{2}}} = 0 | | <nowiki> style="width:{{#expr: 100 * {{{2}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }}%; background:OrangeRed;" | {{#expr: 100 * {{#expr: {{{2}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}%</nowiki> }}
    | style="background:#903411;" |
    |}
| style="color: #222; font-size:80%;" |
    {| style="width:100%;"
    |-
    | style="width:{{#expr: 100 * {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }}%; background:Silver;" | {{#expr: 100 * {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}%
    | style="background:#717171;" |
    |}
| style="color: #222; font-size:80%;" |
    {| style="width:100%;"
    |-
    | style="width:{{#expr: 100 * {{{4}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }}%; background:Orange;" | {{#expr: 100 * {{#expr: {{{4}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}%
    | style="background:#906411;" |
    |}
 
</includeonly>
 
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>