editors
2,420
edits
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
}}; width:{{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 0}}px;"> {{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 0}}%</div> | }}; width:{{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 0}}px;"> {{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 0}}%</div> | ||
|- | |- | ||
| style="height:20px; align:right; text-align:justify; padding:0; width:150px;" | | |||
{{#if:{{{party3}}}| | {{#if:{{{party3}}}| | ||
{{#switch:{{{party3}}} | |||
| PAP= [[file:PAP logo.png| 30px]] | | PAP= [[file:PAP logo.png| 30px]] | ||
| WP= [[file:WP logo.png| 30px]] | | WP= [[file:WP logo.png| 30px]] | ||
| PSP= [[file:Psp-logo.png| 30px]] | | PSP= [[file:Psp-logo.png| 30px]] | ||
| #default={{{party3}}} | | #default={{{party3}}} | ||
}}<span style="font-variant:big-caps;"> <span style="font-variant:big-caps;">'''{{{party3}}}''': {{formatnum:{{{party3votes}}} }}</span> | }}<span style="font-variant:big-caps;"> <span style="font-variant:big-caps;">'''{{{party3}}}''': {{formatnum:{{{party3votes}}} }}</span>}} | ||
| style="height:20px; align:right; padding:0; width:120px;" |<div style="background-color:{{#switch:{{{party3}}} | | style="height:20px; align:right; padding:0; width:120px;" | | ||
{{#if:{{{party3}}}| <div style="background-color:{{#switch:{{{party3}}} | |||
| PAP=#e5e7e9 | | PAP=#e5e7e9 | ||
| WP=#aed6f1 | | WP=#aed6f1 |