Шаблон:Progression: различия между версиями

нет описания правки
(Новая страница: «<noinclude> <pre> {{Progressbar |progress-color= |text-align= |caption= |progress= |title= |width= |clear= |float= |background= |border-color= }} </pre> Внеш…»)
 
Нет описания правки
 
(не показано 7 промежуточных версий этого же участника)
Строка 1: Строка 1:
<noinclude>
<div style="
<pre>
  width:{{{width|75%}}};
{{Progressbar
{{#ifeq: {{{center|yes}}} | yes |
|progress-color=
  margin:auto;
|text-align=
  text-align:center;}}">
|caption=
{{#ifeq: {{{header|yes}}} | yes
|progress=
| <p>
|title=
  '''{{#expr: ( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}}) * 100 round 1}}%'''
|width=
  {{{text|завершено <small>}}}
|clear=
  </p>
|float=
|background=
|border-color=
}}
}}
</pre>
<p style="border:{{{border|1px solid #c8ccd1}}}; padding:{{{padding|1px}}}; overflow:hidden;">
Внешний вид: {{Progressbar}}
  <span style="
 
    width: {{#expr: {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%;
</noinclude>
    height: {{{height|2}}}px;
<includeonly><div title="{{{title|}}}" style="position: relative; width:{{{width|200px}}}; clear:{{{clear|none}}}; float:{{{float|none}}};"><!--
    background:{{{color1|#00af32}}};
--><div style="background: {{{background|white}}}; border: {{{border-width|1px}}} solid {{{border-color|#669900}}}; position: absolute; height: 90%; top: 5%; width:100%">&nbsp;</div><!--
    float:left;
--><div style="background:{{{progress-color|#c2c2c2}}}; width:{{{progress|50%}}}; position: absolute; height:90%; top:5%; border: {{{border-width|1px}}} solid {{{border-color|#669900}}}; border-right-width:0px;">&nbsp;</div><!--
    ">&nbsp;</span>
--><div style="width:{{{width|200px}}}; text-align: {{{text-align|center}}}; position: absolute; top:5%; white-space:nowrap; padding-left: 3px; padding-right: 3px; text-overflow:ellipsis;">{{{caption|Caption}}}</div>&nbsp;<span style="position: absolute; top:5%; right: 0; color: #669900;">'''{{{progress|50%}}}'''</span><!--
  <span style="
--></div></includeonly>
    width:{{#expr: 100 - {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} * 100}}%;
    height:{{{height|2}}}px;
    background:{{{color2|#eaecf0}}};
    float:left;
    ">&nbsp;</span>
12 472

правки