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
added default percentage value of zero if not specified
Arin Mara (talk | contribs)
mNo edit summary
 
Line 4: Line 4:
     | style="color:{{{2}}}; background:{{{3}}};" | {{#ifexpr: {{{1|0}}} < 50 | {{#ifexpr: {{{1|0}}} = 0 | &nbsp; | {{#ifexpr: {{{1|0}}} > 100 | 100 | {{{1|0}}} }}% | }} }}
     | 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>