Template:Bar-voted: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
| #default={{{party1}}} | | #default={{{party1}}} | ||
}}<span style="font-variant:big-caps;"> '''{{{party1}}}''': {{formatnum:{{{party1votes}}} }}</span> | }}<span style="font-variant:big-caps;"> '''{{{party1}}}''': {{formatnum:{{{party1votes}}} }}</span> | ||
| style="height:20px;" |<div style="background-color: {{{ | | style="height:20px;" |<div style="background-color: {{#switch:{{{party1}}} | ||
| PAP=#e5e7e9 | |||
| WP=#aed6f1 | |||
| PSP=#d98880 | |||
| #566573 | |||
}}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}px;"> {{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}%</div> | |||
|- | |- | ||
| style="height:20px;" | '''[[{{{party2-cand2}}}]]''' | | style="height:20px;" | '''[[{{{party2-cand2}}}]]''' | ||
| style="height:20px; text-align:justify:" | {{#switch:{{{party2}}} | | style="height:20px; text-align:justify:" | {{#switch:{{{party2}}} | ||
| 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={{{party2}}} | | #default={{{party2}}} | ||
}}<span style="font-variant:big-caps;"> <span style="font-variant:big-caps;">'''{{{party2}}}''': {{formatnum:{{#expr:{{{totalvotes}}}-{{{party1votes}}} }} }}</span> | }}<span style="font-variant:big-caps;"> <span style="font-variant:big-caps;">'''{{{party2}}}''': {{formatnum:{{#expr:{{{totalvotes}}}-{{{party1votes}}} }} }}</span> |
Revision as of 13:10, 9 March 2025
[[{{{party1-cand1}}}]] | {{{party1}}} {{{party1}}}: {{{party1votes}}} | <div style="background-color:
|
[[{{{party2-cand2}}}]] | {{{party2}}} {{{party2}}}: Expression error: Unrecognized punctuation character "{". | <div style="background-color:
|