(Copied from DL/MediaWiki) |
(We can't use it without the extension, so added the message.) |
||
Line 1: | Line 1: | ||
<includeonly>{| style="width:{{#if:{{{width|}}}|{{{width|}}}|50%}}; margin: 0 auto; background: transparent" | <includeonly> | ||
{| 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 7: | Line 8: | ||
{{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}}}|0}}|100|| {{!}}style="background: #E2E2E2;" {{!}} }} | {{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}}}|0}}|100|| {{!}}style="background: #E2E2E2;" {{!}} }} | ||
|} | |} | ||
|}</includeonly> | |} | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
Can't use at the moment as it requires the [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions Parser Functions extension] | |||
Explained on [https://www.mediawiki.org/wiki/Template:Progression MediaWiki]. | Explained on [https://www.mediawiki.org/wiki/Template:Progression MediaWiki]. | ||
</noinclude> | </noinclude> |