Vorlage:Progression: Unterschied zwischen den Versionen
Thilo (Diskussion | Beiträge) |
Thilo (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
− | <includeonly>{ | + | <includeonly>{ |
− | + | <small>'''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}}}%''' complete</small> | |
{|style="border:1px solid grey; height:10px; width:300px;" cellspacing="1" | {|style="border:1px solid grey; height:10px; width:300px;" cellspacing="1" | ||
{{#ifeq:{{#if:{{{1|}}}|{{{1}}}|0}}|0| | {{!}}style="background: #5FDB00; padding-top: 0px; padding-bottom: 0px; 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|}}}|{{{1}}}|0}}|0| | {{!}}style="background: #5FDB00; padding-top: 0px; padding-bottom: 0px; 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> |
Version vom 21. Mai 2014, 23:07 Uhr
Progression widget