Template:Charity: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10: Line 10:
| {{#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;">
</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}};" 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}};" align="right" {{!}} Target
! align="right" style="line-height:50px;" |<big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big>
! align="right" style="line-height:50px;" {{!}} <big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big>
|}</div>
{{!}}}</div>
}}
}}
|}
|}
173

edits