Jump to content

Template:Bar-voted: Difference between revisions

no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
{| style="width:240px; padding:0;" |
{| style="width:240px; padding:0;" |
|-
|-
| style="height:20px; align:right; text-align:justify; padding:0; width:120px;" | {{#switch:{{{party1}}}
| style="height:20px; align:right; text-align:justify; padding:0; width:130px;" | {{#switch:{{{party1}}}
| PAP=  [[file:PAP logo.png| 30px]]
| PAP=  [[file:PAP logo.png| 30px]]
| WP=   [[file:WP logo.png| 30px]]
| WP=   [[file:WP logo.png| 30px]]
Line 14: Line 14:
}}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 2}}px;">&nbsp;{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 2}}%</div>
}}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 2}}px;">&nbsp;{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 2}}%</div>
|-
|-
| style="height:20px; align:right; text-align:justify; padding:0; width:120px;" | {{#switch:{{{party2}}}
| style="height:20px; align:right; text-align:justify; padding:0; width:130px;" | {{#switch:{{{party2}}}
| PAP= &nbsp; [[file:PAP logo.png| 30px]]
| PAP= &nbsp; [[file:PAP logo.png| 30px]]
| WP= &nbsp; [[file:WP logo.png| 30px]]
| WP= &nbsp; [[file:WP logo.png| 30px]]
Line 27: Line 27:
}}; width:{{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 2}}px;">&nbsp;{{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 2}}%</div>
}}; width:{{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 2}}px;">&nbsp;{{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 2}}%</div>
|-
|-
| style="height:20px; align:right; text-align:justify; padding:0; width:120px;" |  
| style="height:20px; align:right; text-align:justify; padding:0; width:130px;" |  
{{#if:{{{party3}}}|
{{#if:{{{party3}}}|
{{#switch:{{{party3}}}
{{#switch:{{{party3}}}
editors
2,420

edits