Template:Election table results: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary Tag: 2017 source edit |
m (CSS fix) Tag: 2017 source edit |
||
Line 6: | Line 6: | ||
! Candidate | ! Candidate | ||
! colspan="2" | {{#ifeq: {{{type|}}} | AV | Approvals | {{#ifeq: {{{type|}}} | IRV | First-Place Preferences | Votes}} }} | ! colspan="2" | {{#ifeq: {{{type|}}} | AV | Approvals | {{#ifeq: {{{type|}}} | IRV | First-Place Preferences | Votes}} }} | ||
{{#if: {{{1|}}} | {{#if: {{{1|}}} | {{!}}-{{{1}}} |}} | ||
| {{!}}-{{{1}}} |}}{{#if: {{{2|}}} | {{#if: {{{2|}}} | {{!}}-{{{2}}} |}} | ||
| {{!}}-{{{2}}} |}}{{#if: {{{3|}}} | {{#if: {{{3|}}} | {{!}}-{{{3}}} |}} | ||
| {{!}}-{{{3}}} |}}{{#if: {{{4|}}} | {{#if: {{{4|}}} | {{!}}-{{{4}}} |}} | ||
| {{!}}-{{{4}}} |}}{{#if: {{{5|}}} | {{#if: {{{5|}}} | {{!}}-{{{5}}} |}} | ||
| {{!}}-{{{5}}} |}}{{#if: {{{6|}}} | {{#if: {{{6|}}} | {{!}}-{{{6}}} |}} | ||
| {{!}}-{{{6}}} |}}{{#if: {{{7|}}} | {{#if: {{{7|}}} | {{!}}-{{{7}}} |}} | ||
| {{!}}-{{{7}}} |}}{{#if: {{{8|}}} | {{#if: {{{8|}}} | {{!}}-{{{8}}} |}} | ||
| {{!}}-{{{8}}} |}}{{#if: {{{9|}}} | {{#if: {{{9|}}} | {{!}}-{{{9}}} |}} | ||
| {{!}}-{{{9}}} |}}{{#if: {{{10|}}} | {{#if: {{{10|}}} | {{!}}-{{{10}}} |}} | ||
| {{!}}-{{{10}}} |}} | {{#ifeq: {{{ron_opt|}}} | exclude || {{!}}-{{#ifeq: {{{ron_opt|}}} | win | style="background: #d2ffd2;" |}} | ||
{{#ifeq: {{{ron_opt|}}} | exclude || {{!}}- | {{!}} style="text-align: left;" {{!}} ''Re-Open Nominations'' | ||
{{!}} ''Re-Open Nominations'' | |||
{{!}} {{{ron|0}}} | {{!}} {{{ron|0}}} | ||
{{!}} {{Election vote share | {{{ron|0}}} | {{{ballots|0}}} | #ff9900}} }} | {{!}} {{Election vote share | {{{ron|0}}} | {{{ballots|0}}} | #ff9900}} }} | ||
|-style="text-align: left | |-style="background: #aaa;" | ||
| '''Invalid ballots''' | | style="text-align: left;" | '''Invalid ballots''' | ||
| {{{invalid|0}}} | | {{{invalid|0}}} | ||
| {{Election vote share | {{{invalid|0}}} | {{#expr: {{{ballots|0}}} + {{{invalid|0}}} }} | #444}} | | style="text-align: left;" | {{Election vote share | {{{invalid|0}}} | {{#expr: {{{ballots|0}}} + {{{invalid|0}}} }} | #444}} | ||
|}</includeonly></onlyinclude> | |}</includeonly></onlyinclude> |