Difference between revisions of "Template:Progress bar"

From IdleCorp Wiki
Jump to navigation Jump to search
(Created page with "{{subst:^| <!--Save this page to create a mirror--> }}{{subst:msgnw:{{subst:NAMESPACE}}:{{subst:BASEPAGENAME}}}}")
Tags: Mobile edit Mobile web edit
 
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
{{subst:^|
+
<div style="
<!--Save this page to create a mirror-->
+
  width:{{{width|75%}}};
}}{{subst:msgnw:Template:Progress bar}}
+
{{#ifeq: {{{center|yes}}} | yes |
 +
  margin:auto;
 +
  text-align:center;}}">
 +
{{#ifeq: {{{header|yes}}} | yes
 +
| <p>
 +
  <big>
 +
  '''{{#expr: ( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}}) * 100 round 1}}%'''
 +
  </big>
 +
  {{{text|complete<small>(estimate)</small>}}}
 +
  </p>
 +
}}
 +
<p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;">
 +
  <span style="
 +
    width: {{#expr: {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%;
 +
    height: {{{height|2}}}px;
 +
    background:{{{color1|#5FDB00}}};
 +
    float:left;
 +
    ">&nbsp;</span>
 +
  <span style="
 +
    width:{{#expr: 100 - {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%;
 +
    height:{{{height|2}}}px;
 +
    background:{{{color2|#E2E2E2}}};
 +
    float:left;
 +
    ">&nbsp;</span>
 +
</p>

Revision as of 04:06, 14 December 2020

20% complete(estimate)