Шаблон:Progression: различия между версиями
Sofi (обсуждение | вклад) (Новая страница: «<noinclude> <pre> {{Progressbar |progress-color= |text-align= |caption= |progress= |title= |width= |clear= |float= |background= |border-color= }} </pre> Внеш…») |
Sofi (обсуждение | вклад) Нет описания правки |
||
Строка 1: | Строка 1: | ||
< | <includeonly>{{#vardefine: % | ||
| {{#ifexpr: {{{1|0}}} >= {{{2|0}}} | 100 | {{#expr: 100 * {{{1|0}}} / {{{2|0}}} round 2 }} }}% | |||
{{ | }}<div style="margin: 0 auto; width: {{#if: {{{width|}}} | {{{width}}} | 50% }}; text-align: center; {{{style|}}}"> | ||
| | {{#if: {{{notext|}}} | ||
|text-align | | | ||
| | | <p style="margin: 0; {{{textstyle|}}}">{{ | ||
| | #if: {{{text|}}} | ||
| | | {{#replace: {{#replace: {{#replace: {{{text}}} | $1 | {{{1|0}}} }} | $2 | {{{2|0}}} }} | $% | {{#var: % }} }} | ||
| | | {{{1|0}}} of {{{2|0}}} {{#if: {{{type|}}} | {{{type}}} | pages }} have been completed | ||
| | }}</p> | ||
| | |||
| | |||
}} | }} | ||
<div style="border: 1px solid #808080; background-color: #E2E2E2; padding: 1px; {{{barstyle|}}}" title="{{#var: % }}"> | |||
<div style="background-color: #5FDB00; height: 6px; width: {{#var: % }}; {{{completedstyle|}}}"><br></div> | |||
</div> | |||
</div></includeonly><noinclude> | |||
{{documentation}} | |||
<!-- Put categories/interwiki on the documentation page --> | |||
-- |