Template:Bar-voted: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
| PSP=#d98880 | | PSP=#d98880 | ||
| #566573 | | #566573 | ||
}}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round | }}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 2}}px;"> {{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 2}}%</div> | ||
|- | |- | ||
| 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}}} | ||
Line 25: | Line 25: | ||
| PSP=#d98880 | | PSP=#d98880 | ||
| #566573 | | #566573 | ||
}}; width:{{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round | }}; width:{{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 2}}px;"> {{#expr:{{{party2votes}}}/{{{totalvotes}}}*100 round 2}}%</div> | ||
|- | |- | ||
| style="height:20px; align:right; text-align:justify; padding:0; width:150px;" | | | style="height:20px; align:right; text-align:justify; padding:0; width:150px;" | | ||
Line 41: | Line 41: | ||
| PSP=#d98880 | | PSP=#d98880 | ||
| #566573 | | #566573 | ||
}}; width:{{#expr:{{{party3votes}}}/{{{totalvotes}}}*100 round | }}; width:{{#expr:{{{party3votes}}}/{{{totalvotes}}}*100 round 2}}px;"> {{#expr:{{{party3votes}}}/{{{totalvotes}}}*100 round 2}}%</div> | ||
}} | }} | ||
|} | |} |
Revision as of 19:07, 9 March 2025
{{{party1}}} {{{party1}}}: {{{party1votes}}} | <div style="background-color:
|
{{{party2}}} {{{party2}}}: {{{party2votes}}} | <div style="background-color:
|
{{{party3}}} {{{party3}}}: {{{party3votes}}} |
<div style="background-color:
|