Vorlage:Progression: Unterschied zwischen den Versionen
Thilo (Diskussion | Beiträge) |
|||
(8 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | <includeonly>{| | + | <includeonly> |
− | {|style="border:1px solid grey; height:10px; width: | + | <small> '''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}}}%''' complete</small> |
− | {{#ifeq:{{#if:{{{1|}}}|{{{1}}}|0}}|0| | {{!}}style="background: #5FDB00; | + | {|style="border:1px solid grey; height:10px; width:300px; margin-top: -35px;" cellspacing="1" |
+ | {{#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