Template:Progression: Difference between revisions
Jump to navigation
Jump to search
(Removed call to non-existent template) |
(Test to see if MW version looks better) |
||
Line 1: | Line 1: | ||
<includeonly>{| | <noinclude> | ||
</noinclude><includeonly>{{#switch:<translate></translate> | |||
| = | |||
<table width={{#if:{{{width|}}}|{{{width|}}}|50%}} align=center style="background:transparent"> | |||
<tr> | |||
{{#ifeq:{{#if:{{{1|}}}|{{{1}}}|0}}|0| | | <td align=center>{{#if:{{{task|}}}|{{{task|}}}: }}<translate><!--T:1--> <big>'''<tvar|1>{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}round 1}}|0}}}}</>%'''</big> complete</translate></td> | ||
{{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2 | </tr> | ||
<tr> | |||
<td> | |||
<table style="border:1px solid gray" cellspacing=1 width=100% height=15x> | |||
<tr> | |||
{{#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}}%}}"> </td> }} | |||
{{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}}}|0}}|100|| <td style="background:#E2E2E2"> </td> }} | |||
</tr> | |||
</table></td> | |||
</tr> | |||
</table> | |||
| #default= | |||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Progression|noshift=1}} | |||
}}</includeonly> |
Revision as of 02:38, 3 April 2019