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
m include doc status
Arin Mara (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{| 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}}} = 0 | | {{!}} style="width:{{#ifexpr: {{{1|0}}} > 100 | 100 | {{{1|0}}} }}%; color:{{{3}}}; background:{{{2}}};" {{!}} {{#ifexpr: {{{1|0}}} < 50 | | {{{1|0}}}% }} }}
     | style="color:{{{2}}}; background:{{{3}}};" | {{#ifexpr: {{{1}}} < 50 | {{#ifexpr: {{{1}}} = 0 | &nbsp; | {{{1}}}% | }} }}
     | style="color:{{{2}}}; background:{{{3}}};" | {{#ifexpr: {{{1|0}}} < 50 | {{#ifexpr: {{{1|0}}} = 0 | &nbsp; | {{#ifexpr: {{{1|0}}} > 100 | 100 | {{{1|0}}} }}% | }} }}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{documentation|Template:PercentageBar/doc}}</noinclude>
{{documentation}}
</noinclude>