Template:Bar-voted: Difference between revisions
No edit summary Tag: Manual revert |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{| style="width:100%;" | | {| style="width:100%;" | | ||
| | |||
| | |||
| | |||
|- | |- | ||
| style="height:20px; padding:0;" |'''[[{{{party1-cand1}}}]]''' {{#if:{{{party1-cand2}}} | '''[[{{{party1-cand2}}}]]'''| }} {{#if:{{{party1-cand3}}} | '''[[{{{party1-cand3}}}]]'''| }} {{#if:{{{party1-cand4}}} | '''[[{{{party1-cand4}}}]]'''| }} {{#if:{{{party1-cand5}}} | '''[[{{{party1-cand5}}}]]'''| }} | | style="height:20px; padding:0;" | | ||
{| | |||
| '''[[{{{party1-cand1}}}]]''' | |||
| {{#if:{{{party1-cand2}}} | '''[[{{{party1-cand2}}}]]'''| }} | |||
| {{#if:{{{party1-cand3}}} | '''[[{{{party1-cand3}}}]]'''| }} | |||
| {{#if:{{{party1-cand4}}} | '''[[{{{party1-cand4}}}]]'''| }} | |||
| {{#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; padding:0; width:150px;" | {{#switch:{{{party1}}} | ||
| PAP= [[file:PAP logo.png| 30px]] |party1color=#e5e7e9 | | PAP= [[file:PAP logo.png| 30px]] |party1color=#e5e7e9 | ||
| Line 15: | Line 25: | ||
}}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}px;"> {{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}%</div> | }}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}px;"> {{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}%</div> | ||
|- | |- | ||
| style="height:20px; padding:0;" | '''[[{{{party2-cand1}}}]]''' {{#if:{{{party2-cand2}}} | '''[[{{{party2-cand2}}}]]'''| }} | | style="height:20px; padding:0;" | | ||
{| | |||
| '''[[{{{party2-cand1}}}]]''' | |||
| {{#if:{{{party2-cand2}}} | '''[[{{{party2-cand2}}}]]'''| }} | |||
| {{#if:{{{party2-cand3}}} | '''[[{{{party2-cand3}}}]]'''| }} | |||
| {{#if:{{{party2-cand4}}} | '''[[{{{party2-cand4}}}]]'''| }} | |||
| {{#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; padding:0; width:150px;" | {{#switch:{{{party2}}} | ||
| PAP= [[file:PAP logo.png| 30px]] | | PAP= [[file:PAP logo.png| 30px]] | ||
| Line 28: | Line 45: | ||
| #566573 | | #566573 | ||
}}; 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> | ||
|- | |||
| | |||
| | |||
| | |||
|} | |} | ||
Revision as of 14:10, 9 March 2025
|
{{{party1}}} {{{party1}}}: {{{party1votes}}} | <div style="background-color:
| |||||
|
{{{party2}}} {{{party2}}}: Expression error: Unrecognized punctuation character "{". | <div style="background-color:
| |||||