Спорт-вики — википедия научного бодибилдинга
Шаблон:Progress bar — различия между версиями
Ars (обсуждение | вклад) |
Ars (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
| − | <includeonly>{{ | + | <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|1px solid black}}}; | |
| − | + | margin: {{{box-margin|1px}}}; | |
| − | + | padding: {{{box-padding|1px}}}; | |
| − | + | width: {{{box-width|100%}}}; | |
| − | + | color: {{{text-color|#ffffff}}}; | |
| − | + | text-shadow: 1px 1px #000000; | |
| − | + | font-size: {{{text-size|small}}}; | |
| − | + | font-weight: {{{text-weight|bold}}}; | |
| − | + | line-height: 1.25em; | |
| − | }} | + | {{{box-style|}}}"><!-- |
| − | + | --><div style="margin: 0; | |
| − | + | padding:0; | |
| − | + | position:relative;"><!-- | |
| − | + | --><div style="margin: 0; | |
| − | + | padding: 0; | |
| − | + | width: 100%; | |
| − | + | position: absolute; | |
| − | + | top: 0; | |
| − | + | z-index: 1; | |
| − | + | background: transparent; | |
| − | + | -ms-linear-gradient(top, #4b4b4b 0%, #919191 45%, #aeaeae 50%, #939393 55%, #aaaaaa 100%); | |
| − | + | linear-gradient(to bottom, #4b4b4b 0%, #919191 45%, #aeaeae 50%, #939393 55%, #aaaaaa 100%); | |
| − | + | border-radius: 5px; | |
| − | + | -webkit-border-radius: 5px; | |
| − | + | -moz-border-radius: 5px; | |
| − | + | text-align: center;"><!-- | |
| − | + | -->{{{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; | |
| − | + | padding: 0; | |
| − | + | width: {{{progression|<!-- | |
| − | + | -->{{#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%}}}}}; | |
| − | + | background: {{{bar-background|transparent}}}; | |
| − | + | border-radius: 5px; | |
| − | + | -webkit-border-radius: 5px; | |
| − | + | -moz-border-radius: 5px; | |
| − | + | height: 1.25em; | |
| − | + | {{{bar-style|}}}"> </div></div></div></includeonly><noinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | # | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | # | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }}{{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | } | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }}{{ | ||
| − | |||
| − | |||
