21,471
edits
(Cleanup to prevent overflows) |
(Undone; MW still doesn't like it) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="progress_bar"><p style="width:{{#expr:100*({{{progress|1}}}/{{{total|}}})}}%" class="progress_bar_inner">{{#if:{{{units|}}}|{{#if:{{{ratio|}}}|{{#ifexpr:{{{progress|1}}}<1|{{#expr:{{{progress|1}}}*{{{ratio}}}}}{{{subunits|}}}|{{#ifexpr:{{{progress|1}}}>={{{ratio}}}|{{#expr:{{{progress|1}}}/{{{ratio}}}}}{{{supraunits|}}}|{{{progress|1}}}{{{units}}}}}}}|{{{progress|1}}}{{{units}}}}}|{{#expr:100*({{{progress|1}}}/{{{total|}}}) round 0}}%}}</p></div></includeonly><noinclude> | ||
{{Progress bar/Documentation}} | {{Progress bar/Documentation}} | ||
[[Category:Templates|P]]</noinclude> | [[Category:Templates|P]]</noinclude> |