Menú alternativo
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición
de https://en.wikipedia.org/w/index.php?title=Template:Progress_bar
Sin resumen de edición
 
(No se muestran 47 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
<div style="
{{MessageBox
  width:{{{width|75%}}};
|header = Header text here
{{#ifeq: {{{center|yes}}} | yes |
|class = highrisk
  margin:auto;
|type   = important
  text-align:center;}}">
|text   = Normal text here
{{#ifeq: {{{header|yes}}} | yes
|id    = test2
| <p>
   {{Big|1=
  '''{{#expr: ( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}}) * 100 round 1}}%'''
   }}
  {{{text|completed <small>(estimate)</small>}}}
  </p>
}}
}}
<p style="border:{{{border|1px solid #c8ccd1}}}; padding:{{{padding|1px}}}; overflow:hidden;">
  <span style=" <!-- if percentage is higher than 100%, show all green bar -->
    width: {{#ifexpr: {{#expr:{{{1|0}}}/{{{total|100}}}}}>1 | 100 | {{#expr: {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}}}%;
    height: {{{height|2}}}px;
    background:{{{color1|#00af32}}};
    float:left;
    ">&nbsp;</span>
  <span style=" <!-- if percentage is higher than 100%, show no grey bar -->
    width: {{#ifexpr: {{#expr:{{{1|0}}}/{{{total|100}}}}}>1 | 0 | {{#expr: 100 - {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}}}%;
    height: {{{height|2}}}px;
    background:{{{color2|#eaecf0}}};
    float:left;
    ">&nbsp;</span>
</p>
</div><noinclude>{{Documentation}}</noinclude>

Revisión actual - 16:17 27 oct 2024

Header text here
Normal text here