Template:Bar-voted: Difference between revisions

From PoliticalSG
mNo edit summary
mNo edit summary
Line 13: Line 13:
| 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]] {{{party2color| #e5e7e9}}}
| WP=   [[file:WP logo.png| 30px]]
| WP=   [[file:WP logo.png| 30px]] {{{party2color| #aed6f1}}}
| PSP=   [[file:Psp-logo.png| 30px]]
| PSP=   [[file:Psp-logo.png| 30px]] {{{party2color| #d98880}}}
| #default={{{party2}}}
| #default={{{party2}}}
}}<span style="font-variant:big-caps;"> &nbsp; <span style="font-variant:big-caps;">'''{{{party2}}}''': {{formatnum:{{#expr:{{{totalvotes}}}-{{{party1votes}}} }} }}</span>
}}<span style="font-variant:big-caps;"> &nbsp; <span style="font-variant:big-caps;">'''{{{party2}}}''': {{formatnum:{{#expr:{{{totalvotes}}}-{{{party1votes}}} }} }}</span>

Revision as of 12:47, 9 March 2025

[[{{{party1-cand1}}}]] {{{party1}}}   {{{party1}}}: {{{party1votes}}} <div style="background-color: {{{party1color}}}; width:Expression error: Unrecognized punctuation character "{".px;"> Expression error: Unrecognized punctuation character "{".%
[[{{{party2-cand2}}}]] {{{party2}}}   {{{party2}}}: Expression error: Unrecognized punctuation character "{". <div style="background-color: {{{party2color}}}; width:Expression error: Unrecognized punctuation character "{".px;"> Expression error: Unrecognized punctuation character "{".%