Template:Progression: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><table align= | --><table style="width:{{#if:{{{width|}}}|{{{width|}}}|50%}}; text-align:left; background:transparent"> | ||
<tr style="width:100%; text-align:left; background:transparent"> | |||
{{#ifeq:{{#if:{{{1|}}}|{{{1}}}|0}}|0| | <td style="background:#5FDB00; width:{{#ifexpr:({{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}}}|0}}<1)|1%|{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}round 1}}|0}}%}}">'''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}round 1}}|0}}}}%''' Complete</td> }} | |||
{{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}}}|0}}|100|| <td style="background:#E2E2E2"> </td> }} | |||
</tr> | |||
</table> | |||
</includeonly> | |||
<noinclude> | |||
Show a progress bar. Imported, with manual edits, from [[mw:Template:Progression]] | |||
{{tlx|Progression|36.7}}: | |||
{{Progression|36.7}} | |||
Original Version: | |||
<table style="width:{{#if:{{{width|}}}|{{{width|}}}|50%}}; text-align:center; background:transparent"> | |||
<tr> | <tr> | ||
<td align=center>{{#if:{{{task|}}}|{{{task|}}}: }}<big>'''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}round 1}}|0}}}}%'''</big> | <td align=center>{{#if:{{{task|}}}|{{{task|}}}: }}<big>'''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}round 1}}|0}}}}%'''</big> complete</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 14: | Line 28: | ||
</tr> | </tr> | ||
</table> | </table> | ||
</noinclude> | </noinclude> |
Revision as of 06:03, 19 March 2023
Show a progress bar. Imported, with manual edits, from mw:Template:Progression
{{Progression|
36.7}}:
36.7% Complete |
Original Version:
0% complete | |
|