Template:Bar-voted: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|- | |- | ||
| style="height:20px; padding:0;" | '''[[{{{party1-cand1}}}]]''' {{#if:{{{party1-cand2}}} | '''[[{{{party1-cand2}}}]]'''| }} | | style="height:20px; padding:0;" | '''[[{{{party1-cand1}}}]]''' {{#if:{{{party1-cand2}}} | '''[[{{{party1-cand2}}}]]'''| }} | ||
| style="height:20px; align:right; text-align:justify; padding:0; width: | | style="height:20px; align:right; text-align:justify; padding:0; width:120px;" | {{#switch:{{{party1}}} | ||
| PAP= [[file:PAP logo.png| 30px]] |party1color=#e5e7e9 | | PAP= [[file:PAP logo.png| 30px]] |party1color=#e5e7e9 | ||
| WP= [[file:WP logo.png| 30px]] {{{party1color| #aed6f1}}} | | WP= [[file:WP logo.png| 30px]] {{{party1color| #aed6f1}}} | ||
Line 8: | Line 8: | ||
| #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; padding:0; width: | | style="height:20px; padding:0; width:180px;" |<div style="background-color: {{#switch:{{{party1}}} | ||
| PAP=#e5e7e9 | | PAP=#e5e7e9 | ||
| WP=#aed6f1 | | WP=#aed6f1 | ||
Line 16: | Line 16: | ||
|- | |- | ||
| style="height:20px; padding:0;" | '''[[{{{party2-cand1}}}]]''' {{#if:{{{party2-cand2}}} | '''[[{{{party2-cand2}}}]]'''| }} | | style="height:20px; padding:0;" | '''[[{{{party2-cand1}}}]]''' {{#if:{{{party2-cand2}}} | '''[[{{{party2-cand2}}}]]'''| }} | ||
| style="height:20px; align:right; text-align:justify; padding:0; width: | | style="height:20px; align:right; text-align:justify; padding:0; width:120px;" | {{#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]] | ||
Line 22: | Line 22: | ||
| #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> | ||
| style="height:20px; padding:0; width: | | style="height:20px; padding:0; width:180px;" |<div style="background-color: {{#switch:{{{party2}}} | ||
| PAP=#e5e7e9 | | PAP=#e5e7e9 | ||
| WP=#aed6f1 | | WP=#aed6f1 |
Revision as of 13:34, 9 March 2025
[[{{{party1-cand1}}}]] [[{{{party1-cand2}}}]] | {{{party1}}} {{{party1}}}: {{{party1votes}}} | <div style="background-color:
|
[[{{{party2-cand1}}}]] [[{{{party2-cand2}}}]] | {{{party2}}} {{{party2}}}: Expression error: Unrecognized punctuation character "{". | <div style="background-color:
|