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
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{subst:^|
+
<center>
<!--Save this page to create a mirror-->
+
<div style="
}}{{subst:msgnw:Template:Progress bar}}
+
  width:{{{width|75%}}};
 +
{{#ifeq: {{{center|yes}}} | yes |
 +
  margin:auto;
 +
  text-align:center;}}">
 +
{{#ifeq: {{{header|yes}}} | yes |
 +
  <p>
 +
  <big>
 +
  {{{text1|}}}
 +
  '''{{#expr: ( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}}) * 100 round 1}}%'''
 +
  </big>
 +
  {{{text2|completed <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|#efefef}}};
 +
    float:left;
 +
    ">&nbsp;</span>
 +
</p>
 +
</div></center>

Latest revision as of 11:46, 17 December 2020

20% completed (estimate)