Jump to content

Template:Bar-voted: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 1: Line 1:
{| style="width:100%;" |
{| style="width:100%;" |
| [[File:Portrait placeholder.png |x50px|link={{{party1-cand1}}}]]
| style=""| [[File:Portrait placeholder.png |x50px|link={{{party1-cand1}}}]]
|
|
|
|
Line 12: Line 12:
| {{#if:{{{party1-cand5}}} | '''[[{{{party1-cand5}}}]]'''| }}
| {{#if:{{{party1-cand5}}} | '''[[{{{party1-cand5}}}]]'''| }}
|}
|}
| style="height:20px; align:right; text-align:justify; padding:0; width:150px;" | {{#switch:{{{party1}}}
| style="height:20px; align:right; text-align:justify; vertical-align:bottom; padding:0; width:150px;" | {{#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 18: Line 18:
| #default={{{party1}}}
| #default={{{party1}}}
}}<span style="font-variant:big-caps;"> &nbsp; '''{{{party1}}}''': {{formatnum:{{{party1votes}}} }}</span>
}}<span style="font-variant:big-caps;"> &nbsp; '''{{{party1}}}''': {{formatnum:{{{party1votes}}} }}</span>
| style="height:20px; align:right; padding:0; width:120px;" |<div style="background-color: {{#switch:{{{party1}}}
| style="height:20px; align:right; vertical-align:bottom; padding:0; width:120px;" |<div style="background-color: {{#switch:{{{party1}}}
| PAP=#e5e7e9
| PAP=#e5e7e9
| WP=#aed6f1
| WP=#aed6f1
Line 33: Line 33:
| {{#if:{{{party2-cand5}}} | '''[[{{{party2-cand5}}}]]'''| }}
| {{#if:{{{party2-cand5}}} | '''[[{{{party2-cand5}}}]]'''| }}
|}
|}
| style="height:20px; align:right; text-align:justify; padding:0; width:150px;" | {{#switch:{{{party2}}}
| style="height:20px; align:right; text-align:justify; vertical-align:top; padding:0; width:150px;" | {{#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 39: Line 39:
| #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>
| style="height:20px; align:right; padding:0; width:120px;" |<div style="background-color: {{#switch:{{{party2}}}
| style="height:20px; align:right; vertical-align:top; padding:0; width:120px;" |<div style="background-color: {{#switch:{{{party2}}}
| PAP=#e5e7e9
| PAP=#e5e7e9
| WP=#aed6f1
| WP=#aed6f1
editors
2,420

edits