Template:Infobox election/row

|-



{{#if:{{{party1|}}}{{{color1|}}}{{{image1|}}}{{{party2|}}}{{{color2|}}}{{{image2|}}}{{{party3|}}}{{{color3|}}}{{{image3|}}}| {{!}} {{!}} style="text-align:center;{{#if:{{{party1|}}}{{{color1|}}}||width:0;}}{{#if:{{{color1|}}}|border-bottom: 6px solid #{{{color1}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party1|}}}|{{#ifexist:Template:{{{party1}}}/meta/color|border-bottom: 6px solid {{{{{party1}}}/meta/color}} }}}}}}}}" {{!}}{{{image1|}}} {{!}} style="text-align:center;{{#if:{{{party2|}}}{{{color2|}}}||width:0;}}{{#if:{{{color2|}}}|border-bottom: 6px solid #{{{color2}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party2|}}}|{{#ifexist: Template:{{{party2}}}/meta/color|border-bottom: 6px solid {{{{{party2}}}/meta/color}} }}}}}}}}"{{!}} {{{image2|}}} {{#if:{{{col3|}}}|{{!}} style="text-align:center;{{#if:{{{party3|}}}{{{color3|}}}||width:0;}}{{#if:{{{color3|}}}|border-bottom: 6px solid #{{{color3}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party3|}}}|{{#ifexist: Template:{{{party3}}}/meta/color|border-bottom: 6px solid {{{{{party3}}}/meta/color}} }}}}}}}}"{{!}} {{{image3|}}} }} {{#if:{{{nominee1|}}}{{{nominee2|}}}{{{nominee3|}}}| {{#switch:{{{type|}}} ! style="width:75px;text-align:left" {{!}}Nominee {{!}} style="{{#if:{{{nominee1|}}}|width:75px;}}text-align:center" {{!}} {{{nominee1|}}} {{!}} style="{{#if:{{{nominee2|}}}|width:75px;}}text-align:center" {{!}} {{{nominee2|}}} {{!}} style="{{#if:{{{nominee3|}}}|width:75px;}}text-align:center" {{!}} {{{nominee3|}}} }}|{{#if:{{{candidate1|}}}{{{candidate2|}}}{{{candidate3|}}}| ! style="width:75px;text-align:left" {{!}}Candidate {{!}} style="{{#if:{{{candidate1|}}}|width:75px;}}text-align:center" {{!}} {{{candidate1|}}} {{!}} style="{{#if:{{{candidate2|}}}|width:75px;}}text-align:center" {{!}} {{{candidate2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{candidate3|}}}|width:75px;}}text-align:center" {{!}} {{{candidate3|}}}}} }} }} {{#switch:{{{type|}}} {{#if:{{{leader1|}}}{{{leader2|}}}{{{leader3|}}}| ! style="text-align:left" {{!}} Leader {{!}} style="{{#if:{{{leader1|}}}|width:75px;}}text-align:center" {{!}} {{{leader1|}}} {{!}} style="{{#if:{{{leader2|}}}|width:75px;}}text-align:center" {{!}} {{{leader2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leader3|}}}|width:75px;}}text-align:center" {{!}} {{{leader3|}}}}} }} }} {{#if:{{{party1|}}}{{{party2|}}}{{{party3|}}}| ! style="width:75px;text-align:left" {{!}} Party {{!}} style="{{#if:{{{party1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party1|}}}}} {{!}} style="{{#if:{{{party2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party2|}}}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{party3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party3|}}}}}}} }} {{#if:{{{alliance1|}}}{{{alliance2|}}}{{{alliance3|}}}| ! style="text-align:left" {{!}} Alliance {{!}} style="{{#if:{{{alliance1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance1|}}}}} {{!}} style="{{#if:{{{alliance2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance2|}}}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{alliance3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance3|}}}}}}} }} {{#if:{{{home_state1|}}}{{{home_state2|}}}{{{home_state3|}}}| {{#switch:{{{type|}}} ! style="text-align:left" {{!}} Home state {{!}} style="{{#if:{{{home_state1|}}}|width:75px;}}text-align:center" {{!}} {{{home_state1|}}} {{!}} style="{{#if:{{{home_state2|}}}|width:75px;}}text-align:center" {{!}} {{{home_state2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{home_state3|}}}|width:75px;}}text-align:center" {{!}} {{{home_state3|}}}}} }} }} {{#switch:{{{type|}}} {{#if:{{{running_mate1|}}}{{{running_mate2|}}}{{{running_mate3|}}}| ! style="text-align:left" {{!}} Running mate {{!}} style="{{#if:{{{running_mate1|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate1|}}} {{!}} style="{{#if:{{{running_mate2|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{running_mate3|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate3|}}}}} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{electoral_vote1|}}}{{{electoral_vote2|}}}{{{electoral_vote3|}}}| ! style="text-align:left" {{!}} Electoral vote {{!}} style="{{#if:{{{electoral_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote1|}}} {{!}} style="{{#if:{{{electoral_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{electoral_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote3|}}}}} }} }} }} {{#switch:{{{type|}}} {{#if:{{{delegate_count1|}}}{{{delegate_count2|}}}{{{delegate_count3|}}}| ! style="text-align:left" {{!}} Delegate count {{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count1|}}} {{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{delegate_count3|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count3|}}}}} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{states_carried1|}}}{{{states_carried2|}}}{{{states_carried3|}}}| ! style="text-align:left" {{!}} States carried {{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried1|}}} {{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{states_carried3|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried3|}}}}} }} }} }} {{#switch:{{{type|}}} {{#if:{{{leader_since1|}}}{{{leader_since2|}}}{{{leader_since3|}}}| ! style="text-align:left" {{!}} Leader since {{!}} style="{{#if:{{{leader_since1|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since1|}}} {{!}} style="{{#if:{{{leader_since2|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leader_since3|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since3|}}}}} }} }} {{#switch:{{{type|}}} {{#if:{{{leaders_seat1|}}}{{{leaders_seat2|}}}{{{leaders_seat3|}}}| ! style="text-align:left" {{!}} Leader's seat {{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat1|}}} {{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leaders_seat3|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat3|}}}}} }} }} {{#switch:{{{type|}}} {{#if:{{{last_election1|}}}{{{last_election2|}}}{{{last_election3|}}}| ! style="text-align:left" {{!}} Last election {{!}} style="{{#if:{{{last_election1|}}}|width:75px;}}text-align:center" {{!}} {{{last_election1|}}} {{!}} style="{{#if:{{{last_election2|}}}|width:75px;}}text-align:center" {{!}} {{{last_election2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{last_election3|}}}|width:75px;}}text-align:center" {{!}} {{{last_election3|}}}}} }} }} {{#switch:{{{type|}}} {{#if:{{{seats_before1|}}}{{{seats_before2|}}}{{{seats_before3|}}}| ! style="text-align:left" {{!}} {{#ifeq:{{{ongoing|}}}|yes|Current seats|Seats before}} {{!}} style="{{#if:{{{seats_before1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before1|}}} {{!}} style="{{#if:{{{seats_before2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_before3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before3|}}}}} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{seats_needed1|}}}{{{seats_needed2|}}}{{{seats_needed3|}}}| ! style="text-align:left" {{!}} Seats needed {{!}} style="{{#if:{{{seats_needed1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed1|}}} {{!}} style="{{#if:{{{seats_needed2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_needed3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed3|}}}}} }} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{seats1|}}}{{{seats2|}}}{{{seats3|}}}| ! style="text-align:left" {{!}} Seats won {{!}} style="{{#if:{{{seats1|}}}|width:75px;}}text-align:center" {{!}} {{{seats1|}}} {{!}} style="{{#if:{{{seats2|}}}|width:75px;}}text-align:center" {{!}} {{{seats2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats3|}}}|width:75px;}}text-align:center" {{!}} {{{seats3|}}}}} }} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{seats_after1|}}}{{{seats_after2|}}}{{{seats_after3|}}}| ! style="text-align:left" {{!}} Seats after {{!}} style="{{#if:{{{seats_after1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after1|}}} {{!}} style="{{#if:{{{seats_after2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_after3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after3|}}}}} }} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{seat_change1|}}}{{{seat_change2|}}}{{{seat_change3|}}}| ! style="text-align:left" {{!}} Seat change {{!}} style="{{#if:{{{seat_change1|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change1|}}} {{!}} style="{{#if:{{{seat_change2|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seat_change3|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change3|}}}}} }} }} }} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{popular_vote1|}}}{{{popular_vote2|}}}{{{popular_vote3|}}}| ! style="text-align:left" {{!}} {{{vote_type|Popular}}} vote {{!}} style="{{#if:{{{popular_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote1|}}} {{!}} style="{{#if:{{{popular_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{popular_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote3|}}}}} }} }} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{percentage1|}}}{{{percentage2|}}}{{{percentage3|}}}| ! style="text-align:left" {{!}} Percentage {{!}} style="{{#if:{{{percentage1|}}}|width:75px;}}text-align:center" {{!}} {{{percentage1|}}} {{!}} style="{{#if:{{{percentage2|}}}|width:75px;}}text-align:center" {{!}} {{{percentage2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{percentage3|}}}|width:75px;}}text-align:center" {{!}} {{{percentage3|}}}}} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{counties_won1|}}}{{{counties_won2|}}}{{{counties_won3|}}}| ! style="text-align:left" {{!}} Counties won {{!}} style="{{#if:{{{counties_won1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won1|}}} {{!}} style="{{#if:{{{counties_won2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{counties_won3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won3|}}}}} }} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{counties_threshold1|}}}{{{counties_threshold2|}}}{{{counties_threshold3|}}}| ! style="text-align:left" {{!}} Counties with 25% vote {{!}} style="{{#if:{{{counties_threshold1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold1|}}} {{!}} style="{{#if:{{{counties_threshold2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{counties_threshold3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold3|}}}}} }} }} }} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes|| {{#if:{{{swing1|}}}| ! style="text-align:left" {{!}} Swing {{!}} style="width:75px;text-align:center" {{!}} {{{swing1}}} {{!}} style="{{#if:{{{swing2|}}}|width:75px;}}text-align:center" {{!}} {{{swing2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{swing3|}}}|width:75px;}}text-align:center" {{!}} {{{swing3|}}}}} }} }} }} {{#if:{{{opinion_polls|}}}|| {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll1_person1|}}}{{{poll1_person2|}}}{{{poll1_person3|}}}| ! colspan=4 {{!}} Opinion polls }} }} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll1_person1|}}}{{{poll1_person2|}}}{{{poll1_person3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll1_date|}}}{{#if:{{{poll1_source|}}}| [{{{poll1_source|}}}]}} {{!}} style="{{#if:{{{poll1_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person1|}}} {{!}} style="{{#if:{{{poll1_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll1_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person3|}}}}} }}}} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll2_person1|}}}{{{poll2_person2|}}}{{{poll2_person3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll2_date|}}}{{#if:{{{poll2_source|}}}| [{{{poll2_source|}}}]}} {{!}} style="{{#if:{{{poll2_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person1|}}} {{!}} style="{{#if:{{{poll2_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll2_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person3|}}}}} }}}} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll3_person1|}}}{{{poll3_person2|}}}{{{poll3_person3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll3_date|}}}{{#if:{{{poll3_source|}}}| [{{{poll3_source|}}}]}} {{!}} style="{{#if:{{{poll3_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person1|}}} {{!}} style="{{#if:{{{poll3_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll3_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person3|}}}}} }}}} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll4_person1|}}}{{{poll4_person2|}}}{{{poll4_person3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll4_date|}}}{{#if:{{{poll4_source|}}}| [{{{poll4_source|}}}]}} {{!}} style="{{#if:{{{poll4_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person1|}}} {{!}} style="{{#if:{{{poll4_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll4_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person3|}}}}} }}}} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll5_person1|}}}{{{poll5_person2|}}}{{{poll5_person3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll5_date|}}}{{#if:{{{poll5_source|}}}| [{{{poll5_source|}}}]}} {{!}} style="{{#if:{{{poll5_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person1|}}} {{!}} style="{{#if:{{{poll5_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll5_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person3|}}}}} }}}} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll1_party1|}}}{{{poll1_party2|}}}{{{poll1_party3|}}}| ! colspan=4 {{!}} Opinion polls }} }} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll1_party1|}}}{{{poll1_party2|}}}{{{poll1_party3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll1_date|}}}{{#if:{{{poll1_source|}}}| [{{{poll1_source|}}}]}} {{!}} style="{{#if:{{{poll1_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party1|}}} {{!}} style="{{#if:{{{poll1_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll1_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party3|}}}}} }} }} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll2_party1|}}}{{{poll2_party2|}}}{{{poll2_party3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll2_date|}}}{{#if:{{{poll2_source|}}}| [{{{poll2_source|}}}]}} {{!}} style="{{#if:{{{poll2_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party1|}}} {{!}} style="{{#if:{{{poll2_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll2_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party3|}}}}} }} }} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll3_party1|}}}{{{poll3_party2|}}}{{{poll3_party3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll3_date|}}}{{#if:{{{poll3_source|}}}| [{{{poll3_source|}}}]}} {{!}} style="{{#if:{{{poll3_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party1|}}} {{!}} style="{{#if:{{{poll3_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll3_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party3|}}}}} }} }} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll4_party1|}}}{{{poll4_party2|}}}{{{poll4_party3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll4_date|}}}{{#if:{{{poll4_source|}}}| [{{{poll4_source|}}}]}} {{!}} style="{{#if:{{{poll4_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party1|}}} {{!}} style="{{#if:{{{poll4_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll4_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party3|}}}}} }} }} }} {{!-}} {{#switch:{{{type|}}} {{#ifeq:{{{ongoing|}}}|yes| {{#if:{{{poll5_party1|}}}{{{poll5_party2|}}}{{{poll5_party3|}}}| ! style="text-align:left; white-space: nowrap" {{!}} {{{poll5_date|}}}{{#if:{{{poll5_source|}}}| [{{{poll5_source|}}}]}} {{!}} style="{{#if:{{{poll5_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party1|}}} {{!}} style="{{#if:{{{poll5_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll5_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party3|}}}}} }} }} }}}} {{#if:{{{show_blank_fields|}}}| {{!-}} {{#if:{{#if:{{{1blank|}}}|{{{1data1|}}}{{{1data2|}}}{{{1data3|}}}}}| ! style="text-align:left" {{!}} {{{1blank}}} {{!}} style="{{#if:{{{1data1|}}}|width:75px;}}text-align:center" {{!}} {{{1data1|}}} {{!}} style="{{#if:{{{1data2|}}}|width:75px;}}text-align:center" {{!}} {{{1data2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{1data3|}}}|width:75px;}}text-align:center" {{!}} {{{1data3|}}}}} }} {{!-}} {{#if:{{#if:{{{2blank|}}}|{{{2data1|}}}{{{2data2|}}}{{{2data3|}}}}}| ! style="text-align:left" {{!}} {{{2blank}}} {{!}} style="{{#if:{{{2data1|}}}|width:75px;}}text-align:center" {{!}} {{{2data1|}}} {{!}} style="{{#if:{{{2data2|}}}|width:75px;}}text-align:center" {{!}} {{{2data2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{2data3|}}}|width:75px;}}text-align:center" {{!}} {{{2data3|}}}}} }} {{!-}} {{#if:{{#if:{{{3blank|}}}|{{{3data1|}}}{{{3data2|}}}{{{3data3|}}}}}| ! style="text-align:left" {{!}} {{{3blank}}} {{!}} style="{{#if:{{{3data1|}}}|width:75px;}}text-align:center" {{!}} {{{3data1|}}} {{!}} style="{{#if:{{{3data2|}}}|width:75px;}}text-align:center" {{!}} {{{3data2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{3data3|}}}|width:75px;}}text-align:center" {{!}} {{{3data3|}}}}} }} {{!-}} {{#if:{{#if:{{{4blank|}}}|{{{4data1|}}}{{{4data2|}}}{{{4data3|}}}}}| ! style="text-align:left" {{!}} {{{4blank}}} {{!}} style="{{#if:{{{4data1|}}}|width:75px;}}text-align:center" {{!}} {{{4data1|}}} {{!}} style="{{#if:{{{4data2|}}}|width:75px;}}text-align:center" {{!}} {{{4data2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{4data3|}}}|width:75px;}}text-align:center" {{!}} {{{4data3|}}}}} }} {{!-}} {{#if:{{#if:{{{5blank|}}}|{{{5data1|}}}{{{5data2|}}}{{{5data3|}}}}}| ! style="text-align:left" {{!}} {{{5blank}}} {{!}} style="{{#if:{{{5data1|}}}|width:75px;}}text-align:center" {{!}} {{{5data1|}}} {{!}} style="{{#if:{{{5data2|}}}|width:75px;}}text-align:center" {{!}} {{{5data2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{5data3|}}}|width:75px;}}text-align:center" {{!}} {{{5data3|}}}}} }} {{!-}} {{#if:{{#if:{{{6blank|}}}|{{{6data1|}}}{{{6data2|}}}{{{6data3|}}}}}| ! style="text-align:left" {{!}} {{{6blank}}} {{!}} style="{{#if:{{{6data1|}}}|width:75px;}}text-align:center" {{!}} {{{6data1|}}} {{!}} style="{{#if:{{{6data2|}}}|width:75px;}}text-align:center" {{!}} {{{6data2|}}} {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{6data3|}}}|width:75px;}}text-align:center" {{!}} {{{6data3|}}}}} }}}} {{documentation|content= This is a subtemplate of template:infobox election used to generate the candidate block rows. It should not be used directly. }}
 * presidential
 * Presidential
 * by-election
 * By-election  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * presidential
 * Presidential =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =
 * parliamentary
 * Parliamentary
 * legislative
 * Legislative  =
 * #default     =