Difference between revisions of "Template:Election box supplementary vote candidate"
Jump to navigation
Jump to search
imported>Sussexonian |
imported>FriendlyDataNerdV2 |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
| class="org" | {{{party}}} | | class="org" | {{{party}}} | ||
| class="fn" | {{{candidate}}} | | class="fn" | {{{candidate}}} | ||
| − | | | + | | style="text-align:right;" | {{formatnum:{{{r1votes}}} }} |
| − | | | + | | style="text-align:right;" | {{#if: {{{r1votespercent}}}|{{{r1votespercent}}}%|}} |
| − | | | + | | style="text-align:right;" | {{#if: {{{r2votes|}}}| {{formatnum:{{{r2votes}}} }}|}} |
| − | | | + | | style="text-align:right;" | {{#if: {{{r2votes|}}}| {{formatnum:{{#expr: {{{r1votes}}}+{{{r2votes}}} }}}}|}} |
| + | | style="text-align:right;" | {{#if: {{{r2votes|}}}| {{formatnum:{{{totalpercent}}} }}|}} | ||
| | | | ||
{{#if:{{{r1voteswidth|}}}|{{Template:Election box ranked choice bar | r1voteswidth={{{r1voteswidth|0ex}}} | transfervoteswidth={{{transfervoteswidth|0ex}}} }} | {{Template:Election box ranked choice bar | r1votes={{{r1votes}}} | maxvotes={{#expr: {{{r1votes|0}}}+{{{r2votes|0}}} }} | fullwidthvotes={{{fullwidthvotes}}} {{#if:{{{fullwidth|}}}|{{!}} fullwidth={{{fullwidth}}}|}} {{#if:{{{widthunit|}}}|{{!}} widthunit={{{widthunit}}}|}} }} }} | {{#if:{{{r1voteswidth|}}}|{{Template:Election box ranked choice bar | r1voteswidth={{{r1voteswidth|0ex}}} | transfervoteswidth={{{transfervoteswidth|0ex}}} }} | {{Template:Election box ranked choice bar | r1votes={{{r1votes}}} | maxvotes={{#expr: {{{r1votes|0}}}+{{{r2votes|0}}} }} | fullwidthvotes={{{fullwidthvotes}}} {{#if:{{{fullwidth|}}}|{{!}} fullwidth={{{fullwidth}}}|}} {{#if:{{{widthunit|}}}|{{!}} widthunit={{{widthunit}}}|}} }} }} | ||
Latest revision as of 14:18, 25 August 2017
|- class="vcard" ! style="background-color: #E9E9E9"; width: 2px;" | | class="org" | {{{party}}} | class="fn" | {{{candidate}}} | style="text-align:right;" | {{{r1votes}}} | style="text-align:right;" | {{{r1votespercent}}}% | style="text-align:right;" | | style="text-align:right;" | | style="text-align:right;" | |
<span style="display:inline-block;background-color:#44aaaa; width: Expression error: Unrecognized punctuation character "{".ex"><span style="display:inline-block;background-color:#eeaa44; width: Expression error: Unrecognized punctuation character "{".ex">
|-