Template:Progress bar: Difference between revisions
(Created page with '<div style="width:{{{width|75%}}}; margin:auto; text-align:center;"> {{#ifeq: {{{header|yes}}} | yes | <p><big>'''{{#expr:( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} ) …') |
No edit summary |
||
Line 2: | Line 2: | ||
{{#ifeq: {{{header|yes}}} | yes | <p><big>'''{{#expr:( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} ) * 100 round 1}}%'''</big> {{{text|completed <small>(estimate)</small>}}}</p> | }} | {{#ifeq: {{{header|yes}}} | yes | <p><big>'''{{#expr:( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} ) * 100 round 1}}%'''</big> {{{text|completed <small>(estimate)</small>}}}</p> | }} | ||
<p style="border:1px solid black; padding:1px; overflow:hidden;"><span style="width:{{#expr: ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|2}}}px; background:#7fff00; float:left;"> </span><span style="width:{{#expr: 100 - ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|2}}}px; background:#ff7f50; float:left;"> </span></p> | <p style="border:1px solid black; padding:1px; overflow:hidden;"><span style="width:{{#expr: ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|2}}}px; background:#7fff00; float:left;"> </span><span style="width:{{#expr: 100 - ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|2}}}px; background:#ff7f50; float:left;"> </span></p> | ||
</div><noinclude>{{Documentation}}</noinclude> | </div><noinclude>{{Documentation}}[[Category:Templates]]</noinclude> |
Revision as of 12:01, 31 March 2023
20% completed (estimate)
The above documentation is transcluded from Template:Progress bar/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |