"ഫലകം:Infobox Election" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

(ചെ.) 1 ഇന്റർവിക്കി കണ്ണികളെ വിക്കിഡാറ്റയിലെ d:q5855584 എന്ന താളിലേക്ക് മാറ്റിപ്പാർപ്പിച്ചിര...
testing
വരി 1:
<includeonly>{| class="infobox {{#if:{{{election_date|}}}|vevent|}}" style="font-size: 88%; line-height: 1.5em; {{#if:<!--
{{#switch:{{{ongoing|}}}
-->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!--
| yes = {{#switch:{{{country|}}}
-->|width:{{max
| United States = {{future election in the United States}}
| 1 = {{#if:{{{map_image|}}}{{{map|}}}|{{#invoke:string|replace|{{if empty|{{{map_size|}}}|300px}}|px%s*$||plain=false}}}}
| #default = {{future election}}
| 2 = {{#if:{{{map2_image|}}}{{{map2|}}}|{{#invoke:string|replace|{{if empty|{{{map2_size|}}}|300px}}|px%s*$||plain=false}}}}
}}
| 3 = {{#if:{{{map3_image|}}}{{{map3|}}}|{{#invoke:string|replace|{{if empty|{{{map3_size|}}}|300px}}|px%s*$||plain=false}}}}
| no =
| 4 = {{#if:{{{map4_image|}}}{{{map4|}}}|{{#invoke:string|replace|{{if empty|{{{map4_size|}}}|300px}}|px%s*$||plain=false}}}}
| #default =
}}px}}"
 
{|class="infobox {{#if:{{{election_date|}}}|vevent}}" style="width:22em; font-size:90%;"
|+ class="summary" style="font-size: 125%; font-weight: bold" | {{{election_name|{{PAGENAME}}}}}
{{!}} colspan="5" style="text-align:center;" {{!}} {{#if:{{{previous_election|}}}| &lsaquo; [[{{{previous_election}}}|{{{previous_year}}}]]}}{{#if: {{{previous_mps|{{{previous_MPs|}}}|{{{next_members|}}}}}} |&nbsp;&bull;&nbsp; [[{{{previous_mps|{{{previous_MPs}}}|{{{previous_members}}}}}}|members]]}}&nbsp;{{#if:{{{country|}}}|{{flagicon|{{{country}}}|variant={{{flag_year|}}}| size=50px}}}}{{#if: {{{next_election|}}} |&nbsp;{{#if: {{{next_mps|{{{next_MPs|}}}|{{{next_members|}}}}}}|[[{{{next_mps|{{{next_MPs}}}|{{{next_members}}}}}}|members]]&nbsp;&bull;&nbsp;}}[[{{{next_election}}}|{{{next_year}}}]] &rsaquo; }}
|-
| colspan="5" style="text-align:center; font-size:140%; background:#ccf;" |<b class="summary">{{{election_name|{{PAGENAME}}}}}</b><br /> {{#switch:{{{type|}}}|parliamentary |Parliamentary |legislative |Legislative=<small>{{{seats_for_election}}}</small> |#default= }}
|-
{{#if:{{{election_date|}}}{{{turnout|}}}|
{{!}} colspan="5" style="text-align:center;" {{!}} {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}}{{#if:{{{turnout|}}}|{{#if:{{{election_date|}}}|<br />}}'''Turnout:'''&nbsp;{{{turnout}}} }}}}
|-
{{#if: {{{nominee1|}}}{{{candidate1|}}}|! align="left" width="10%" {{!}} }}
{{#if:{{{{{#if:{{{nominee1|}}}|nominee|candidate}}1|}}}|! align="left" width="10%" {{!}} }}
{{#if:{{{{{#if:{{{nominee1|}}}|nominee|candidate}}1|}}}|! align="center" width="20%" {{!}} }}
{{#if:{{{{{#if:{{{nominee2|}}}|nominee|candidate}}2|}}}|! align="center" width="20%" {{!}} }}
{{#if:{{{{{#if:{{{nominee3|}}}|nominee|candidate}}3|}}}|! align="center" width="20%" {{!}} }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{party1|}}}|! colspan="2" align="left" width="10%" {{!}} }}
{{#if:{{{party1|}}}|! align="center" width="20%" {{!}} {{#ifeq:{{{ongoing|}}}|yes||{{#ifeq:{{{type|}}}|{{#ifeq:{{{type}}} |parliamentary|parliamentary|Parliamentary}}|First&nbsp;Party|Majority&nbsp;Party}} }} }}
{{#if:{{{party2|}}}|! align="center" width="20%" {{!}} {{#ifeq:{{{ongoing|}}}|yes||{{#ifeq:{{{type|}}}|{{#ifeq:{{{type}}} |parliamentary|parliamentary|Parliamentary}}|Second&nbsp;Party|Minority&nbsp;Party}} }} }}
{{#if:{{{party3|}}}|! align="center" width="20%" {{!}} {{#ifeq:{{{ongoing|}}}|yes||{{#ifeq:{{{type|}}}|{{#ifeq:{{{type}}} |parliamentary|parliamentary|Parliamentary}}|Third&nbsp;Party|Third&nbsp;Party}} }} }}
| #default= }}
|-
{{#if:{{{flag_image|}}}{{{country|}}}|{{!}} colspan=4 style="text-align:center;" {{!}} {{#if:{{{flag_image|}}}|[[File:{{{flag_image}}}|50px|alt=|link=]]<hr />|{{#if:{{{country|}}}|{{#if:{{{flag_year|}}}|{{flagicon|{{{country}}}|variant={{{flag_year|}}}|size=50px}}|{{flagicon|{{{country}}}|size=50px}}}}<hr />}}}} }}
<!-- Images 1, 2, 3 -->
{{!}}colspan="2"{{!}}
{{!}} align="center" style="border-bottom:6px solid {{#if: {{{party1|}}}{{{color1|}}}{{{colour1|}}}|{{{color1|}}}|<!}}{{#if: {{{color1|}}}|--}}{{#ifeq:{{{party_colo{{#if:{{{party_colour|}}}|u|}}r}}}|no||{{Template:{{{party1}}}/meta/color}}}}{{#if: {{{color1|}}}|-}}{{#if: {{{color1|}}}|->}}{{#if: {{{color1|}}}|<nowiki>#</nowiki>{{{color1}}}}}{{#if: {{{colour1|}}}|<nowiki>#</nowiki>{{{colour1}}}}};"{{!}} {{#if: {{{image1|}}}|{{{image1}}}}}
{{!}} align="center" style="border-bottom:6px solid {{#if: {{{party2|}}}{{{color2|}}}{{{colour2|}}}|{{{color2|}}}|<!}}{{#if: {{{color2|}}}|--}}{{#ifeq:{{{party_colo{{#if:{{{party_colour|}}}|u|}}r}}}|no||{{Template:{{{party2}}}/meta/color}}}}{{#if: {{{color2|}}}|-}}{{#if: {{{color2|}}}|->}}{{#if: {{{color2|}}}|<nowiki>#</nowiki>{{{color2}}}}}{{#if: {{{colour2|}}}|<nowiki>#</nowiki>{{{colour2}}}}};"{{!}}{{#if: {{{image2|}}}|{{{image2}}}}}
{{!}}align="center" style="border-bottom:6px solid {{#if: {{{party3|}}}{{{color3|}}}{{{colour3|}}}|{{{color3|}}}|<!}}{{#if: {{{color3|}}}|--}}{{#ifeq:{{{party_colo{{#if:{{{party_colour|}}}|u|}}r}}}|no||{{Template:{{{party3}}}/meta/color}}}}{{#if: {{{color3|}}}|-}}{{#if: {{{color3|}}}|->}}{{#if: {{{color3|}}}|<nowiki>#</nowiki>{{{color3}}}}}{{#if: {{{colour3|}}}|<nowiki>#</nowiki>{{{colour3}}}}};"{{!}} {{#if: {{{image3|}}}|{{{image3}}}}}
|-
{{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}| {{!}} colspan=4 {{!}}
<!-- Party leader 1, 2, 3 -->
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{!}} style="width:25%;text-align:left;" class="noprint" {{!}} {{#if:{{{previous_year|}}}|{{#ifexist:{{{previous_election|}}}|[[{{{previous_election}}}|{{{previous_year}}}]]|{{{previous_year}}}}}&nbsp;←<br
{{#if:{{{leader1|}}}|
/>}}
{{!}}colspan="2"{{!}} നേതാവ്
{{!}} alignstyle="width:50%;text-align:center;" {{!}} {{#ifeqif:{{{ongoingelection_date|}}}|yes||'''}}{{{leader1election_date}}}{{#ifeq:{{{ongoing|}}}|yes||'''}}
{{!}}style="width:25%;text-align:right;" class="noprint" {{!}}{{#if:{{{next_year|}}}|→&nbsp;{{#ifexist:{{{next_election|}}}|[[{{{next_election}}}|{{{next_year}}}]]|{{{next_year}}}}}<br
{{#if:{{{leader2|}}}|
/>}}
{{!}} align="center" {{!}} {{{leader2}}}}}
{{#if:{{{leader3|!}}}| }}
|- class="noprint"
{{!}} align="center" {{!}} {{{leader3}}}}}
{{#if:{{{outgoing_members|{{{previous_mps|}}}}}}{{{elected_members|{{{elected_mps|}}}}}}| {{!}} colspan=4 {{!}}
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{!}} style="width:50%;text-align:center;" {{!}} {{#if:{{{outgoing_members|{{{previous_mps|}}}}}}|{{#ifexist:{{{outgoing_members|{{{previous_mps|}}}}}}|[[{{{outgoing_members|{{{previous_mps|}}}}}}|outgoing members]]|{{{outgoing_members|{{{previous_mps|}}}}}}}}&nbsp;←|}}
{{!}} style="width:50%;text-align:center;" {{!}} {{#if:{{{elected_members|{{{elected_mps|}}}}}}|→&nbsp;{{#ifexist:{{{elected_members|{{{elected_mps|}}}}}}|[[{{{elected_members|{{{elected_mps|}}}}}}|elected members]]|{{{elected_members|{{{elected_mps|}}}}}}}}|}}
{{!}}}
}}
| #default= }}
|-
| colspan=4 |
<!-- Presidential nominee/candidate 1, 2, 3 -->
{| style="background:transparent; width:100%;"
{{#switch:{{{type|}}}|presidential|Presidential=
{{#if:{{{{{#if:{{{nominee1|}}}|nominee|candidate}}1|}}}|
{{!}}colspan="2" align="left"{{!}} {{#if:{{{nominee1|}}}|Nominee|Candidate}} }}
{{#if:{{{{{#if:{{{nominee1|}}}|nominee|candidate}}1|}}}|
{{!}} align="center" {{!}} {{#ifeq:{{{ongoing|}}}|yes||'''}}{{{{{#if:{{{nominee1|}}}|nominee|candidate}}1}}}{{#ifeq:{{{ongoing|}}}|yes||'''}}}}
{{#if:{{{{{#if:{{{nominee2|}}}|nominee|candidate}}2|}}}|{{!}} align="center" {{!}} {{{{{#if:{{{nominee2|}}}|nominee|candidate}}2}}}}}
{{#if:{{{{{#if:{{{nominee3|}}}|nominee|candidate}}3|}}}|{{!}} align="center" {{!}} {{{{{#if:{{{nominee3|}}}|nominee|candidate}}3}}}}}
| #default= }}
|-
{{#if:{{{party1|}}}{{{color1|}}}{{{colour1|}}}{{{leader1|}}}|{{!}} colspan=4 {{!}}<hr />}}
<!-- Party name 1, 2, 3 -->
{{#if: {{{party1|}}}|
{{!}}colspan="2" style="text-align:left;"{{!}}പാർട്ടി
{{!}} align="center" {{!}}{{#switch:{{{party_name|}}}| no={{#if:{{{party1|}}}|{{{party1}}} }}| #default= {{#ifeq:{{{party_name}}}|no|{{{party1}}}|[[{{{party1}}}|{{Template:{{{party1}}}/meta/shortname}}]]}}}}
}}
{{#if: {{{party2|}}}|
{{!}} align="center" {{!}}{{#switch:{{{party_name|}}}| no={{#if:{{{party2|}}}|{{{party2}}} }}| #default= {{#ifeq:{{{party_name}}}|no|{{{party2}}}|[[{{{party2}}}|{{Template:{{{party2}}}/meta/shortname}}]]}}}}
}}
{{#if: {{{party3|}}}|
{{!}} align="center" {{!}}{{#switch:{{{party_name|}}}| no={{#if:{{{party3|}}}|{{{party3}}} }}| #default= {{#ifeq:{{{party_name}}}|no|{{{party3}}}|[[{{{party3}}}|{{Template:{{{party3}}}/meta/shortname}}]]}}}}
}}
|-
{{#switch:{{{type|}}}
<!-- Home state 1, 2, 3 -->
| primary
{{#switch:{{{type|}}}|presidential|Presidential=
| Primary
{{#if:{{{home_state1|}}}|
| presidential
{{!}}colspan="2"{{!}} Home&nbsp;state
| Presidential = {{#if:{{{votes_for_election|}}}|
{{!}} align="center" {{!}} {{{home_state1}}}
! colspan=4 style="text-align:center" {{!}} <small>{{{votes_for_election}}}</small>{{#if:{{{needed_votes|}}}|<br /><small>{{{needed_votes}}} votes needed to win</small>}}
{{#if:{{{home_state2|}}}|
{{!}} align="center" {{!}} {{{home_state2}}}}}
{{#if:{{{home_state3|}}}|
{{!}} align="center" {{!}} {{{home_state3}}}}}
}}
| parliamentary
| #default= }}
| Parliamentary
|-
| legislative
<!-- Running mate 1, 2, 3 -->
| Legislative
{{#switch:{{{type|}}}|presidential|Presidential=
| by-election
{{#if:{{{running_mate1|}}}|
| By-election = {{#if:{{{seats_for_election|}}}|
{{!}}colspan="2"{{!}} Running&nbsp;mate
! colspan=4 style="text-align:center" {{!}} <small>{{{seats_for_election}}}</small>{{#if:{{{majority_seats|}}}|<br /><small>{{{majority_seats}}} seats needed for a majority</small>}}
{{!}} align="center" {{!}} {{{running_mate1}}}
{{#if:{{{running_mate2|}}}|
{{!}} align="center" {{!}} {{{running_mate2}}}}}
{{#if:{{{running_mate3|}}}|
{{!}} align="center" {{!}} {{{running_mate3}}}}}
}}
| #default = }}
|-
<!-- "Leader since" 1, 2, 3 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{leader_since1|}}}|
{{!}}colspan="2"{{!}} Leader&nbsp;since
{{!}} align="center" {{!}} {{{leader_since1}}}
{{#if:{{{leader_since2|}}}|
{{!}} align="center" {{!}} {{{leader_since2}}}}}
{{#if:{{{leader_since3|}}}|
{{!}} align="center" {{!}} {{{leader_since3}}}}}
}}
| #default= }}
|-
{{#if:{{{opinion_polls|}}}|
<!-- Leader seat 1, 2, 3 -->
{{!}} colspan=4 style="text-align:center" {{!}} [[{{{opinion_polls}}}|Opinion&nbsp;polls]]
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{leaders_seat1|}}}|
{{!}}colspan="2"{{!}} Leader's&nbsp;seat
{{!}} align="center" {{!}} {{{leaders_seat1}}}
{{#if:{{{leaders_seat2|}}}|
{{!}} align="center" {{!}} {{{leaders_seat2}}}}}
{{#if:{{{leaders_seat3|}}}|
{{!}} align="center" {{!}} {{{leaders_seat3}}}}}
{{!}}-
}}
| #default= }}
|-
{{#if:{{{registered|}}}|
<!-- last election's seat count and percentage -->
! style="text-align:left" {{!}} Registered
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{!}} colspan=3 style="text-align:center" {{!}} {{{registered}}}
{{#if:{{{last_election1|}}}|
{{!}}colspan="2"{{!}} Last&nbsp;election
{{!}} align="center" {{!}} {{{last_election1}}}
{{#if:{{{last_election2|}}}|
{{!}} align="center" {{!}} {{{last_election2}}}}}
{{#if:{{{last_election3|}}}|
{{!}} align="center" {{!}} {{{last_election3}}}}}
}}
| #default= }}
|-
{{#if:{{{turnout|}}}|
<!-- seat count before the election -->
! style="text-align:left" {{!}} Turnout
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{!}} colspan=3 style="text-align:center" {{!}} {{{turnout}}}
{{#if:{{{seats_before1|}}}|
{{!}}colspan="2"{{!}} Seats&nbsp;before
{{!}} align="center" {{!}} {{{seats_before1}}}
{{#if:{{{seats_before2|}}}|
{{!}} align="center" {{!}} {{{seats_before2}}}}}
{{#if:{{{seats_before3|}}}|
{{!}} align="center" {{!}} {{{seats_before3}}}}}
}}
| #default= }}
|-
{{#if:{{{votes_counted|}}}|
<!-- Electoral vote 1, 2, 3 -->
! style="text-align:left" {{!}} Votes&nbsp;counted
{{#switch:{{{type|}}}|presidential|Presidential=
{{!}} colspan=3 style="text-align:center" {{!}} {{centre|{{Percentage bar|{{{votes_counted}}}|{{{votes_counted}}}%|1BCE0E}}}}{{small|as of '''{{{last_update}}} {{{time_zone}}}'''}}
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{electoral_vote1|}}}|
{{!}}colspan="2"{{!}} Electoral&nbsp;vote
{{!}} align="center" {{!}} '''{{{electoral_vote1}}}'''
{{#if:{{{electoral_vote2|}}}|
{{!}} align="center" {{!}} {{{electoral_vote2}}}}}
{{#if:{{{electoral_vote3|}}}|
{{!}} align="center" {{!}} {{{electoral_vote3}}}}}
}}
}}
| #default= }}
|-
{{#if:{{{reporting|}}}|
<!-- States carried 1, 2, 3 -->
! style="text-align:left" {{!}} Reporting
{{#switch:{{{type|}}}|presidential|Presidential=
{{!}} colspan=3 style="text-align:center" {{!}} {{centre|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}{{small|as of '''{{{last_update}}} {{{time_zone}}}'''}}
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{states_carried1|}}}|
{{!}}colspan="2"{{!}} States&nbsp;carried
{{!}} align="center" {{!}} {{{states_carried1}}}
{{#if:{{{states_carried2|}}}|
{{!}} align="center" {{!}} {{{states_carried2}}}}}
{{#if:{{{states_carried3|}}}|
{{!}} align="center" {{!}} {{{states_carried3}}}}}
}}
}}
| #default= }}
|-
{{#if:{{{declared|}}}|
<!-- seats 1, 2, 3 -->
! style="text-align:left" {{!}} Declared
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{!}} colspan=3 style="text-align:center" {{!}} {{centre|{{Percentage bar|{{{declared}}}|{{{declared}}}%|1BCE0E}}}}{{small|as of '''{{{last_update}}} {{{time_zone}}}'''}}
{{#ifeq: {{{ongoing}}} |yes ||
{{#if:{{{seats1|}}}|
{{!}}colspan="2"{{!}} Seats&nbsp;won
{{!}} align="center" {{!}} '''{{{seats1}}}'''
{{#if:{{{seats2|}}}|
{{!}} align="center" {{!}} {{{seats2}}}}}
{{#if:{{{seats3|}}}|
{{!}} align="center" {{!}} {{{seats3}}}}}
}}
}}
| #default= }}
|-
<!-- seat count after the{{Infobox election -->/row
| type = {{{type|}}}
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
| divider = <!-- none -->
{{#if:{{{seats_after1|}}}|
| col3 = {{#if:{{{color3|}}}{{{colour3|}}}{{{image3|}}}{{{nominee3|}}}{{{candidate3|}}}{{{leader3|}}}{{{party3|}}}{{{alliance3|}}}{{{home_state3|}}}{{{running_mate3|}}}{{{electoral_vote3|}}}{{{delegate_count3|}}}{{{states_carried3|}}}{{{leader_since3|}}}{{{leaders_seat3|}}}{{{last_election3|}}}{{{seats_before3|}}}{{{seats_needed3|}}}{{{seats3|}}}{{{seats_after3|}}}{{{seat_change3|}}}{{{popular_vote3|}}}{{{percentage3|}}}{{{swing3|}}}{{{poll1_nominee3|}}}{{{poll1_candidate3|}}}{{{poll2_nominee3|}}}{{{poll2_candidate3|}}}{{{poll3_nominee3|}}}{{{poll3_candidate3|}}}{{{poll4_nominee3|}}}{{{poll4_candidate3|}}}{{{poll5_nominee3|}}}{{{poll5_candidate3|}}}{{{poll1_party3|}}}{{{poll2_party3|}}}{{{poll3_party3|}}}{{{poll4_party3|}}}{{{poll5_party3|}}}{{{1data3|}}}{{{2data3|}}}{{{3data3|}}}{{{4data3|}}}{{{5data3|}}}{{{6data3|}}}|yes}}
{{!}}colspan="2"{{!}} Seats&nbsp;after
| ongoing = {{{ongoing|}}}
{{!}} align="center" {{!}} '''{{{seats_after1}}}'''
| header1 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=First party|#default=Majority party}}
{{#if:{{{seats_after2|}}}|
| header2 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Second party|#default=Minority party}}
{{!}} align="center" {{!}} {{{seats_after2}}}}}
| header3 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Third party|#default=Third party}}
{{#if:{{{seats_after3|}}}|
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
{{!}} align="center" {{!}} {{{seats_after3}}}}}
| color1 = {{if empty| {{{color1|}}} | {{{colour1|}}} }}
| color2 = {{if empty| {{{color2|}}} | {{{colour2|}}} }}
| color3 = {{if empty| {{{color3|}}} | {{{colour3|}}} }}
| image1 = {{{image1|}}}
| image2 = {{{image2|}}}
| image3 = {{{image3|}}}
| nominee1 = {{{nominee1|}}}
| nominee2 = {{{nominee2|}}}
| nominee3 = {{{nominee3|}}}
| candidate1 = {{{candidate1|}}}
| candidate2 = {{{candidate2|}}}
| candidate3 = {{{candidate3|}}}
| leader1 = {{{leader1|}}}
| leader2 = {{{leader2|}}}
| leader3 = {{{leader3|}}}
| party_name = {{{party_name}}}
| party1 = {{{party1|}}}
| party2 = {{{party2|}}}
| party3 = {{{party3|}}}
| alliance_name = {{{alliance_name}}}
| alliance1 = {{{alliance1|}}}
| alliance2 = {{{alliance2|}}}
| alliance3 = {{{alliance3|}}}
| home_state1 = {{{home_state1|}}}
| home_state2 = {{{home_state2|}}}
| home_state3 = {{{home_state3|}}}
| running_mate1 = {{{running_mate1|}}}
| running_mate2 = {{{running_mate2|}}}
| running_mate3 = {{{running_mate3|}}}
| electoral_vote1 = {{{electoral_vote1|}}}
| electoral_vote2 = {{{electoral_vote2|}}}
| electoral_vote3 = {{{electoral_vote3|}}}
| delegate_count1 = {{{delegate_count1|}}}
| delegate_count2 = {{{delegate_count2|}}}
| delegate_count3 = {{{delegate_count3|}}}
| states_carried1 = {{{states_carried1|}}}
| states_carried2 = {{{states_carried2|}}}
| states_carried3 = {{{states_carried3|}}}
| leader_since1 = {{{leader_since1|}}}
| leader_since2 = {{{leader_since2|}}}
| leader_since3 = {{{leader_since3|}}}
| leaders_seat1 = {{{leaders_seat1|}}}
| leaders_seat2 = {{{leaders_seat2|}}}
| leaders_seat3 = {{{leaders_seat3|}}}
| last_election1 = {{{last_election1|}}}
| last_election2 = {{{last_election2|}}}
| last_election3 = {{{last_election3|}}}
| seats_before1 = {{{seats_before1|}}}
| seats_before2 = {{{seats_before2|}}}
| seats_before3 = {{{seats_before3|}}}
| seats_needed1 = {{{seats_needed1|}}}
| seats_needed2 = {{{seats_needed2|}}}
| seats_needed3 = {{{seats_needed3|}}}
| seats1 = {{{seats1|}}}
| seats2 = {{{seats2|}}}
| seats3 = {{{seats3|}}}
| seats_after1 = {{{seats_after1|}}}
| seats_after2 = {{{seats_after2|}}}
| seats_after3 = {{{seats_after3|}}}
| seat_change1 = {{{seat_change1|}}}
| seat_change2 = {{{seat_change2|}}}
| seat_change3 = {{{seat_change3|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote1|}}}
| popular_vote2 = {{{popular_vote2|}}}
| popular_vote3 = {{{popular_vote3|}}}
| percentage1 = {{{percentage1|}}}
| percentage2 = {{{percentage2|}}}
| percentage3 = {{{percentage3|}}}
| counties_won1 = {{{counties_won1|}}}
| counties_won2 = {{{counties_won2|}}}
| counties_won3 = {{{counties_won3|}}}
| counties_threshold1 = {{{counties_threshold1|}}}
| counties_threshold2 = {{{counties_threshold2|}}}
| counties_threshold3 = {{{counties_threshold3|}}}
| swing1 = {{{swing1|}}}
| swing2 = {{{swing2|}}}
| swing3 = {{{swing3|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date1|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source1|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee1|}}}|{{{poll1_candidate1|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee2|}}}|{{{poll1_candidate2|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee3|}}}|{{{poll1_candidate3|}}}}}
| poll2_date = {{if empty|{{{poll2_date1|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source1|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee1|}}}|{{{poll2_candidate1|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee2|}}}|{{{poll2_candidate2|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee3|}}}|{{{poll2_candidate3|}}}}}
| poll3_date = {{if empty|{{{poll3_date1|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source1|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee1|}}}|{{{poll3_candidate1|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee2|}}}|{{{poll3_candidate2|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee3|}}}|{{{poll3_candidate3|}}}}}
| poll4_date = {{if empty|{{{poll4_date1|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source1|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee1|}}}|{{{poll4_candidate1|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee2|}}}|{{{poll4_candidate2|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee3|}}}|{{{poll4_candidate3|}}}}}
| poll5_date = {{if empty|{{{poll5_date1|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source1|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee1|}}}|{{{poll5_candidate1|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee2|}}}|{{{poll5_candidate2|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee3|}}}|{{{poll5_candidate3|}}}}}
| poll1_party1 = {{{poll1_party1|}}}| poll1_party2 = {{{poll1_party2|}}}| poll1_party3 = {{{poll1_party3|}}}
| poll2_party1 = {{{poll2_party1|}}}| poll2_party2 = {{{poll2_party2|}}}| poll2_party3 = {{{poll2_party3|}}}
| poll3_party1 = {{{poll3_party1|}}}| poll3_party2 = {{{poll3_party2|}}}| poll3_party3 = {{{poll3_party3|}}}
| poll4_party1 = {{{poll4_party1|}}}| poll4_party2 = {{{poll4_party2|}}}| poll4_party3 = {{{poll4_party3|}}}
| poll5_party1 = {{{poll5_party1|}}}| poll5_party2 = {{{poll5_party2|}}}| poll5_party3 = {{{poll5_party3|}}}
 
| 1blank = {{{1blank|}}}| 1data1 = {{{1data1|}}}| 1data2 = {{{1data2|}}}| 1data3 = {{{1data3|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data1|}}}| 2data2 = {{{2data2|}}}| 2data3 = {{{2data3|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data1|}}}| 3data2 = {{{3data2|}}}| 3data3 = {{{3data3|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data1|}}}| 4data2 = {{{4data2|}}}| 4data3 = {{{4data3|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data1|}}}| 5data2 = {{{5data2|}}}| 5data3 = {{{5data3|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data1|}}}| 6data2 = {{{6data2|}}}| 6data3 = {{{6data3|}}}
}}
| #default= }}
|-
{{Infobox election/row
<!-- seat change 1, 2, 3 -->
| type = {{{type|}}}
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
| divider = <hr />
{{#ifeq: {{{ongoing}}} |yes ||
| col3 = {{#if:{{{color6|}}}{{{colour6|}}}{{{image6|}}}{{{nominee6|}}}{{{candidate6|}}}{{{leader6|}}}{{{party6|}}}{{{alliance6|}}}{{{home_state6|}}}{{{running_mate6|}}}{{{electoral_vote6|}}}{{{delegate_count6|}}}{{{states_carried6|}}}{{{leader_since6|}}}{{{leaders_seat6|}}}{{{last_election6|}}}{{{seats_before6|}}}{{{seats_needed6|}}}{{{seats6|}}}{{{seats_after6|}}}{{{seat_change6|}}}{{{popular_vote6|}}}{{{percentage6|}}}{{{swing6|}}}{{{poll1_nominee6|}}}{{{poll1_candidate6|}}}{{{poll2_nominee6|}}}{{{poll2_candidate6|}}}{{{poll3_nominee6|}}}{{{poll3_candidate6|}}}{{{poll4_nominee6|}}}{{{poll4_candidate6|}}}{{{poll5_nominee6|}}}{{{poll5_candidate6|}}}{{{poll1_party6|}}}{{{poll2_party6|}}}{{{poll3_party6|}}}{{{poll4_party6|}}}{{{poll5_party6|}}}{{{1data6|}}}{{{2data6|}}}{{{3data6|}}}{{{4data6|}}}{{{5data6|}}}{{{6data6|}}}|yes}}
{{#if:{{{seat_change1|}}}|
| ongoing = {{{ongoing|}}}
{{!}}colspan="2"{{!}} Seat&nbsp;change
| header1 = {{#if:{{{party3|}}}|Fourth party|Third party}}
{{!}} align="center" {{!}} {{{seat_change1}}}
| header2 = {{#if:{{{seat_change2party3|}}}|Fifth party|Fourth party}}
| header3 = {{#if:{{{party3|}}}|Sixth party|Fifth party}}
{{!}} align="center" {{!}} {{{seat_change2}}}}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
{{#if:{{{seat_change3|}}}|
| color1 = {{!}}if align="center"empty| {{!{color4|}}} | {{{seat_change3colour4|}}} }}
| color2 = {{if empty| {{{color5|}}} | {{{colour5|}}} }}
| color3 = {{if empty| {{{color6|}}} | {{{colour6|}}} }}
| image1 = {{{image4|}}}
| image2 = {{{image5|}}}
| image3 = {{{image6|}}}
| nominee1 = {{{nominee4|}}}
| nominee2 = {{{nominee5|}}}
| nominee3 = {{{nominee6|}}}
| candidate1 = {{{candidate4|}}}
| candidate2 = {{{candidate5|}}}
| candidate3 = {{{candidate6|}}}
| leader1 = {{{leader4|}}}
| leader2 = {{{leader5|}}}
| leader3 = {{{leader6|}}}
| party_name = {{{party_name}}}
| party1 = {{{party4|}}}
| party2 = {{{party5|}}}
| party3 = {{{party6|}}}
| alliance_name = {{{alliance_name}}}
| alliance1 = {{{alliance4|}}}
| alliance2 = {{{alliance5|}}}
| alliance3 = {{{alliance6|}}}
| home_state1 = {{{home_state4|}}}
| home_state2 = {{{home_state5|}}}
| home_state3 = {{{home_state6|}}}
| running_mate1 = {{{running_mate4|}}}
| running_mate2 = {{{running_mate5|}}}
| running_mate3 = {{{running_mate6|}}}
| electoral_vote1 = {{{electoral_vote4|}}}
| electoral_vote2 = {{{electoral_vote5|}}}
| electoral_vote3 = {{{electoral_vote6|}}}
| delegate_count1 = {{{delegate_count4|}}}
| delegate_count2 = {{{delegate_count5|}}}
| delegate_count3 = {{{delegate_count6|}}}
| states_carried1 = {{{states_carried4|}}}
| states_carried2 = {{{states_carried5|}}}
| states_carried3 = {{{states_carried6|}}}
| leader_since1 = {{{leader_since4|}}}
| leader_since2 = {{{leader_since5|}}}
| leader_since3 = {{{leader_since6|}}}
| leaders_seat1 = {{{leaders_seat4|}}}
| leaders_seat2 = {{{leaders_seat5|}}}
| leaders_seat3 = {{{leaders_seat6|}}}
| last_election1 = {{{last_election4|}}}
| last_election2 = {{{last_election5|}}}
| last_election3 = {{{last_election6|}}}
| seats_before1 = {{{seats_before4|}}}
| seats_before2 = {{{seats_before5|}}}
| seats_before3 = {{{seats_before6|}}}
| seats_needed1 = {{{seats_needed4|}}}
| seats_needed2 = {{{seats_needed5|}}}
| seats_needed3 = {{{seats_needed6|}}}
| seats1 = {{{seats4|}}}
| seats2 = {{{seats5|}}}
| seats3 = {{{seats6|}}}
| seats_after1 = {{{seats_after4|}}}
| seats_after2 = {{{seats_after5|}}}
| seats_after3 = {{{seats_after6|}}}
| seat_change1 = {{{seat_change4|}}}
| seat_change2 = {{{seat_change5|}}}
| seat_change3 = {{{seat_change6|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote4|}}}
| popular_vote2 = {{{popular_vote5|}}}
| popular_vote3 = {{{popular_vote6|}}}
| percentage1 = {{{percentage4|}}}
| percentage2 = {{{percentage5|}}}
| percentage3 = {{{percentage6|}}}
| swing1 = {{{swing4|}}}
| swing2 = {{{swing5|}}}
| swing3 = {{{swing6|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date2|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source2|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee4|}}}|{{{poll1_candidate4|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee5|}}}|{{{poll1_candidate5|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee6|}}}|{{{poll1_candidate6|}}}}}
| poll2_date = {{if empty|{{{poll2_date2|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source2|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee4|}}}|{{{poll2_candidate4|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee5|}}}|{{{poll2_candidate5|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee6|}}}|{{{poll2_candidate6|}}}}}
| poll3_date = {{if empty|{{{poll3_date2|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source2|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee4|}}}|{{{poll3_candidate4|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee5|}}}|{{{poll3_candidate5|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee6|}}}|{{{poll3_candidate6|}}}}}
| poll4_date = {{if empty|{{{poll4_date2|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source2|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee4|}}}|{{{poll4_candidate4|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee5|}}}|{{{poll4_candidate5|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee6|}}}|{{{poll4_candidate6|}}}}}
| poll5_date = {{if empty|{{{poll5_date2|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source2|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee4|}}}|{{{poll5_candidate4|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee5|}}}|{{{poll5_candidate5|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee6|}}}|{{{poll5_candidate6|}}}}}
| poll1_party1 = {{{poll1_party4|}}}| poll1_party2 = {{{poll1_party5|}}}| poll1_party3 = {{{poll1_party6|}}}
| poll2_party1 = {{{poll2_party4|}}}| poll2_party2 = {{{poll2_party5|}}}| poll2_party3 = {{{poll2_party6|}}}
| poll3_party1 = {{{poll3_party4|}}}| poll3_party2 = {{{poll3_party5|}}}| poll3_party3 = {{{poll3_party6|}}}
| poll4_party1 = {{{poll4_party4|}}}| poll4_party2 = {{{poll4_party5|}}}| poll4_party3 = {{{poll4_party6|}}}
| poll5_party1 = {{{poll5_party4|}}}| poll5_party2 = {{{poll5_party5|}}}| poll5_party3 = {{{poll5_party6|}}}
 
| 1blank = {{{1blank|}}}| 1data1 = {{{1data4|}}}| 1data2 = {{{1data5|}}}| 1data3 = {{{1data6|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data4|}}}| 2data2 = {{{2data5|}}}| 2data3 = {{{2data6|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data4|}}}| 3data2 = {{{3data5|}}}| 3data3 = {{{3data6|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data4|}}}| 4data2 = {{{4data5|}}}| 4data3 = {{{4data6|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data4|}}}| 5data2 = {{{5data5|}}}| 5data3 = {{{5data6|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data4|}}}| 6data2 = {{{6data5|}}}| 6data3 = {{{6data6|}}}
}}
}}
| #default= }}
|-
{{Infobox election/row
<!-- popular vote 1, 2, 3 -->
| type = {{{type|}}}
{{#ifeq:{{{ongoing|}}}|yes||
| divider = <hr />
{{#if:{{{popular_vote1|}}}|
| ongoing = {{{ongoing|}}}
{{!}}colspan="2"{{!}} Popular&nbsp;vote
| col3 = {{#if:{{{color9|}}}{{{colour9|}}}{{{image9|}}}{{{nominee9|}}}{{{candidate9|}}}{{{leader9|}}}{{{party9|}}}{{{alliance9|}}}{{{home_state9|}}}{{{running_mate9|}}}{{{electoral_vote9|}}}{{{delegate_count9|}}}{{{states_carried9|}}}{{{leader_since9|}}}{{{leaders_seat9|}}}{{{last_election9|}}}{{{seats_before9|}}}{{{seats_needed9|}}}{{{seats9|}}}{{{seats_after9|}}}{{{seat_change9|}}}{{{popular_vote9|}}}{{{percentage9|}}}{{{counties_won9|}}}{{{counties_threshold9|}}}{{{swing9|}}}{{{poll1_nominee9|}}}{{{poll1_candidate9|}}}{{{poll2_nominee9|}}}{{{poll2_candidate9|}}}{{{poll3_nominee9|}}}{{{poll3_candidate9|}}}{{{poll4_nominee9|}}}{{{poll4_candidate9|}}}{{{poll5_nominee9|}}}{{{poll5_candidate9|}}}{{{poll1_party9|}}}{{{poll2_party9|}}}{{{poll3_party9|}}}{{{poll4_party9|}}}{{{poll5_party9|}}}{{{1data9|}}}{{{2data9|}}}{{{3data9|}}}{{{4data9|}}}{{{5data9|}}}{{{6data9|}}}|yes}}
{{!}} align="center" {{!}} {{{popular_vote1}}}
| header1 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Fifth party|1=Sixth party|2=Seventh party}}
{{#if:{{{popular_vote2|}}}|
| header2 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Sixth party|1=Seventh party|2=Eighth party}}
{{!}} align="center" {{!}} {{{popular_vote2}}}}}
| header3 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Seventh party|1=Eighth party|2=Ninth party}}
{{#if:{{{popular_vote3|}}}|
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
{{!}} align="center" {{!}} {{{popular_vote3}}}}}
| color1 = {{if empty| {{{color7|}}} | {{{colour7|}}} }}
| color2 = {{if empty| {{{color8|}}} | {{{colour8|}}} }}
| color3 = {{if empty| {{{color9|}}} | {{{colour9|}}} }}
| image1 = {{{image7|}}}
| image2 = {{{image8|}}}
| image3 = {{{image9|}}}
| nominee1 = {{{nominee7|}}}
| nominee2 = {{{nominee8|}}}
| nominee3 = {{{nominee9|}}}
| candidate1 = {{{candidate7|}}}
| candidate2 = {{{candidate8|}}}
| candidate3 = {{{candidate9|}}}
| leader1 = {{{leader7|}}}
| leader2 = {{{leader8|}}}
| leader3 = {{{leader9|}}}
| party_name = {{{party_name}}}
| party1 = {{{party7|}}}
| party2 = {{{party8|}}}
| party3 = {{{party9|}}}
| alliance_name = {{{alliance_name}}}
| alliance1 = {{{alliance7|}}}
| alliance2 = {{{alliance8|}}}
| alliance3 = {{{alliance9|}}}
| home_state1 = {{{home_state7|}}}
| home_state2 = {{{home_state8|}}}
| home_state3 = {{{home_state9|}}}
| running_mate1 = {{{running_mate7|}}}
| running_mate2 = {{{running_mate8|}}}
| running_mate3 = {{{running_mate9|}}}
| electoral_vote1 = {{{electoral_vote7|}}}
| electoral_vote2 = {{{electoral_vote8|}}}
| electoral_vote3 = {{{electoral_vote9|}}}
| delegate_count1 = {{{delegate_count7|}}}
| delegate_count2 = {{{delegate_count8|}}}
| delegate_count3 = {{{delegate_count9|}}}
| states_carried1 = {{{states_carried7|}}}
| states_carried2 = {{{states_carried8|}}}
| states_carried3 = {{{states_carried9|}}}
| leader_since1 = {{{leader_since7|}}}
| leader_since2 = {{{leader_since8|}}}
| leader_since3 = {{{leader_since9|}}}
| leaders_seat1 = {{{leaders_seat7|}}}
| leaders_seat2 = {{{leaders_seat8|}}}
| leaders_seat3 = {{{leaders_seat9|}}}
| last_election1 = {{{last_election7|}}}
| last_election2 = {{{last_election8|}}}
| last_election3 = {{{last_election9|}}}
| seats_before1 = {{{seats_before7|}}}
| seats_before2 = {{{seats_before8|}}}
| seats_before3 = {{{seats_before9|}}}
| seats_needed1 = {{{seats_needed7|}}}
| seats_needed2 = {{{seats_needed8|}}}
| seats_needed3 = {{{seats_needed9|}}}
| seats1 = {{{seats7|}}}
| seats2 = {{{seats8|}}}
| seats3 = {{{seats9|}}}
| seats_after1 = {{{seats_after7|}}}
| seats_after2 = {{{seats_after8|}}}
| seats_after3 = {{{seats_after9|}}}
| seat_change1 = {{{seat_change7|}}}
| seat_change2 = {{{seat_change8|}}}
| seat_change3 = {{{seat_change9|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote7|}}}
| popular_vote2 = {{{popular_vote8|}}}
| popular_vote3 = {{{popular_vote9|}}}
| percentage1 = {{{percentage7|}}}
| percentage2 = {{{percentage8|}}}
| percentage3 = {{{percentage9|}}}
| swing1 = {{{swing7|}}}
| swing2 = {{{swing8|}}}
| swing3 = {{{swing9|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date3|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source3|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee7|}}}|{{{poll1_candidate7|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee8|}}}|{{{poll1_candidate8|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee9|}}}|{{{poll1_candidate9|}}}}}
| poll2_date = {{if empty|{{{poll2_date3|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source3|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee7|}}}|{{{poll2_candidate7|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee8|}}}|{{{poll2_candidate8|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee9|}}}|{{{poll2_candidate9|}}}}}
| poll3_date = {{if empty|{{{poll3_date3|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source3|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee7|}}}|{{{poll3_candidate7|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee8|}}}|{{{poll3_candidate8|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee9|}}}|{{{poll3_candidate9|}}}}}
| poll4_date = {{if empty|{{{poll4_date3|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source3|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee7|}}}|{{{poll4_candidate7|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee8|}}}|{{{poll4_candidate8|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee9|}}}|{{{poll4_candidate9|}}}}}
| poll5_date = {{if empty|{{{poll5_date3|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source3|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee7|}}}|{{{poll5_candidate7|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee8|}}}|{{{poll5_candidate8|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee9|}}}|{{{poll5_candidate9|}}}}}
| poll1_party1 = {{{poll1_party7|}}}| poll1_party2 = {{{poll1_party8|}}}| poll1_party3 = {{{poll1_party9|}}}
| poll2_party1 = {{{poll2_party7|}}}| poll2_party2 = {{{poll2_party8|}}}| poll2_party3 = {{{poll2_party9|}}}
| poll3_party1 = {{{poll3_party7|}}}| poll3_party2 = {{{poll3_party8|}}}| poll3_party3 = {{{poll3_party9|}}}
| poll4_party1 = {{{poll4_party7|}}}| poll4_party2 = {{{poll4_party8|}}}| poll4_party3 = {{{poll4_party9|}}}
| poll5_party1 = {{{poll5_party7|}}}| poll5_party2 = {{{poll5_party8|}}}| poll5_party3 = {{{poll5_party9|}}}
 
| 1blank = {{{1blank|}}}| 1data1 = {{{1data7|}}}| 1data2 = {{{1data8|}}}| 1data3 = {{{1data9|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data7|}}}| 2data2 = {{{2data8|}}}| 2data3 = {{{2data9|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data7|}}}| 3data2 = {{{3data8|}}}| 3data3 = {{{3data9|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data7|}}}| 4data2 = {{{4data8|}}}| 4data3 = {{{4data9|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data7|}}}| 5data2 = {{{5data8|}}}| 5data3 = {{{5data9|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data7|}}}| 6data2 = {{{6data8|}}}| 6data3 = {{{6data9|}}}
}}
|}
|-<!-- map -->
{{#if:{{{map_image|}}}{{{map|}}}|
{{!}} colspan=4 style="text-align:center" {{!}} <hr />
{{#if:{{{map_image|}}}|[[file:{{{map_image}}}|{{#if:{{{map_size|}}}|{{{map_size}}}|300px}}|{{#if:{{{map_alt|}}}|alt={{{map_alt|}}}|}}]]|{{{map}}}}}
{{!-}}
{{#if:{{{map_caption|}}}|
{{!}} colspan=4 style="text-align:center" {{!}} {{{map_caption|}}}
{{!-}}
}}
|-
<!-- percentage 1, 2, 3 -->
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{percentage1|}}}|
{{!}}colspan="2"{{!}} Percentage
{{!}} align="center" {{!}} {{{percentage1}}}
{{#if:{{{percentage2|}}}|
{{!}} align="center" {{!}} {{{percentage2}}}}}
{{#if:{{{percentage3|}}}|
{{!}} align="center" {{!}} {{{percentage3}}}}}
}}
{{#if:{{{map2_image|}}}{{{map2|}}}|
{{!}} colspan=4 style="text-align:center" {{!}} <hr />
{{#if:{{{map2_image|}}}|[[file:{{{map2_image}}}|{{#if:{{{map2_size|}}}|{{{map2_size}}}|300px}}|{{#if:{{{map2_alt|}}}|alt={{{map2_alt|}}}|}}]]|{{{map2}}}}}
{{!-}}
{{#if:{{{map2_caption|}}}|
{{!}} colspan=4 style="text-align:center" {{!}} {{{map2_caption|}}}
{{!-}}
}}
|-
<!-- swing 1, 2, 3 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} |yes ||
{{#if:{{{swing1|}}}|
{{!}}colspan="2"{{!}} Swing
{{!}} align="center" {{!}} {{{swing1}}}
{{#if:{{{swing2|}}}|
{{!}} align="center" {{!}} {{{swing2}}}}}
{{#if:{{{swing3|}}}|
{{!}} align="center" {{!}} {{{swing3}}}}}
{{!}}-
}}
{{#if:{{{map3_image|}}}{{{map3|}}}|
{{!}} colspan=4 style="text-align:center" {{!}} <hr />
{{#if:{{{map3_image|}}}|[[file:{{{map3_image}}}|{{#if:{{{map3_size|}}}|{{{map3_size}}}|300px}}|{{#if:{{{map3_alt|}}}|alt={{{map3_alt|}}}|}}]]|{{{map3}}}}}
{{!-}}
{{#if:{{{map3_caption|}}}|
{{!}} colspan=4 style="text-align:center" {{!}} {{{map3_caption|}}}
{{!-}}
}}
| #default= }}
|-
<!-- Presidential poll nominee 1, 2, 3 -->
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_{{#if:{{{poll1_nominee1|}}}|nominee|candidate}}1|}}}|
{{!}}colspan="5"{{!}} '''Opinion&nbsp;polls'''
}}
{{#if:{{{map4_image|}}}{{{map4|}}}|
{{!}} colspan=4 style="text-align:center" {{!}} <hr />
{{#if:{{{map4_image|}}}|[[file:{{{map4_image}}}|{{#if:{{{map4_size|}}}|{{{map4_size}}}|300px}}|{{#if:{{{map4_alt|}}}|alt={{{map4_alt|}}}|}}]]|{{{map4}}}}}
{{!-}}
{{#if:{{{map4_caption|}}}|
{{!}} colspan=4 style="text-align:center" {{!}} {{{map4_caption|}}}
{{!-}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_{{#if:{{{poll1_nominee1|}}}|nominee|candidate}}1|}}}|
{{!}} colspan="2" {{!}} {{{poll1_date{{#if:{{{poll1_date1|}}}|1|}}}}}&nbsp;[{{{poll1_source{{#if:{{{poll1_source1|}}}|1|}}}}}]}}
{{#if:{{{poll1_{{#if:{{{poll1_nominee1|}}}|nominee|candidate}}1|}}}|
{{!}} align="center" {{!}} {{{poll1_{{#if:{{{poll1_nominee1|}}}|nominee|candidate}}1}}}}}
{{#if:{{{poll1_{{#if:{{{poll1_nominee2|}}}|nominee|candidate}}2|}}}| {{!}} align="center" {{!}} {{{poll1_{{#if:{{{poll1_nominee2|}}}|nominee|candidate}}2}}}}}
{{#if:{{{poll1_{{#if:{{{poll1_nominee3|}}}|nominee|candidate}}3|}}}| {{!}} align="center" {{!}} {{{poll1_{{#if:{{{poll1_nominee3|}}}|nominee|candidate}}3}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll2_{{#if:{{{poll2_nominee1|}}}|nominee|candidate}}1|}}}|
{{!}}colspan="2"{{!}} {{{poll2_date{{#if:{{{poll2_date1|}}}|1|}}}}}&nbsp;[{{{poll2_source{{#if:{{{poll2_source1|}}}|1|}}}}}]}}
{{#if:{{{poll2_{{#if:{{{poll2_nominee1|}}}|nominee|candidate}}1|}}}|{{!}} align="center" {{!}} {{{poll2_{{#if:{{{poll2_nominee1|}}}|nominee|candidate}}1}}}}}
{{#if:{{{poll2_{{#if:{{{poll2_nominee2|}}}|nominee|candidate}}2|}}}|{{!}} align="center" {{!}} {{{poll2_{{#if:{{{poll2_nominee2|}}}|nominee|candidate}}2}}}}}
{{#if:{{{poll2_{{#if:{{{poll2_nominee3|}}}|nominee|candidate}}3|}}}|{{!}} align="center" {{!}} {{{poll2_{{#if:{{{poll2_nominee3|}}}|nominee|candidate}}3}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll3_{{#if:{{{poll3_nominee1|}}}|nominee|candidate}}1|}}}|
{{!}}colspan="2"{{!}} {{{poll3_date{{#if:{{{poll3_date1|}}}|1|}}}}}&nbsp;[{{{poll3_source{{#if:{{{poll3_source1|}}}|1|}}}}}]}}
{{#if:{{{poll3_{{#if:{{{poll3_nominee1|}}}|nominee|candidate}}1|}}}|{{!}} align="center" {{!}} {{{poll3_{{#if:{{{poll3_nominee1|}}}|nominee|candidate}}1}}}}}
{{#if:{{{poll3_{{#if:{{{poll3_nominee2|}}}|nominee|candidate}}2|}}}|{{!}} align="center" {{!}} {{{poll3_{{#if:{{{poll3_nominee2|}}}|nominee|candidate}}2}}}}}
{{#if:{{{poll3_{{#if:{{{poll3_nominee3|}}}|nominee|candidate}}3|}}}|{{!}} align="center" {{!}} {{{poll3_{{#if:{{{poll3_nominee3|}}}|nominee|candidate}}3}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll4_{{#if:{{{poll4_nominee1|}}}|nominee|candidate}}1|}}}|
{{!}}colspan="2"{{!}} {{{poll4_date{{#if:{{{poll4_date1|}}}|1|}}}}}&nbsp;[{{{poll4_source{{#if:{{{poll4_source1|}}}|1|}}}}}]}}
{{#if:{{{poll4_{{#if:{{{poll4_nominee1|}}}|nominee|candidate}}1|}}}|{{!}} align="center" {{!}} {{{poll4_{{#if:{{{poll4_nominee1|}}}|nominee|candidate}}1}}}}}
{{#if:{{{poll4_{{#if:{{{poll4_nominee2|}}}|nominee|candidate}}2|}}}|{{!}} align="center" {{!}} {{{poll4_{{#if:{{{poll4_nominee2|}}}|nominee|candidate}}2}}}}}
{{#if:{{{poll4_{{#if:{{{poll4_nominee3|}}}|nominee|candidate}}3|}}}|{{!}} align="center" {{!}} {{{poll4_{{#if:{{{poll4_nominee3|}}}|nominee|candidate}}3}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll5_{{#if:{{{poll5_nominee1|}}}|nominee|candidate}}1|}}}|
{{!}}colspan="2"{{!}} {{{poll5_date{{#if:{{{poll5_date1|}}}|1|}}}}}&nbsp;[{{{poll5_source{{#if:{{{poll5_source1|}}}|1|}}}}}]}}
{{#if:{{{poll5_{{#if:{{{poll5_nominee1|}}}|nominee|candidate}}1|}}}|{{!}} align="center" {{!}} {{{poll5_{{#if:{{{poll5_nominee1|}}}|nominee|candidate}}1}}}}}
{{#if:{{{poll5_{{#if:{{{poll5_nominee2|}}}|nominee|candidate}}2|}}}|{{!}} align="center" {{!}} {{{poll5_{{#if:{{{poll5_nominee2|}}}|nominee|candidate}}2}}}}}
{{#if:{{{poll5_{{#if:{{{poll5_nominee3|}}}|nominee|candidate}}3|}}}|{{!}} align="center" {{!}} {{{poll5_{{#if:{{{poll5_nominee3|}}}|nominee|candidate}}3}}}}}
}}
| #default= }}
|-
<!-- seats needed 1, 2, 3 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{seats_needed1|}}}|
{{!}}colspan="2"{{!}} Seats&nbsp;needed
{{!}} align="center" {{!}} {{{seats_needed1}}}
{{#if:{{{seats_needed2|}}}|
{{!}} align="center" {{!}} {{{seats_needed2}}}}}
{{#if:{{{seats_needed3|}}}|
{{!}} align="center" {{!}} {{{seats_needed3}}}}}
}}
}}
| #default= }}
|-
<!-- Legislative poll nominee 1, 2, 3 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll1_party1|}}}|
{{!}} '''Opinion&nbsp;polls'''
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll1_party1|}}}|
{{!}}colspan="2"{{!}}
{{{poll1_date{{#if:{{{poll1_date1|}}}|1|}}}}}&nbsp;[{{{poll1_source{{#if:{{{poll1_source1|}}}|1|}}}}}]
{{!}} align="center" {{!}} {{{poll1_party1}}}
{{#if:{{{poll1_party2|}}}|
{{!}} align="center" {{!}} {{{poll1_party2}}}}}
{{#if:{{{poll1_party3|}}}|
{{!}} align="center" {{!}} {{{poll1_party3}}}}}
{{!}}-
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll2_party1|}}}|
{{!}}colspan="2"{{!}} {{{poll2_date{{#if:{{{poll2_date1|}}}|1|}}}}}&nbsp;[{{{poll2_source{{#if:{{{poll2_source1|}}}|1|}}}}}]
{{!}} align="center" {{!}} {{{poll2_party1}}}
{{#if:{{{poll2_party2|}}}|
{{!}} align="center" {{!}} {{{poll2_party2}}}}}
{{#if:{{{poll2_party3|}}}|
{{!}} align="center" {{!}} {{{poll2_party3}}}}}
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll3_party1|}}}|
{{!}}colspan="2"{{!}} {{{poll3_date{{#if:{{{poll3_date1|}}}|1|}}}}}&nbsp;[{{{poll3_source{{#if:{{{poll3_source1|}}}|1|}}}}}]
{{!}} align="center" {{!}} {{{poll3_party1}}}
{{#if:{{{poll3_party2|}}}|
{{!}} align="center" {{!}} {{{poll3_party2}}}}}
{{#if:{{{poll3_party3|}}}|
{{!}} align="center" {{!}} {{{poll3_party3}}}}}
{{!}}-
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll4_party1|}}}|
{{!}}colspan="2"{{!}} {{{poll4_date{{#if:{{{poll4_date1|}}}|1|}}}}}&nbsp;[{{{poll4_source{{#if:{{{poll4_source1|}}}|1|}}}}}]
{{!}} align="center" {{!}} {{{poll4_party1}}}
{{#if:{{{poll4_party2|}}}|
{{!}} align="center" {{!}} {{{poll4_party2}}}}}
{{#if:{{{poll4_party3|}}}|
{{!}} align="center" {{!}} {{{poll4_party3}}}}}
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll5_party1|}}}|
{{!}}colspan="2"{{!}} {{{poll5_date{{#if:{{{poll5_date1|}}}|1|}}}}}&nbsp;[{{{poll5_source{{#if:{{{poll5_source1|}}}|1|}}}}}]
{{!}} align="center" {{!}} {{{poll5_party1}}}
{{#if:{{{poll5_party2|}}}|
{{!}} align="center" {{!}} {{{poll5_party2}}}}}
{{#if:{{{poll5_party3|}}}|
{{!}} align="center" {{!}} {{{poll5_party3}}}}}
{{!}}-
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{party4|}}}|! align="left" width="10%" {{!}} }}
{{#if:{{{party4|}}}|! align="left" width="10%" {{!}} }}
{{#if:{{{party4|}}}|! align="center" width="20%" {{!}} {{#ifeq:{{{ongoing|}}}|yes||{{#if:{{{party3|}}}|Fourth&nbsp;Party|Third&nbsp;Party}}}}}}
{{#if:{{{party5|}}}|! align="center" width="20%" {{!}} {{#ifeq:{{{ongoing|}}}|yes||{{#if:{{{party3|}}}|Fifth&nbsp;Party|Fourth&nbsp;Party}}}}}}
{{#if:{{{party6|}}}|! align="center" width="20%" {{!}} {{#ifeq:{{{ongoing|}}}|yes||Sixth&nbsp;Party}}}}
| #default= }}
|-
<!-- Blank field 1, 2, 3 -->
{{#if:{{{1blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{1blank}}}
{{#if:{{{1data1|}}}|
{{!}} align="center" {{!}} {{{1data1}}}}}
{{#if:{{{1data2|}}}|
{{!}} align="center" {{!}} {{{1data2}}}}}
{{#if:{{{1data3|}}}|
{{!}} align="center" {{!}} {{{1data3}}}}}
}}
{{#if:{{{2blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{2blank}}}
{{#if:{{{2data1|}}}|
{{!}} align="center" {{!}} {{{2data1}}}}}
{{#if:{{{2data2|}}}|
{{!}} align="center" {{!}} {{{2data2}}}}}
{{#if:{{{2data3|}}}|
{{!}} align="center" {{!}} {{{2data3}}}}}
}}
{{#if:{{{3blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{3blank}}}
{{#if:{{{3data1|}}}|
{{!}} align="center" {{!}} {{{3data1}}}}}
{{#if:{{{3data2|}}}|
{{!}} align="center" {{!}} {{{3data2}}}}}
{{#if:{{{3data3|}}}|
{{!}} align="center" {{!}} {{{3data3}}}}}
}}
{{#if:{{{4blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{4blank}}}
{{#if:{{{4data1|}}}|
{{!}} align="center" {{!}} {{{4data1}}}}}
{{#if:{{{4data2|}}}|
{{!}} align="center" {{!}} {{{4data2}}}}}
{{#if:{{{4data3|}}}|
{{!}} align="center" {{!}} {{{4data3}}}}}
}}
{{#if:{{{5blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{5blank}}}
{{#if:{{{5data1|}}}|
{{!}} align="center" {{!}} {{{5data1}}}}}
{{#if:{{{5data2|}}}|
{{!}} align="center" {{!}} {{{5data2}}}}}
{{#if:{{{5data3|}}}|
{{!}} align="center" {{!}} {{{5data3}}}}}
}}
{{#if:{{{6blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{6blank}}}
{{#if:{{{6data1|}}}|
{{!}} align="center" {{!}} {{{6data1}}}}}
{{#if:{{{6data2|}}}|
{{!}} align="center" {{!}} {{{6data2}}}}}
{{#if:{{{6data3|}}}|
{{!}} align="center" {{!}} {{{6data3}}}}}
}}
<!-- Images 4, 5, 6 -->
{{#if: {{{image4|}}}|
{{!}}-
{{!}}colspan="2"{{!}}
}}
{{!}} align="center" style="border-bottom:6px solid {{#if: {{{party4|}}}{{{color4|}}}{{{colour4|}}}|{{{color4|}}}|<!}}{{#if: {{{color4|}}}|--}}{{#ifeq:{{{party_colo{{#if:{{{party_colour|}}}|u|}}r}}}|no||{{Template:{{{party4}}}/meta/color}}}}{{#if: {{{color4|}}}|-}}{{#if: {{{color4|}}}|->}}{{#if: {{{color4|}}}|<nowiki>#</nowiki>{{{color4}}}}}{{#if: {{{colour4|}}}|<nowiki>#</nowiki>{{{colour4}}}}};"{{!}} {{#if: {{{image4|}}}|{{{image4}}}}}
{{!}} align="center" style="border-bottom:6px solid {{#if: {{{party5|}}}{{{color5|}}}{{{colour5|}}}|{{{color5|}}}|<!}}{{#if: {{{color5|}}}|--}}{{#ifeq:{{{party_colo{{#if:{{{party_colour|}}}|u|}}r}}}|no||{{Template:{{{party5}}}/meta/color}}}}{{#if: {{{color5|}}}|-}}{{#if: {{{color5|}}}|->}}{{#if: {{{color5|}}}|<nowiki>#</nowiki>{{{color5}}}}}{{#if: {{{colour5|}}}|<nowiki>#</nowiki>{{{colour5}}}}};"{{!}} {{#if: {{{image5|}}}|{{{image5}}}}}
{{!}}align="center" style="border-bottom:6px solid {{#if: {{{party6|}}}{{{color6|}}}{{{colour6|}}}|{{{color6|}}}|<!}}{{#if: {{{color6|}}}|--}}{{#ifeq:{{{party_colo{{#if:{{{party_colour|}}}|u|}}r}}}|no||{{Template:{{{party6}}}/meta/color}}}}{{#if: {{{color6|}}}|-}}{{#if: {{{color6|}}}|->}}{{#if: {{{color6|}}}|<nowiki>#</nowiki>{{{color6}}}}}{{#if: {{{colour6|}}}|<nowiki>#</nowiki>{{{colour6}}}}};"{{!}} {{#if: {{{image6|}}}|{{{image6}}}}}
|-
<!-- Leader 4, 5, 6 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{leader4|}}}|
{{!}}colspan="2"{{!}} Leader
{{!}} align="center" {{!}} {{{leader4}}}
{{#if:{{{leader5|}}}|
{{!}} align="center" {{!}} {{{leader5}}}}}
{{#if:{{{leader6|}}}|
{{!}} align="center" {{!}} {{{leader6}}}}}
}}
| #default= }}
|-
<!-- Presidential nominee/candidate 4, 5, 6 -->
{{#switch:{{{type|}}}|presidential|Presidential=
{{#if:{{{{{#if:{{{nominee4|}}}|nominee|candidate}}4|}}}|
{{!}}colspan="2"{{!}} {{#if:{{{nominee4|}}}|Nominee|Candidate}}}}
{{#if:{{{{{#if:{{{nominee4|}}}|nominee|candidate}}4|}}}|{{!}} align="center" {{!}} {{#ifeq:{{{ongoing|}}}|yes||'''}}{{{{{#if:{{{nominee4|}}}|nominee|candidate}}4}}}{{#ifeq:{{{ongoing|}}}|yes||'''}}}}
{{#if:{{{{{#if:{{{nominee5|}}}|nominee|candidate}}5|}}}|{{!}} align="center" {{!}} {{{{{#if:{{{nominee5|}}}|nominee|candidate}}5}}}}}
{{#if:{{{{{#if:{{{nominee6|}}}|nominee|candidate}}6|}}}|{{!}} align="center" {{!}} {{{{{#if:{{{nominee6|}}}|nominee|candidate}}6}}}}}
| #default= }}
|-
<!-- Party name 4, 5, 6 -->
{{#if: {{{party4|}}}|
{{!}}colspan="2" style="text-align:left;"{{!}}Party
}}
{{#if: {{{party4|}}}|
{{!}} align="center" {{!}}{{#switch:{{{party_name|}}}| no={{#if:{{{party4|}}}|{{{party4}}} }}| #default= {{#ifeq:{{{party_name}}}|no|{{{party4}}}|[[{{{party4}}}|{{Template:{{{party4}}}/meta/shortname}}]]}}}}
}}
{{#if: {{{party5|}}}|
{{!}} align="center" {{!}}{{#switch:{{{party_name|}}}| no={{#if:{{{party5|}}}|{{{party5}}} }}| #default= {{#ifeq:{{{party_name}}}|no|{{{party5}}}|[[{{{party5}}}|{{Template:{{{party5}}}/meta/shortname}}]]}}}}
}}
{{#if: {{{party6|}}}|
{{!}} align="center" {{!}}{{#switch:{{{party_name|}}}| no={{#if:{{{party6|}}}|{{{party6}}} }}| #default= {{#ifeq:{{{party_name}}}|no|{{{party6}}}|[[{{{party6}}}|{{Template:{{{party6}}}/meta/shortname}}]]}}}}
}}
|-
<!-- Home state 4, 5, 6 -->
{{#switch:{{{type|}}}|presidential|Presidential=
{{#if:{{{home_state4|}}}|
{{!}}colspan="2"{{!}} Home&nbsp;state
{{!}} align="center" {{!}} {{{home_state4}}}
{{#if:{{{home_state5|}}}|
{{!}} align="center" {{!}} {{{home_state5}}}}}
{{#if:{{{home_state6|}}}|
{{!}} align="center" {{!}} {{{home_state6}}}}}
}}
| #default= }}
|-
<!-- Running mate 4, 5, 6 -->
{{#switch:{{{type|}}}|presidential|Presidential=
{{#if:{{{running_mate4|}}}|
{{!}}colspan="2"{{!}} Running&nbsp;mate
{{!}} align="center" {{!}} {{{running_mate4}}}
{{#if:{{{running_mate5|}}}|
{{!}} align="center" {{!}} {{{running_mate5}}}}}
{{#if:{{{running_mate6|}}}|
{{!}} align="center" {{!}} {{{running_mate6}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{leader_since4|}}}|
{{!}}colspan="2"{{!}} Leader&nbsp;since
{{!}} align="center" {{!}} {{{leader_since4}}}
{{#if:{{{leader_since5|}}}|
{{!}} align="center" {{!}} {{{leader_since5}}}}}
{{#if:{{{leader_since6|}}}|
{{!}} align="center" {{!}} {{{leader_since6}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{leaders_seat4|}}}|
{{!}}colspan="2"{{!}} Leader's&nbsp;seat
{{!}} align="center" {{!}} {{{leaders_seat4}}}
{{#if:{{{leaders_seat5|}}}|
{{!}} align="center" {{!}} {{{leaders_seat5}}}}}
{{#if:{{{leaders_seat6|}}}|
{{!}} align="center" {{!}} {{{leaders_seat6}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{last_election4|}}}|
{{!}}colspan="2"{{!}} Last&nbsp;election
{{!}} align="center" {{!}} {{{last_election4}}}
{{#if:{{{last_election5|}}}|
{{!}} align="center" {{!}} {{{last_election5}}}}}
{{#if:{{{last_election6|}}}|
{{!}} align="center" {{!}} {{{last_election6}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{seats_before4|}}}|
{{!}}colspan="2"{{!}} Seats&nbsp;before
{{!}} align="center" {{!}} {{{seats_before4}}}
{{#if:{{{seats_before5|}}}|
{{!}} align="center" {{!}} {{{seats_before5}}}}}
{{#if:{{{seats_before6|}}}|
{{!}} align="center" {{!}} {{{seats_before6}}}}}
}}
| #default= }}
|-
<!-- Electoral vote 4, 5, 6 -->
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{electoral_vote4|}}}|
{{!}}colspan="2"{{!}} Electoral&nbsp;vote
{{!}} align="center" {{!}} '''{{{electoral_vote4}}}'''
{{#if:{{{electoral_vote5|}}}|
{{!}} align="center" {{!}} {{{electoral_vote5}}}}}
{{#if:{{{electoral_vote6|}}}|
{{!}} align="center" {{!}} {{{electoral_vote6}}}}}
}}
}}
| #default= }}
|-
<!-- States carried 4, 5, 6 -->
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{states_carried4|}}}|
{{!}}colspan="2"{{!}} States&nbsp;carried
{{!}} align="center" {{!}} {{{states_carried4}}}
{{#if:{{{states_carried5|}}}|
{{!}} align="center" {{!}} {{{states_carried5}}}}}
{{#if:{{{states_carried6|}}}|
{{!}} align="center" {{!}} {{{states_carried6}}}}}
}}
}}
| #default= }}
|-
<!-- seats 4, 5, 6 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} |yes ||
{{#if:{{{seats4|}}}|
{{!}}colspan="2"{{!}} Seats&nbsp;won
{{!}} align="center" {{!}} {{{seats4}}}
{{#if:{{{seats5|}}}|
{{!}} align="center" {{!}} {{{seats5}}}}}
{{#if:{{{seats6|}}}|
{{!}} align="center" {{!}} {{{seats6}}}}}
}}
}}
| #default= }}
|-
<!-- seats after 4, 5, 6 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#if:{{{seats_after4|}}}|
{{!}}colspan="2"{{!}} Seats&nbsp;after
{{!}} align="center" {{!}} {{{seats_after4}}}
{{#if:{{{seats_after5|}}}|
{{!}} align="center" {{!}} {{{seats_after5}}}}}
{{#if:{{{seats_after6|}}}|
{{!}} align="center" {{!}} {{{seats_after6}}}}}
}}
| #default= }}
|-
<!-- seat change 4, 5, 6 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} |yes ||
{{#if:{{{seat_change4|}}}|
{{!}}colspan="2"{{!}} Seat&nbsp;change
{{!}} align="center" {{!}} {{{seat_change4}}}
{{#if:{{{seat_change5|}}}|
{{!}} align="center" {{!}} {{{seat_change5}}}}}
{{#if:{{{seat_change6|}}}|
{{!}} align="center" {{!}} {{{seat_change6}}}}}
}}
}}
| #default= }}
|-
<!-- popular vote 4, 5, 6 -->
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{popular_vote4|}}}|
{{!}}colspan="2"{{!}} Popular&nbsp;vote
{{!}} align="center" {{!}} {{{popular_vote4}}}
{{#if:{{{popular_vote5|}}}|
{{!}} align="center" {{!}} {{{popular_vote5}}}}}
{{#if:{{{popular_vote6|}}}|
{{!}} align="center" {{!}} {{{popular_vote6}}}}}
}}
}}
|-
<!-- percentage 4, 5, 6 -->
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{percentage4|}}}|
{{!}}colspan="2"{{!}} Percentage
{{!}} align="center" {{!}} {{{percentage4}}}
{{#if:{{{percentage5|}}}|
{{!}} align="center" {{!}} {{{percentage5}}}}}
{{#if:{{{percentage6|}}}|
{{!}} align="center" {{!}} {{{percentage6}}}}}
}}
}}
|-
<!-- swing 4, 5, 6 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} |yes ||
{{#if:{{{swing4|}}}|
{{!}}colspan="2"{{!}} Swing
{{!}} align="center" {{!}} {{{swing4}}}
{{#if:{{{swing5|}}}|
{{!}} align="center" {{!}} {{{swing5}}}}}
{{#if:{{{swing6|}}}|
{{!}} align="center" {{!}} {{{swing6}}}}}
{{!}}-
}}
}}
| #default= }}
|-
<!-- Presidential poll nominee 4, 5, 6 -->
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_{{#if:{{{poll1_nominee4|}}}|nominee|candidate}}4|}}}|
{{!}}colspan="5"{{!}} '''Opinion&nbsp;polls'''
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_{{#if:{{{poll1_nominee4|}}}|nominee|candidate}}4|}}}|
{{!}}colspan="2"{{!}} {{{poll1_date{{#if:{{{poll1_date2|}}}|2|}}}}}&nbsp;[{{{poll1_source{{#if:{{{poll1_source2|}}}|2|}}}}}]}}
{{#if:{{{poll1_{{#if:{{{poll1_nominee4|}}}|nominee|candidate}}4|}}}|{{!}} align="center" {{!}} {{{poll1_{{#if:{{{poll1_nominee4|}}}|nominee|candidate}}4}}}}}
{{#if:{{{poll1_{{#if:{{{poll1_nominee5|}}}|nominee|candidate}}5|}}}|{{!}} align="center" {{!}} {{{poll1_{{#if:{{{poll1_nominee5|}}}|nominee|candidate}}5}}}}}
{{#if:{{{poll1_{{#if:{{{poll1_nominee6|}}}|nominee|candidate}}6|}}}|{{!}} align="center" {{!}} {{{poll1_{{#if:{{{poll1_nominee6|}}}|nominee|candidate}}6}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll2_{{#if:{{{poll2_nominee4|}}}|nominee|candidate}}4|}}}|
{{!}}colspan="2"{{!}} {{{poll2_date{{#if:{{{poll2_date2|}}}|2|}}}}}&nbsp;[{{{poll2_source{{#if:{{{poll2_source2|}}}|2|}}}}}]}}
{{#if:{{{poll2_{{#if:{{{poll2_nominee4|}}}|nominee|candidate}}4|}}}|
{{!}} align="center" {{!}} {{{poll2_{{#if:{{{poll2_nominee4|}}}|nominee|candidate}}4}}}}}
{{#if:{{{poll2_{{#if:{{{poll2_nominee5|}}}|nominee|candidate}}5|}}}|
{{!}} align="center" {{!}} {{{poll2_{{#if:{{{poll2_nominee5|}}}|nominee|candidate}}5}}}}}
{{#if:{{{poll2_{{#if:{{{poll2_nominee6|}}}|nominee|candidate}}6|}}}|
{{!}} align="center" {{!}} {{{poll2_{{#if:{{{poll2_nominee6|}}}|nominee|candidate}}6}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll3_{{#if:{{{poll3_nominee4|}}}|nominee|candidate}}4|}}}|
{{!}}colspan="2"{{!}} {{{poll3_date{{#if:{{{poll3_date2|}}}|2|}}}}}&nbsp;[{{{poll3_source{{#if:{{{poll3_source2|}}}|2|}}}}}]}}
{{#if:{{{poll3_{{#if:{{{poll3_nominee4|}}}|nominee|candidate}}4|}}}|{{!}} align="center" {{!}} {{{poll3_{{#if:{{{poll3_nominee4|}}}|nominee|candidate}}4}}}}}
{{#if:{{{poll3_{{#if:{{{poll3_nominee5|}}}|nominee|candidate}}5|}}}|{{!}} align="center" {{!}} {{{poll3_{{#if:{{{poll3_nominee5|}}}|nominee|candidate}}5}}}}}
{{#if:{{{poll3_{{#if:{{{poll3_nominee6|}}}|nominee|candidate}}6|}}}|{{!}} align="center" {{!}} {{{poll3_{{#if:{{{poll3_nominee6|}}}|nominee|candidate}}6}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll4_{{#if:{{{poll4_nominee4|}}}|nominee|candidate}}4|}}}| {{!}}colspan="2"{{!}} {{{poll4_date{{#if:{{{poll4_date2|}}}|2|}}}}}&nbsp;[{{{poll4_source{{#if:{{{poll4_source2|}}}|2|}}}}}]}}
{{#if:{{{poll4_{{#if:{{{poll4_nominee4|}}}|nominee|candidate}}4|}}}|{{!}} align="center" {{!}} {{{poll4_{{#if:{{{poll4_nominee4|}}}|nominee|candidate}}4}}}}}
{{#if:{{{poll4_{{#if:{{{poll4_nominee5|}}}|nominee|candidate}}5|}}}|{{!}} align="center" {{!}} {{{poll4_{{#if:{{{poll4_nominee5|}}}|nominee|candidate}}5}}}}}
{{#if:{{{poll4_{{#if:{{{poll4_nominee6|}}}|nominee|candidate}}6|}}}|{{!}} align="center" {{!}} {{{poll4_{{#if:{{{poll4_nominee6|}}}|nominee|candidate}}6}}}}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|presidential|Presidential=
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll5_{{#if:{{{poll5_nominee4|}}}|nominee|candidate}}4|}}}| {{!}}colspan="2"{{!}} {{{poll5_date{{#if:{{{poll5_date2|}}}|2|}}}}}&nbsp;[{{{poll5_source{{#if:{{{poll5_source2|}}}|2|}}}}}]}}
{{#if:{{{poll5_{{#if:{{{poll5_nominee4|}}}|nominee|candidate}}4|}}}|{{!}} align="center" {{!}} {{{poll5_{{#if:{{{poll5_nominee4|}}}|nominee|candidate}}4}}}}}
{{#if:{{{poll5_{{#if:{{{poll5_nominee5|}}}|nominee|candidate}}5|}}}|{{!}} align="center" {{!}} {{{poll5_{{#if:{{{poll5_nominee5|}}}|nominee|candidate}}5}}}}}
{{#if:{{{poll5_{{#if:{{{poll5_nominee6|}}}|nominee|candidate}}6|}}}|{{!}} align="center" {{!}} {{{poll5_{{#if:{{{poll5_nominee6|}}}|nominee|candidate}}6}}}}}
}}
| #default= }}
|-
<!-- seats needed 4, 5, 6 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{seats_needed4|}}}|
{{!}}colspan="2"{{!}} Seats&nbsp;needed
{{!}} align="center" {{!}} {{{seats_needed4}}}
{{#if:{{{seats_needed5|}}}|
{{!}} align="center" {{!}} {{{seats_needed5}}}}}
{{#if:{{{seats_needed6|}}}|
{{!}} align="center" {{!}} {{{seats_needed6}}}}}
}}
}}
| #default= }}
|-
<!-- Legislative poll nominee 4, 5, 6 -->
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll1_party4|}}}|
{{!}} '''Opinion&nbsp;polls'''
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll1_party4|}}}|
{{!}}colspan="2"{{!}}
{{{poll1_date{{#if:{{{poll1_date4|}}}|4|}}}}}&nbsp;[{{{poll1_source{{#if:{{{poll1_source4|}}}|4|}}}}}]
{{!}} align="center" {{!}} {{{poll1_party4}}}
{{#if:{{{poll1_party5|}}}|
{{!}} align="center" {{!}} {{{poll1_party5}}}}}
{{#if:{{{poll1_party6|}}}|
{{!}} align="center" {{!}} {{{poll1_party6}}}}}
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll2_party4|}}}|
{{!}}colspan="2"{{!}} {{{poll2_date{{#if:{{{poll2_date4|}}}|4|}}}}}&nbsp;[{{{poll2_source{{#if:{{{poll2_source4|}}}|4|}}}}}]
{{!}} align="center" {{!}} {{{poll2_party4}}}
{{#if:{{{poll2_party5|}}}|
{{!}} align="center" {{!}} {{{poll2_party5}}}}}
{{#if:{{{poll2_party6|}}}|
{{!}} align="center" {{!}} {{{poll2_party6}}}}}
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll3_party4|}}}|
{{!}}colspan="2"{{!}} {{{poll3_date{{#if:{{{poll3_date4|}}}|4|}}}}}&nbsp;[{{{poll3_source{{#if:{{{poll3_source4|}}}|4|}}}}}]
{{!}} align="center" {{!}} {{{poll3_party4}}}
{{#if:{{{poll3_party5|}}}|
{{!}} align="center" {{!}} {{{poll3_party5}}}}}
{{#if:{{{poll3_party6|}}}|
{{!}} align="center" {{!}} {{{poll3_party6}}}}}
}}
}}
| #default= }}
|-
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll4_party4|}}}|
{{!}}colspan="2"{{!}} {{{poll4_date{{#if:{{{poll4_date4|}}}|4|}}}}}&nbsp;[{{{poll4_source{{#if:{{{poll4_source4|}}}|4|}}}}}]
{{!}} align="center" {{!}} {{{poll4_party4}}}
{{#if:{{{poll4_party5|}}}|
{{!}} align="center" {{!}} {{{poll4_party5}}}}}
{{#if:{{{poll4_party6|}}}|
{{!}} align="center" {{!}} {{{poll4_party6}}}}}
}}
}}
| #default= }}
|-
<!-- Blank field 4, 5, 6 -->
{{#if:{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative={{{party4|}}}}}{{{{{#if:{{{nominee4|}}}|nominee|candidate}}4|}}}|
{{#if:{{{1blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{1blank}}}
{{#if:{{{1data4|}}}|
{{!}} align="center" {{!}} {{{1data4}}}}}
{{#if:{{{1data5|}}}|
{{!}} align="center" {{!}} {{{1data5}}}}}
{{#if:{{{1data6|}}}|
{{!}} align="center" {{!}} {{{1data6}}}}}
}}
{{#if:{{{2blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{2blank}}}
{{#if:{{{2data4|}}}|
{{!}} align="center" {{!}} {{{2data4}}}}}
{{#if:{{{2data5|}}}|
{{!}} align="center" {{!}} {{{2data5}}}}}
{{#if:{{{2data6|}}}|
{{!}} align="center" {{!}} {{{2data6}}}}}
}}
{{#if:{{{3blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{3blank}}}
{{#if:{{{3data4|}}}|
{{!}} align="center" {{!}} {{{3data4}}}}}
{{#if:{{{3data5|}}}|
{{!}} align="center" {{!}} {{{3data5}}}}}
{{#if:{{{3data6|}}}|
{{!}} align="center" {{!}} {{{3data6}}}}}
}}
{{#if:{{{4blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{4blank}}}
{{#if:{{{4data4|}}}|
{{!}} align="center" {{!}} {{{4data4}}}}}
{{#if:{{{4data5|}}}|
{{!}} align="center" {{!}} {{{4data5}}}}}
{{#if:{{{4data6|}}}|
{{!}} align="center" {{!}} {{{4data6}}}}}
}}
{{#if:{{{5blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{5blank}}}
{{#if:{{{5data4|}}}|
{{!}} align="center" {{!}} {{{5data4}}}}}
{{#if:{{{5data5|}}}|
{{!}} align="center" {{!}} {{{5data5}}}}}
{{#if:{{{5data6|}}}|
{{!}} align="center" {{!}} {{{5data6}}}}}
}}
{{#if:{{{6blank|}}}|
{{!}}-
{{!}}colspan="2"{{!}} {{{6blank}}}
{{#if:{{{6data4|}}}|
{{!}} align="center" {{!}} {{{6data4}}}}}
{{#if:{{{6data5|}}}|
{{!}} align="center" {{!}} {{{6data5}}}}}
{{#if:{{{6data6|}}}|
{{!}} align="center" {{!}} {{{6data6}}}}}
}}}}
{{#switch:{{{type|}}}|parliamentary|Parliamentary|legislative|Legislative=
{{#ifeq: {{{ongoing}}} | yes |
{{#if:{{{poll5_party4|}}}|
{{!}}colspan="2"{{!}} {{{poll5_date{{#if:{{{poll5_date4|}}}|4|}}}}}&nbsp;[{{{poll5_source{{#if:{{{poll5_source4|}}}|4|}}}}}]
{{!}} align="center" {{!}} {{{poll5_party4}}}
{{#if:{{{poll5_party5|}}}|
{{!}} align="center" {{!}} {{{poll5_party5}}}}}
{{#if:{{{poll5_party6|}}}|
{{!}} align="center" {{!}} {{{poll5_party6}}}}}
}}
}}
| #default= }}
|-
{{#if: {{{map_image|}}} |
{{!}}colspan="5" style="text-align:center;"{{!}} [[Image:{{{map_image}}}|{{#if: {{{map_size|}}} |{{{map_size}}}|300px}}|{{PAGENAME}}]]<br />
<small>{{{map_caption|}}}</small>
}}
|-
{{!}}colspan=5{{!}}{{#switch: {{{ongoing|}}} | yes= | no=
<div width="50%" style="text-align:left; text-size:80%;background:none; float:left;">'''{{#if:{{{title|}}}|Incumbent {{{title}}}'''<br />{{{before_election}}}<br />{{#if:{{{before_party|}}}|{{#ifeq:{{{party_name}}}|no|{{{before_party}}}|[[{{{before_party}}}|{{Template:{{{before_party}}}/meta/shortname}}]]}}}}}}</div>
<div width="50%" style="text-align:right; text-size:80%;background:none; float:right;">'''{{#if: {{{title|}}}|{{#if: {{{posttitle|}}}|{{{posttitle}}}|{{{title}}}-elect}}'''<br />{{#if:{{{after_election|}}}|{{{after_election}}}|}}<br />{{#if:{{{after_party|}}}|{{#ifeq:{{{party_name}}}|no|{{{after_party}}}|[[{{{after_party}}}|{{Template:{{{after_party}}}/meta/shortname}}]]}}|}}}}</div>
}}
{{#if:{{{title|}}}|
|}<noinclude>{{doc}}<!-- Add categories and interwikis to the /doc subpage, not here! -->
{{!}} colspan=4 style="text-align:center" {{!}} <hr />
</noinclude>
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{!}} style="width:50%; text-align:left; text-size: 80%" {{!}}'''{{#if:{{{before_election|}}}{{{before_party|}}}|{{#ifeq:{{{type}}}|primary|Previous {{{title}}}|{{#ifeq:{{{ongoing|}}}|yes|Incumbent {{#ifeq:{{{title}}}|U.S. Senator|[[List of United States Senators from {{{country}}}|{{{title}}}]]|{{{title}}}}}|{{#ifeq:{{{title}}}|U.S. Senator|[[List of United States Senators from {{{country}}}|{{{title}}}]]|{{{title}}}}} before election}}}}'''<br />
{{{before_election}}}<br />
{{#if:{{{before_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{before_party}}}}} }} }}
{{!}} style="width:50%; text-align:right; text-size: 80%" {{!}} {{#ifeq:{{{ongoing|}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|'''Presumptive {{#if:{{{posttitle|}}}|{{{posttitle}}}|{{{title}}}'''}}|}}|}} |'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|{{#ifeq:{{{type}}}|primary||Elected}} {{{title}}}}}'''}} <br />
{{#ifeq:{{{ongoing|}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|{{{after_election}}}|}}}}}}
{{#ifeq:{{{ongoing|}}}|no|{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}||TBD}}<br />
{{#if:{{{after_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{after_party}}}}}}} }}
{{!}}} }}
|- style="line-height:120%"
{{#if:{{{template_name|}}}|{{!}} colspan=4 style="text-align:right" {{!}} {{navbar|{{{template_name}}}|mini=2}} }}
|}</includeonly><noinclude>{{Documentation}}<!-- Add categories to the /doc subpage, not here! --></noinclude>
"https://ml.wikipedia.org/wiki/ഫലകം:Infobox_Election" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്