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

Template:PercentageBar: Difference between revisions

Template page
remove wrapping table row
include documentation template
Line 1: Line 1:
{| style="width:100%; font-size:80%; text-align:center;"
<includeonly>{| style="width:100%; font-size:80%; text-align:center;"
     |-
     |-
     {{#ifexpr: {{{1}}} = 0 | | {{!}} style="width:{{{1}}}%; color:{{{3}}}; background:{{{2}}};" {{!}} {{#ifexpr: {{{1}}} < 50 | | {{{1}}}% }} }}
     {{#ifexpr: {{{1}}} = 0 | | {{!}} style="width:{{{1}}}%; color:{{{3}}}; background:{{{2}}};" {{!}} {{#ifexpr: {{{1}}} < 50 | | {{{1}}}% }} }}
     | style="color:{{{2}}}; background:{{{3}}};" | {{#ifexpr: {{{1}}} < 50 | {{#ifexpr: {{{1}}} = 0 | &nbsp; | {{{1}}}% | }} }}
     | style="color:{{{2}}}; background:{{{3}}};" | {{#ifexpr: {{{1}}} < 50 | {{#ifexpr: {{{1}}} = 0 | &nbsp; | {{{1}}}% | }} }}
|}
|}</includeonly><noinclude>{{documentation}}</noinclude>