Vorlage:Progression: Unterschied zwischen den Versionen
Thilo (Diskussion | Beiträge) |
|||
Zeile 2: | Zeile 2: | ||
<small> '''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}}}%''' complete</small> | <small> '''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}}}%''' complete</small> | ||
{|style="border:1px solid grey; height:10px; width:300px; margin-top: -35px;" cellspacing="1" | {|style="border:1px solid grey; height:10px; width:300px; margin-top: -35px;" cellspacing="1" | ||
− | {{#ifeq:{{#if:{{{1|}}}|{{{1}}}|0}}|0| | {{!}}style="background: #5FDB00; | + | {{#ifeq:{{#if:{{{1|}}}|{{{1}}}|0}}|0| | {{!}}style="background: #5FDB00; width: {{#ifexpr:({{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}}}|0}}<1)|1%|{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}%}}"{{!}} }} |
{{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}}}|0}}|100|| {{!}}style="background: #E2E2E2;" {{!}} }} | {{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}}}|0}}|100|| {{!}}style="background: #E2E2E2;" {{!}} }} | ||
|}</includeonly><noinclude>Progression widget</noinclude> | |}</includeonly><noinclude>Progression widget</noinclude> |
Aktuelle Version vom 27. Juni 2014, 15:24 Uhr
Progression widget