Template:Charity: Difference between revisions

(Created page with "{| width="100%" cellpadding="0px" cellspacing="0px" ! colspan="2" | <big><big>{{{1|Donations}}}</big></big> |- ! width="50%" | Current: {{{2|}}}{{{4|100}}} ! width="50%" | Target...")
 
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| width="100%" cellpadding="0px" cellspacing="0px"
{| width="100%" cellpadding="0px" cellspacing="0px"
! colspan="2" | <big><big>{{{1|Donations}}}</big></big>
| 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|}}}{{formatnum:{{{4|100}}}}}
! 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="50%" | Current: {{{2|}}}{{{4|100}}}
| colspan="3" |
! width="50%" | Target: {{{2|}}}{{{3|1000}}}
{| 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) > 10|<div style="text-align: right;"><span style="line-height:50px;"><big><big>{{{2|}}}{{formatnum:{{{4|100}}}}}&nbsp;</big></big></span></div>}}
| colspan="2" |
</div>|<div class="statbar" style="background:#{{bulba color}}; {{roundy|10px}} width: 100%; height: 50px; overflow: hidden;">
{| align="center" width="100%" style="background: #000000; {{roundy|10px}} padding-left:0px; padding-right:0px; padding-top:2px; padding-bottom:2px;" cellspacing="0px"
{{{!}} width="100%" style="background:none;" border-collapse="collapse"
| style="padding-left:0px; padding-right:0px;" | {{#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;">&nbsp;</div>|<div class="statbar" style="background:#{{bulba color}}; {{roundy|5px}} width: 100%; height: 50px; overflow: hidden;">&nbsp;</div>}}
{{!}} 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}}}}}&nbsp;</big></big>
{{!}}}</div>
}}
|}
|}
|-
|-
| colspan="2"|
| colspan="3"|
{| width="100%" bordercollapse="collapse" cellpadding="2px"
{| 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;" 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)}}}}%" | {{{2|}}}{{#ifexpr: {{{4|100}}} < {{{3|1000}}}|{{{3|1000}}}|{{{4|100}}}}}
| 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%
0 200 400 600 800 1,000