Template:Progression: Difference between revisions

From SW420
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><table width={{#if:{{{width|}}}|{{{width|}}}|50%}} align=center style="background:transparent">
--><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">&nbsp;</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|}}}:&nbsp;}}<big>'''<tvar|1>{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|100}}}round 1}}|0}}}}</>%'''</big> complete</td>
<td style="text-align:center;">{{#if:{{{task|}}}|{{{task|}}}:&nbsp;}}<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>
</includeonly>
[[Category:SW420 Original Templates]]</noinclude>
Show a progress bar. Imported from [[mw:Template:Progress]]

Latest revision as of 18:02, 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