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
again
center alignment and remove extraneous text coloring
Line 1: Line 1:
<includeonly>| style="font-size:80%;" |  
<includeonly>| style="font-size:80%; text-align:center;" |  
     {| style="width:100%;"
     {| style="width:100%;"
     |-
     |-
Line 5: Line 5:
     | style="background:#1a5959; color:Cyan;" | {{#ifexpr: {{#expr: 100 * {{{1}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }} < 50 | {{#ifexpr: {{{1}}} = 0 | &nbsp; | {{#expr: 100 * {{#expr: {{{1}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}% | }} }}
     | style="background:#1a5959; color:Cyan;" | {{#ifexpr: {{#expr: 100 * {{{1}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }} < 50 | {{#ifexpr: {{{1}}} = 0 | &nbsp; | {{#expr: 100 * {{#expr: {{{1}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}% | }} }}
     |}
     |}
| style="color: #222; font-size:80%;" |  
| style="font-size:80%; text-align:center;" |  
     {| style="width:100%;"
     {| style="width:100%;"
     |-
     |-
Line 11: Line 11:
     | style="background:#592b1a; color:OrangeRed;" | {{#ifexpr: {{#expr: 100 * {{{2}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }} < 50 | {{#ifexpr: {{{2}}} = 0 | &nbsp; | {{#expr: 100 * {{#expr: {{{2}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}% | }} }}
     | style="background:#592b1a; color:OrangeRed;" | {{#ifexpr: {{#expr: 100 * {{{2}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }} < 50 | {{#ifexpr: {{{2}}} = 0 | &nbsp; | {{#expr: 100 * {{#expr: {{{2}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}% | }} }}
     |}
     |}
| style="color: #222; font-size:80%;" |  
| style="font-size:80%; text-align:center;" |
     {| style="width:100%;"
     {| style="width:100%;"
     |-
     |-
Line 17: Line 17:
     | style="background:#4a4a4a; color:Silver;" | {{#ifexpr: {{#expr: 100 * {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }} < 50 |  {{#ifexpr: {{{3}}} = 0 | &nbsp; | {{#expr: 100 * {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}% | }} }}
     | style="background:#4a4a4a; color:Silver;" | {{#ifexpr: {{#expr: 100 * {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) }} < 50 |  {{#ifexpr: {{{3}}} = 0 | &nbsp; | {{#expr: 100 * {{#expr: {{{3}}} / ( {{{1}}} + {{{2}}} + {{{3}}} + {{{4}}} ) round 2 }} }}% | }} }}
     |}
     |}
| style="color: #222; font-size:80%;" |  
| style="font-size:80%; text-align:center;" |  
     {| style="width:100%;"
     {| style="width:100%;"
     |-
     |-