User:CX Zoom/TestPage13
|- class="vcard"
| style="background-color: {{safesubst
| class="org" style="width: 130px" | {{safesubst
| class="fn" | {{{candidate}}}
| style="text-align:right;{{#ifeq: {{{r1advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" | {{safesubst
| style="text-align:right;{{#ifeq: {{{r1advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" | {{{r1p}}}
| style="text-align:right;{{#ifeq: {{{r1lostvotes}}} |yes| background-color:#ededed;| }}" | {{{r1t}}}
{{#ifeq: {{{r1advanced}}} |yes|{{!}} colspan={{#ifeq: {{{rounds}}} |2| 3| {{#ifeq: {{{rounds}}} |3| 7| {{#ifeq: {{{rounds}}} |4| 11| {{#ifeq: {{{rounds}}} |5| 15| 19}} }} }} }} bgcolor=#ffffdd align=center{{!}}Advanced to general election |
{{!}} style="text-align:right;{{#ifeq: {{{r2advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{safesubst
{{!}} style="text-align:right;{{#ifeq: {{{r2advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r2g}}}
{{!}} style="text-align:right;{{#ifeq: {{{r2advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r2n}}}
{{!}} style="text-align:right;{{#ifeq: {{{r2lostvotes}}} |yes| background-color:#ededed;| }}" {{!}} {{{r2t}}}
{{#ifeq: {{{r2advanced}}} |yes|{{!}} colspan={{#ifeq: {{{rounds}}} |3| 3| {{#ifeq: {{{rounds}}} |4| 7| {{#ifeq: {{{rounds}}} |5| 11| {{#ifeq: {{{rounds}}} |6| 15| Some Error}} }} }} }} bgcolor=#ffffdd align=center{{!}}Advanced to general election |
{{!}} style="text-align:right;{{#ifeq: {{{r3advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{safesubst
{{!}} style="text-align:right;{{#ifeq: {{{r3advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r3g}}}
{{!}} style="text-align:right;{{#ifeq: {{{r3advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r3n}}}
{{!}} style="text-align:right;{{#ifeq: {{{r3lostvotes}}} |yes| background-color:#ededed;| }}" {{!}} {{{r3t}}}
{{#ifeq: {{{r3advanced}}} |yes|{{!}} colspan={{#ifeq: {{{rounds}}} |4| 3| {{#ifeq: {{{rounds}}} |5| 7| {{#ifeq: {{{rounds}}} |6| 11| Some Error}} }} }} bgcolor=#ffffdd align=center{{!}}Advanced to general election |
{{!}} style="text-align:right;{{#ifeq: {{{r4advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{safesubst
{{!}} style="text-align:right;{{#ifeq: {{{r4advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r4g}}}
{{!}} style="text-align:right;{{#ifeq: {{{r4advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r4n}}}
{{!}} style="text-align:right;{{#ifeq: {{{r4lostvotes}}} |yes| background-color:#ededed;| }}" {{!}} {{{r4t}}}
{{#ifeq: {{{r4advanced}}} |yes|{{!}} colspan={{#ifeq: {{{rounds}}} |5| 3| {{#ifeq: {{{rounds}}} |6| 7| Some Error}} }} bgcolor=#ffffdd align=center{{!}}Advanced to general election |
{{!}} style="text-align:right;{{#ifeq: {{{r5advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{safesubst
{{!}} style="text-align:right;{{#ifeq: {{{r5advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r5g}}}
{{!}} style="text-align:right;{{#ifeq: {{{r5advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r5n}}}
{{!}} style="text-align:right;{{#ifeq: {{{r5lostvotes}}} |yes| background-color:#ededed;| }}" {{!}} {{{r5t}}}
{{#ifeq: {{{r5advanced}}} |yes|{{!}} colspan={{#ifeq: {{{rounds}}} |6| 3| Some Error}} bgcolor=#ffffdd align=center{{!}}Advanced to general election |
{{!}} style="text-align:right;{{#ifeq: {{{r6advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{safesubst
{{!}} style="text-align:right;{{#ifeq: {{{r6advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r6g}}}
{{!}} style="text-align:right;{{#ifeq: {{{r6advanced}}} |yes| background-color:{{{electcolor|#ffffdd}}};| }}" {{!}} {{{r6n}}} }} }} }} }} }}
|-