Template:Bar-voted: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{| style="width:100%;" | | {| style="width:100%;" | | ||
|- | |- | ||
| style="height:20px;" | <span style="font-variant:big-caps;">{{{party1}}}: {{{party1votes}}}</span> | | style="height:20px;" | <span style="font-variant:big-caps;">{{{party1}}}: {{formatnum:{{{party1votes}}} }}</span> | ||
| style="height:20px;" |<div style="background-color: {{{party1color}}}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}px;"> {{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}%</div> | | style="height:20px;" |<div style="background-color: {{{party1color}}}; width:{{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}px;"> {{#expr:{{{party1votes}}}/{{{totalvotes}}}*100 round 0}}%</div> | ||
|- | |- |
Revision as of 12:14, 9 March 2025
{{{party1}}}: {{{party1votes}}} | <div style="background-color: {{{party1color}}}; width:Expression error: Unrecognized punctuation character "{".px;"> Expression error: Unrecognized punctuation character "{".% |
{{{party2}}}: Expression error: Unrecognized punctuation character "{". | <div style="background-color: {{{party2color}}}; width:Expression error: Unexpected < operator.px;"> Expression error: Unexpected < operator.% |