Спорт-вики — википедия научного бодибилдинга

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

Материал из SportWiki энциклопедии
Перейти к: навигация, поиск
Строка 1: Строка 1:
<includeonly><div title="{{{title|{{{progression|<!--
+
<includeonly><div title="{{{title|{{{progression|0%}}}"
  -->{{#ifeq:{{{mode|}}}|value|{{{current|0}}}|<!--
 
      -->{{#ifexpr:({{{current|0}}}-{{{min|0}}}&gt;=0) and ({{{max|100}}}-{{{min|0}}}&gt;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|0px solid black}}};
 
                                 border: {{{box-border|0px solid black}}};
Строка 30: Строка 27:
 
                                 -moz-border-radius: 5px;
 
                                 -moz-border-radius: 5px;
 
                                 text-align: center;"><!--
 
                                 text-align: center;"><!--
                 -->{{{progression-text|{{{progression|<!--
+
                 -->{{{progression-text|{{{progression|0%}}} </div><!--
                    -->{{#ifeq:{{{mode|}}}|value|{{{current|0}}}|<!--
 
                    -->{{#ifexpr:({{{current|0}}}-{{{min|0}}}&gt;=0) and ({{{max|100}}}-{{{min|0}}}&gt;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|0%}}};
                                  -->{{#ifexpr:({{{current|0}}}-{{{min|0}}}&gt;=0) and ({{{max|100}}}-{{{min|0}}}&gt;0)|<!--
 
                                  -->{{#expr:(({{{current|0}}}-{{{min|0}}})/({{{max|100}}}-{{{min|0}}}))*100 round 1}}%|0%}}}}};
 
 
                                 background: {{{bar-background|transparent}}};
 
                                 background: {{{bar-background|transparent}}};
 
                                 border-radius: 5px;
 
                                 border-radius: 5px;

Версия 12:23, 22 января 2017