(We can't use it without the extension, so added the message.) |
(Added examples) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{| style="width:{{#if:{{{width|}}}|{{{width|}}}|50%}}; margin: 0 auto; background: transparent" | ||
{| style="width:{{#if:{{{width|}}}|{{{width|}}}|50%}}; margin: 0 auto; background: transparent" | |||
| style="text-align:center;" |{{#if:{{{task|}}}|{{{task|}}}: }}{{big|'''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}}}%'''}} complete | | style="text-align:center;" |{{#if:{{{task|}}}|{{{task|}}}: }}{{big|'''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}}}%'''}} complete | ||
|- | |- | ||
Line 12: | Line 11: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
<nowiki>{{ProgressBar|50}}</nowiki> | |||
{{ProgressBar|50}} | |||
<nowiki>{{ProgressBar|4|9}}</nowiki> | |||
{{ProgressBar|4|9}} | |||
<nowiki>{{ProgressBar|400|400}}</nowiki> | |||
{{ProgressBar|400|400}} | |||
Explained on [https://www.mediawiki.org/wiki/Template:Progression MediaWiki]. | Explained on [https://www.mediawiki.org/wiki/Template:Progression MediaWiki]. | ||
</noinclude> | </noinclude> |
Revision as of 17:25, 19 December 2020
Usage
{{ProgressBar|50}}
50% complete | ||
|
{{ProgressBar|4|9}}
44.4% complete | ||
|
{{ProgressBar|400|400}}
100% complete | |
|
Explained on MediaWiki.