Template:ProgressBar: Difference between revisions

Template page
(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|}}}:&nbsp;}}{{big|'''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}}}%'''}} complete
| style="text-align:center;" |{{#if:{{{task|}}}|{{{task|}}}:&nbsp;}}{{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].
{{ProgressBar|20}}
{{ProgressBar|45}}
{{ProgressBar|88}}
</noinclude>
</noinclude>

Revision as of 10:39, 19 December 2020


Usage

Can't use at the moment as it requires the Parser Functions extension

Explained on MediaWiki.