Template:Charity: Difference between revisions
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| width="100%" cellpadding="0px" cellspacing="0px" | {| width="100%" cellpadding="0px" cellspacing="0px" | ||
| | | Style="text-align: center;" colspan="3" | <big><big>'''{{{1|Donations}}}'''</big></big> (as of {{{5|23:32, 19 May 2012 (UTC)}}}) | ||
|- | |- Style="text-align: center;" | ||
! width="34%" | Current: {{{2|}}}{{{4|100}}} | ! width="34%" | Current: {{{2|}}}{{formatnum:{{{4|100}}}}} | ||
! width="33%" | Target: {{{2|}}}{{{3|1000}}} | ! width="33%" | Target: {{{2|}}}{{formatnum:{{{3|1000}}}}} | ||
! width="33%" | Progress: {{#ifexpr: {{{4|100}}}>{{{3|1000}}}|Target Achieved|{{#expr: trunc({{{4|100}}}/{{{3|1000}}}*100)}}% }} | ! width="33%" | Progress: {{#ifexpr: {{{4|100}}}>{{{3|1000}}}|Target Achieved|{{#expr: trunc({{{4|100}}}/{{{3|1000}}}*100)}}% }} | ||
|- | |- | ||
| colspan="3" | | | colspan="3" | | ||
{| | {| width="100%" style="background: #000000; {{roundy|10px}}" cellspacing="2px" | ||
| {{#ifexpr: floor(({{{4|100}}} div {{{3|1000}}})*100) < 100|<div class="statbar" style="background:#{{bulba color}}; {{roundy|10px}} width: {{#expr: floor(({{{4|100}}} div {{{3|1000}}})*100)}}%; height: 50px; overflow: hidden;">{{#ifexpr: floor(({{{4|100}}} div {{{3|1000}}})*100) > | | {{#ifexpr: floor(({{{4|100}}} div {{{3|1000}}})*100) < 100|<div class="statbar" style="background:#{{bulba color}}; {{roundy|10px}} width: {{#expr: floor(({{{4|100}}} div {{{3|1000}}})*100)}}%; height: 50px; overflow: hidden;">{{#ifexpr: floor(({{{4|100}}} div {{{3|1000}}})*100) > 10|<div style="text-align: right;"><span style="line-height:50px;"><big><big>{{{2|}}}{{formatnum:{{{4|100}}}}} </big></big></span></div>}} | ||
</div>|<div class="statbar" style="background:#{{bulba color}}; {{roundy|10px}} width: 100%; height: 50px; overflow: hidden;"> | </div>|<div class="statbar" style="background:#{{bulba color}}; {{roundy|10px}} width: 100%; height: 50px; overflow: hidden;"> | ||
{{{!}} width="100%" style="background:none;" border-collapse="collapse" | |||
{{!}} width="{{#expr: floor(({{{3|100}}} div {{{4|1000}}})*100)}}%" style="{{#ifexpr: floor(({{{3|100}}} div {{{4|1000}}})*100) > 95|display:none;|}} border-right: 1px solid #{{Bulba color dark}}; color: #{{bulba color dark}}; padding-right:2px; text-align: right;" {{!}} Target | |||
! style="line-height:50px; text-align: right;" {{!}} <big><big>{{{2|}}}{{formatnum:{{{4|100}}}}} </big></big> | |||
{{!}}}</div> | |||
}} | |||
|} | |} | ||
|- | |- | ||
Line 15: | Line 20: | ||
{| width="100%" | {| width="100%" | ||
| style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor((({{{3|1000}}}/5)/{{{3|1000}}})*100)}}|{{#expr: floor((({{{4|100}}}/5)/{{{4|100}}})*100)}}}}%" | {{{2|}}}0 | | style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor((({{{3|1000}}}/5)/{{{3|1000}}})*100)}}|{{#expr: floor((({{{4|100}}}/5)/{{{4|100}}})*100)}}}}%" | {{{2|}}}0 | ||
| style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor((({{{3|1000}}}/5)/{{{3|1000}}})*100)}}|{{#expr: floor((({{{4|100}}}/5)/{{{4|100}}})*100)}}}}%" | {{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor({{{3|1000}}}/5)}}|{{#expr: floor({{{4|100}}}/5)}}}} | | style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor((({{{3|1000}}}/5)/{{{3|1000}}})*100)}}|{{#expr: floor((({{{4|100}}}/5)/{{{4|100}}})*100)}}}}%" | {{formatnum:{{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor({{{3|1000}}}/5)}}|{{#expr: floor({{{4|100}}}/5)}}}}}} | ||
| style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor((({{{3|1000}}}/5)/{{{3|1000}}})*100)}}|{{#expr: floor((({{{4|100}}}/5)/{{{4|100}}})*100)}}}}%" | {{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(2*{{{3|1000}}}/5)}}|{{#expr: floor(2*{{{4|100}}}/5)}}}} | | style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor((({{{3|1000}}}/5)/{{{3|1000}}})*100)}}|{{#expr: floor((({{{4|100}}}/5)/{{{4|100}}})*100)}}}}%" | {{formatnum:{{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(2*{{{3|1000}}}/5)}}|{{#expr: floor(2*{{{4|100}}}/5)}}}}}} | ||
| style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor((({{{3|1000}}}/5)/{{{3|1000}}})*100)}}|{{#expr: floor((({{{4|100}}}/5)/{{{4|100}}})*100)}}}}%" | {{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(3*{{{3|1000}}}/5)}}|{{#expr: floor(3*{{{4|100}}}/5)}}}} | | style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor((({{{3|1000}}}/5)/{{{3|1000}}})*100)}}|{{#expr: floor((({{{4|100}}}/5)/{{{4|100}}})*100)}}}}%" | {{formatnum:{{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(3*{{{3|1000}}}/5)}}|{{#expr: floor(3*{{{4|100}}}/5)}}}}}} | ||
| style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(((({{{3|1000}}}/5)/{{{3|1000}}})*100)/2)}}|{{#expr: floor(((({{{4|100}}}/5)/{{{4|100}}})*100)/2)}}}}%" | {{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(4*{{{3|1000}}}/5)}}|{{#expr: floor(4*{{{4|100}}}/5)}}}} | | style="border-left: 1px solid #000000;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(((({{{3|1000}}}/5)/{{{3|1000}}})*100)/2)}}|{{#expr: floor(((({{{4|100}}}/5)/{{{4|100}}})*100)/2)}}}}%" | {{formatnum:{{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(4*{{{3|1000}}}/5)}}|{{#expr: floor(4*{{{4|100}}}/5)}}}}}} | ||
| style="border-right: 1px solid #000000; | | style="border-right: 1px solid #000000; text-align: right;" width="{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{#expr: floor(((({{{3|1000}}}/5)/{{{3|1000}}})*100)/2)}}|{{#expr: floor(((({{{4|100}}}/5/{{{4|100}}})*100)/2)}}}}%" | {{formatnum:{{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{{3|1000}}}|{{{4|100}}}}}}} | ||
|} | |} | ||
|} | |} |
Latest revision as of 00:58, 16 June 2012
Donations (as of 23:32, 19 May 2012 (UTC)) | ||||||||
Current: 100 | Target: 1,000 | Progress: 10% | ||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|