Template:Charity: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 9: Line 9:
{| align="center" width="100%" style="background: #000000; {{roundy|10px}}" cellspacing="2px"
{| align="center" 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 align="right"><span style="line-height:50px;"><big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big></span></div>}}
</div>|<div class="statbar" style="background:#{{bulba color}}; {{roundy|10px}} width: 100%; height: 50px; overflow: hidden;"><span class="statbar" style="background:#{{Bulba color dark}}; {{roundy|10px}} width: {{#expr: floor(({{{3|100}}} div {{{4|1000}}})*100)}}%; height: 50px; overflow: hidden;"><span align="right"><span style="line-height:50px;"><big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big></span></span></span></div>}}
</div>|<div class="statbar" style="background:#{{bulba color}}; {{roundy|10px}} width: 100%; height: 50px; overflow: hidden;"><span class="statbar" style="background:#{{Bulba color dark}}; {{roundy|10px}} width: {{#expr: floor(({{{3|100}}} div {{{4|1000}}})*100)}}%; height: 50px; overflow: hidden;"></span><div align="right"><span style="line-height:50px;"><big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big></span></div></div>}}
|}
|}
|-
|-
173

edits