Template:Charity: Difference between revisions

no edit summary
m (Protected "Template:Charity": High traffic page ([edit=report] (indefinite) [move=report] (indefinite)))
No edit summary
Line 1: Line 1:
{| width="100%" cellpadding="0px" cellspacing="0px"
{| width="100%" cellpadding="0px" cellspacing="0px"
| align="center" colspan="3" | <big><big>'''{{{1|Donations}}}'''</big></big> (as of {{{5|23:32, 19 May 2012 (UTC)}}})
| 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" |
{| align="center" width="100%" style="background: #000000; {{roundy|10px}}" cellspacing="2px"
{| 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) > 5|<div align="right"><span style="line-height:50px;"><big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big></span></div>}}
| {{#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) > 5|<div style="text-align: right;"><span style="line-height:50px;"><big><big>{{{2|}}}{{formatnum:{{{4|100}}}}}&nbsp;</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="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;" align="right" {{!}} Target
{{!}} 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
! align="right" style="line-height:50px;" {{!}} <big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big>
! style="line-height:50px; text-align: right;" {{!}} <big><big>{{{2|}}}{{formatnum:{{{4|100}}}}}&nbsp;</big></big>
{{!}}}</div>
{{!}}}</div>
}}
}}
Line 20: 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;" 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}}}}}}}
|}
|}
|}
|}
173

edits