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
include documentation template
m include doc status
Line 3: Line 3:
     {{#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>
|}</includeonly><noinclude>
{{documentation|Template:PercentageBar/doc}}</noinclude>