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