Template:Charity: Difference between revisions

From Bulbanews, your community Pokémon newspaper.
Jump to navigationJump to search
Fully expect this to not work. Unfortunately, I'm editing a part which doesn't preview but is of critical importance.
No edit summary
(Fully expect this to not work. Unfortunately, I'm editing a part which doesn't preview but is of critical importance.)
Line 4: Line 4:
! width="34%" | Current: {{{2|}}}{{{4|100}}}
! width="34%" | Current: {{{2|}}}{{{4|100}}}
! width="33%" | Target: {{{2|}}}{{{3|1000}}}
! width="33%" | Target: {{{2|}}}{{{3|1000}}}
! width="33%" | Progress: {{#ifexpr: {{{4|100}}}>{{{3|1000}}}|Target Achieved|{{#expr: {{{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"
{| 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;"><div class="statbar" style="background:#{{Bulba color dark}}; {{roundy|10px}} width: {{#expr: floor(({{{3|100}}} div {{{4|1000}}})*100)}}%; height: 50px; overflow: hidden;"><div align="right"><span style="line-height:50px;"><big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big></span></div></div></div>}}
</div>|<div class="statbar" style="background:#{{bulba color}}; {{roundy|10px}} width: 100%; height: 50px; overflow: hidden;"><div align="right"><span style="line-height:50px;"><big><big>{{{2|}}}{{{4|100}}}&nbsp;</big></big></span></div><div class="statbar" style="background:#{{Bulba color dark}}; {{roundy|10px}} width: {{#expr: floor(({{{3|100}}} div {{{4|1000}}})*100)}}%; height: 50px; overflow: hidden;"></div></div>}}
|}
|}
|-
|-
173

edits

Navigation menu