Спорт-вики — википедия научного бодибилдинга
Шаблон:Progress bar — различия между версиями
Ars (обсуждение | вклад) |
Ars (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
| − | <includeonly><div | + | <includeonly><div title="{{{title|{{{progression|<!-- |
| + | -->{{#ifeq:{{{mode|}}}|value|{{{current|0}}}|<!-- | ||
| + | -->{{#ifexpr:({{{current|0}}}-{{{min|0}}}>=0) and ({{{max|100}}}-{{{min|0}}}>0)|<!-- | ||
| + | -->{{#expr:(({{{current|0}}}-{{{min|0}}})/({{{max|100}}}-{{{min|0}}}))*100 round 1}}%|0%}}}}}}} {{{desc|}}}}}}" | ||
| + | style="background: {{{box-background|}}}; | ||
border: {{{box-border|0px solid black}}}; | border: {{{box-border|0px solid black}}}; | ||
margin: {{{box-margin|1px}}}; | margin: {{{box-margin|1px}}}; | ||
| Строка 26: | Строка 30: | ||
-moz-border-radius: 5px; | -moz-border-radius: 5px; | ||
text-align: center;"><!-- | text-align: center;"><!-- | ||
| − | -->{{{progression-text|{{{progression|}}}}}}</div><!-- | + | -->{{{progression-text|{{{progression|<!-- |
| + | -->{{#ifeq:{{{mode|}}}|value|{{{current|0}}}|<!-- | ||
| + | -->{{#ifexpr:({{{current|0}}}-{{{min|0}}}>=0) and ({{{max|100}}}-{{{min|0}}}>0)|<!-- | ||
| + | -->{{#expr:(({{{current|0}}}-{{{min|0}}})/({{{max|100}}}-{{{min|0}}}))*100 round 1}}%|0%}}}}}}} <!-- | ||
| + | -->{{{desc|}}}}}}</div><!-- | ||
--><div style="margin: 0; | --><div style="margin: 0; | ||
padding: 0; | padding: 0; | ||
