வார்ப்புரு:Infobox election/row
&lt;includeonly&gt;|-
 {{#if:{{{divider|}}}|{{#if:{{{party1|}}}{{{color1|}}}{{{leader1|}}}{{{party2|}}}{{{color2|}}}{{{leader2|}}}{{{party3|}}}{{{color3|}}}{{{leader3|}}}|{{!}} colspan=4 {{!}} {{{divider}}} }} }}
 |- style=&quot;display:none&quot;
 {{#ifeq:{{{ongoing|}}}|yes||{{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = {{#if:{{{party1|}}}{{{party2|}}}{{{party3|}}}|
 ! style=&quot;text-align:left;&quot; {{!}} &amp;nbsp;
 ! style=&quot;text-align:center&quot; {{!}} {{#if:{{{party1|}}}| {{{header1|}}} }}
 ! style=&quot;text-align:center&quot; {{!}} {{#if:{{{party2|}}}| {{{header2|}}} }}
 {{#if:{{{col3|}}}|! style=&quot;text-align:center&quot; {{!}} {{#if:{{{party3|}}}| {{{header3|}}} }}}}
 }}
 | #default      = 
 }}}}
 |-
 {{#if:{{{party1|}}}{{{color1|}}}{{{image1|}}}{{{party2|}}}{{{color2|}}}{{{image2|}}}{{{party3|}}}{{{color3|}}}{{{image3|}}}|&lt;!-- Images  --&gt;
 {{!}} &amp;nbsp;
 {{!}} style=&quot;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 {{Template:{{{party1}}}/meta/color}} }}}}}}}}&quot; {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|size={{if empty|{{{image1_size|}}}|{{{image_size|}}}}}|upright={{if empty|{{{image1_upright|}}}|{{{image_upright|}}}|{{#if:{{both|{{{col3|}}}|{{{image3|}}}}}|0.5|0.75}}}}|suppressplaceholder=yes}}
 {{!}} style=&quot;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 {{Template:{{{party2}}}/meta/color}} }}}}}}}}&quot;{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{if empty|{{{image2_size|}}}|{{{image_size|}}}}}|upright={{if empty|{{{image2_upright|}}}|{{{image_upright|}}}|{{#if:{{both|{{{col3|}}}|{{{image3|}}}}}|0.5|0.75}}}}|suppressplaceholder=yes}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;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 {{Template:{{{party3}}}/meta/color}} }}}}}}}}&quot;{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|size={{if empty|{{{image3_size|}}}|{{{image_size|}}}}}|upright={{if empty|{{{image3_upright|}}}|{{{image_upright|}}}|0.5}}|suppressplaceholder=yes}}}}
 }}
 |-
 {{#if:{{{nominee1|}}}{{{nominee2|}}}{{{nominee3|}}}|&lt;!-- Presidential &amp; by-election nominee  --&gt;
 {{#switch:{{{type|}}}
 | primary
 | Primary
 | presidential
 | Presidential 
 | by-election
 | By-election   = 
 ! style=&quot;width:75px;text-align:left&quot; {{!}}வேட்பாளர்
 {{!}} style=&quot;{{#if:{{{nominee1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{nominee1|}}}
 {{!}} style=&quot;{{#if:{{{nominee2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{nominee2|}}}
 {{!}} style=&quot;{{#if:{{{nominee3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{nominee3|}}}
 | #default      = 
 }}|{{#if:{{{candidate1|}}}{{{candidate2|}}}{{{candidate3|}}}|&lt;!-- Candidate  --&gt;
 ! style=&quot;width:75px;text-align:left&quot; {{!}}வேட்பாளர்
 {{!}} style=&quot;{{#if:{{{candidate1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{candidate1|}}}
 {{!}} style=&quot;{{#if:{{{candidate2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{candidate2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{candidate3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{candidate3|}}}}}
 }}
 }}
 |-&lt;!-- Party leader  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | நாடாளுமன்றம்
 | legislative
 | சட்டமன்றம்   = 
 {{#if:{{{leader1|}}}{{{leader2|}}}{{{leader3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} தலைவர்
 {{!}} style=&quot;{{#if:{{{leader1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leader1|}}}
 {{!}} style=&quot;{{#if:{{{leader2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leader2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{leader3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leader3|}}}}}
 }}
 | #default      = 
 }}
 |-
 {{#if:{{{party1|}}}{{{party2|}}}{{{party3|}}}|&lt;!-- Party name  --&gt;
 ! style=&quot;width:75px;text-align:left&quot; {{!}} கட்சி
 {{!}} style=&quot;{{#if:{{{party1|}}}|width:75px;}}text-align:center&quot; {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party1|}}}}}
 {{!}} style=&quot;{{#if:{{{party2|}}}|width:75px;}}text-align:center&quot; {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party2|}}}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{party3|}}}|width:75px;}}text-align:center&quot; {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party3|}}}}}}}
 }}
 |-
 {{#if:{{{alliance1|}}}{{{alliance2|}}}{{{alliance3|}}}|&lt;!-- Alliance name  --&gt;
 ! style=&quot;text-align:left&quot; {{!}} கூட்டணி
 {{!}} style=&quot;{{#if:{{{alliance1|}}}|width:75px;}}text-align:center&quot; {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance1|}}}}}
 {{!}} style=&quot;{{#if:{{{alliance2|}}}|width:75px;}}text-align:center&quot; {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance2|}}}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{alliance3|}}}|width:75px;}}text-align:center&quot; {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance3|}}}}}}}
 }}
 |-&lt;!-- Home state  --&gt;
 {{#if:{{{home_state1|}}}{{{home_state2|}}}{{{home_state3|}}}|
 {{#switch:{{{type|}}}
 | primary
 | Primary
 | presidential
 | Presidential = 
 ! style=&quot;text-align:left&quot; {{!}} சொந்த&amp;nbsp;மாநிலம்
 {{!}} style=&quot;{{#if:{{{home_state1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{home_state1|}}}
 {{!}} style=&quot;{{#if:{{{home_state2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{home_state2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{home_state3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{home_state3|}}}}}
 | #default      = 
 }}
 }}
 |-&lt;!-- Running mate  --&gt;
 {{#switch:{{{type|}}}
 | presidential
 | Presidential = 
 {{#if:{{{running_mate1|}}}{{{running_mate2|}}}{{{running_mate3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} துணை&amp;nbsp;வேட்பாளர்
 {{!}} style=&quot;{{#if:{{{running_mate1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{running_mate1|}}}
 {{!}} style=&quot;{{#if:{{{running_mate2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{running_mate2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{running_mate3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{running_mate3|}}}}}
 }}
 | #default      = 
 }}
 |-&lt;!-- Electoral vote  --&gt;
 {{#switch:{{{type|}}}
 | presidential
 | Presidential = 
 {{#ifeq:{{{ongoing|}}}|yes||
 {{#if:{{{electoral_vote1|}}}{{{electoral_vote2|}}}{{{electoral_vote3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} {{#ifeq:{{{college_voted|}}}|no|எதிர்பார்க்கப்படும்}}&lt;br/&gt;தேர்வு&amp;nbsp;வாக்குகள்
 {{!}} style=&quot;{{#if:{{{electoral_vote1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{electoral_vote1|}}}
 {{!}} style=&quot;{{#if:{{{electoral_vote2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{electoral_vote2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{electoral_vote3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{electoral_vote3|}}}}}
 }}
 }}
 | #default      = 
 }}
 |-&lt;!-- Delegate count  --&gt;
 {{#switch:{{{type|}}}
 | primary
 | Primary
 | presidential
 | Presidential = 
 {{#if:{{{delegate_count1|}}}{{{delegate_count2|}}}{{{delegate_count3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} {{#ifeq:{{{ongoing|}}}|yes|Estimated delegate|Delegate}}&amp;nbsp;count
 {{!}} style=&quot;{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{delegate_count1|}}}
 {{!}} style=&quot;{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{delegate_count2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{delegate_count3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{delegate_count3|}}}}}
 }}
 | #default      = 
 }}
 |-&lt;!-- States carried  --&gt;
 {{#switch:{{{type|}}}
 | primary
 | Primary = 
 {{#if:{{{states_carried1|}}}{{{states_carried2|}}}{{{states_carried3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} வென்ற&amp;nbsp;மாநிலங்கள்
 {{!}} style=&quot;{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{states_carried1|}}}
 {{!}} style=&quot;{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{states_carried2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{states_carried3|}}}}}
 }}
 | presidential
 | Presidential = 
 {{#ifeq:{{{ongoing|}}}|yes||
 {{#if:{{{states_carried1|}}}{{{states_carried2|}}}{{{states_carried3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} வென்ற&amp;nbsp;மாநிலங்கள்
 {{!}} style=&quot;{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{states_carried1|}}}
 {{!}} style=&quot;{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{states_carried2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{states_carried3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{states_carried3|}}}}}
 }}
 }}
 | #default      = 
 }}
 |-&lt;!-- Leader since  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | நாடாளுமன்றம்
 | legislative
 | சட்டமன்றம் = 
 {{#if:{{{leader_since1|}}}{{{leader_since2|}}}{{{leader_since3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} தலைவரான&lt;br&gt;ஆண்டு
 {{!}} style=&quot;{{#if:{{{leader_since1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leader_since1|}}}
 {{!}} style=&quot;{{#if:{{{leader_since2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leader_since2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{leader_since3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leader_since3|}}}}}
 }}
 | #default      = 
 }}
 |-&lt;!-- Leader seat  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#if:{{{leaders_seat1|}}}{{{leaders_seat2|}}}{{{leaders_seat3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} தலைவர்&lt;br&gt;போட்டியிட்ட&lt;br&gt;தொகுதி
 {{!}} style=&quot;{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leaders_seat1|}}}
 {{!}} style=&quot;{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leaders_seat2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{leaders_seat3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{leaders_seat3|}}}}}
 }}
 | #default      = 
 }}
 |-&lt;!-- last election  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#if:{{{last_election1|}}}{{{last_election2|}}}{{{last_election3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} முந்தைய&lt;br&gt;தேர்தல்
 {{!}} style=&quot;{{#if:{{{last_election1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{last_election1|}}}
 {{!}} style=&quot;{{#if:{{{last_election2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{last_election2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{last_election3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{last_election3|}}}}}
 }}
 | #default      = 
 }}
 |-&lt;!-- seats before  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#if:{{{seats_before1|}}}{{{seats_before2|}}}{{{seats_before3|}}}|
 ! style=&quot;text-align:left&quot; {{!}}  {{#ifeq:{{{ongoing|}}}|yes|தற்போதுள்ள&lt;br&gt;தொகுதிகள்|முன்பிருந்த&amp;nbsp;தொகுதிகள்}}
 {{!}} style=&quot;{{#if:{{{seats_before1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_before1|}}}
 {{!}} style=&quot;{{#if:{{{seats_before2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_before2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{seats_before3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_before3|}}}}}
 }}
 | #default      = 
 }}
 |-&lt;!-- seats needed  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{seats_needed1|}}}{{{seats_needed2|}}}{{{seats_needed3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} தேவைப்படும்&lt;br&gt;தொகுதிகள்
 {{!}} style=&quot;{{#if:{{{seats_needed1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_needed1|}}}
 {{!}} style=&quot;{{#if:{{{seats_needed2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_needed2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{seats_needed3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_needed3|}}}}}
 }}
 }}
 | #default      = 
 }}
 |-&lt;!-- seats  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes||
 {{#if:{{{seats1|}}}{{{seats2|}}}{{{seats3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} வென்ற&lt;br&gt;தொகுதிகள்
 {{!}} style=&quot;{{#if:{{{seats1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats1|}}}
 {{!}} style=&quot;{{#if:{{{seats2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{seats3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats3|}}}}}
 }}
 }}
 | #default      = 
 }}
 |-&lt;!-- seats after  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes||
 {{#if:{{{seats_after1|}}}{{{seats_after2|}}}{{{seats_after3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} வென்ற &amp;nbsp;தொகுதிகள்
 {{!}} style=&quot;{{#if:{{{seats_after1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_after1|}}}
 {{!}} style=&quot;{{#if:{{{seats_after2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_after2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{seats_after3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seats_after3|}}}}}
 }}
 }}
 | #default      = 
 }}
 |-&lt;!-- seat change  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes||
 {{#if:{{{seat_change1|}}}{{{seat_change2|}}}{{{seat_change3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} மாற்றம்
 {{!}} style=&quot;{{#if:{{{seat_change1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seat_change1|}}}
 {{!}} style=&quot;{{#if:{{{seat_change2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seat_change2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{seat_change3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{seat_change3|}}}}}
 }}
 }}
 | #default      = 
 }}
 |-&lt;!-- popular vote  --&gt;
 {{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
 {{#if:{{{popular_vote1|}}}{{{popular_vote2|}}}{{{popular_vote3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} மொத்த&amp;nbsp;வாக்குகள்
 {{!}} style=&quot;{{#if:{{{popular_vote1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{popular_vote1|}}}
 {{!}} style=&quot;{{#if:{{{popular_vote2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{popular_vote2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{popular_vote3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{popular_vote3|}}}}}
 }}
 }}
 |-&lt;!-- percentage  --&gt;
 {{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
 {{#if:{{{percentage1|}}}{{{percentage2|}}}{{{percentage3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} விழுக்காடு
 {{!}} style=&quot;{{#if:{{{percentage1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{percentage1|}}}
 {{!}} style=&quot;{{#if:{{{percentage2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{percentage2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{percentage3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{percentage3|}}}}}
 }}
 }}
 |-&lt;!-- Counties won --&gt;
 {{#switch:{{{type|}}}
 | primary
 | Primary
 | presidential
 | Presidential = 
 {{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
 {{#if:{{{counties_won1|}}}{{{counties_won2|}}}{{{counties_won3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} வென்ற&amp;nbsp;மாவட்டங்கள்
 {{!}} style=&quot;{{#if:{{{counties_won1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{counties_won1|}}}
 {{!}} style=&quot;{{#if:{{{counties_won2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{counties_won2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{counties_won3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{counties_won3|}}}}}
 }}
 }}
 | #default      = 
 }}
 |-&lt;!-- Counties 25% threshold --&gt;
 {{#switch:{{{type|}}}
 | primary
 | Primary
 | presidential
 | Presidential = 
 {{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
 {{#if:{{{counties_threshold1|}}}{{{counties_threshold2|}}}{{{counties_threshold3|}}}|
 ! style=&quot;text-align:left&quot; {{!}} Counties&amp;nbsp;with&amp;nbsp;25%&amp;nbsp;vote
 {{!}} style=&quot;{{#if:{{{counties_threshold1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{counties_threshold1|}}}
 {{!}} style=&quot;{{#if:{{{counties_threshold2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{counties_threshold2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{counties_threshold3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{counties_threshold3|}}}}}
 }}
 }}
 | #default      = 
 }}
 |-&lt;!-- swing  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes||
 {{#if:{{{swing1|}}}|
 ! style=&quot;text-align:left&quot; {{!}} மாற்றம்
 {{!}} style=&quot;width:75px;text-align:center&quot; {{!}} {{{swing1}}}
 {{!}} style=&quot;{{#if:{{{swing2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{swing2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{swing3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{swing3|}}}}}
 }}
 }}
 | #default      = 
 }}
 {{#if:{{{opinion_polls|}}}||
 {{!-}}&lt;!-- Presidential poll nominee  --&gt;
 {{#switch:{{{type|}}}
 | presidential
 | Presidential = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll1_person1|}}}{{{poll1_person2|}}}{{{poll1_person3|}}}|
 ! colspan=4 {{!}} கருத்துக்&amp;nbsp;கணிப்புகள்
 }}
 }}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | presidential
 | Presidential = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll1_person1|}}}{{{poll1_person2|}}}{{{poll1_person3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll1_date|}}}{{#if:{{{poll1_source|}}}| [{{{poll1_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll1_person1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll1_person1|}}}
 {{!}} style=&quot;{{#if:{{{poll1_person2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll1_person2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll1_person3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll1_person3|}}}}}
 }}}}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | presidential
 | Presidential = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll2_person1|}}}{{{poll2_person2|}}}{{{poll2_person3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll2_date|}}}{{#if:{{{poll2_source|}}}| [{{{poll2_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll2_person1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll2_person1|}}}
 {{!}} style=&quot;{{#if:{{{poll2_person2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll2_person2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll2_person3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll2_person3|}}}}}
 }}}}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | presidential
 | Presidential = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll3_person1|}}}{{{poll3_person2|}}}{{{poll3_person3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll3_date|}}}{{#if:{{{poll3_source|}}}| [{{{poll3_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll3_person1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll3_person1|}}}
 {{!}} style=&quot;{{#if:{{{poll3_person2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll3_person2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll3_person3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll3_person3|}}}}}
 }}}}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | presidential
 | Presidential = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll4_person1|}}}{{{poll4_person2|}}}{{{poll4_person3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll4_date|}}}{{#if:{{{poll4_source|}}}| [{{{poll4_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll4_person1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll4_person1|}}}
 {{!}} style=&quot;{{#if:{{{poll4_person2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll4_person2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll4_person3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll4_person3|}}}}}
 }}}}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | presidential
 | Presidential = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll5_person1|}}}{{{poll5_person2|}}}{{{poll5_person3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll5_date|}}}{{#if:{{{poll5_source|}}}| [{{{poll5_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll5_person1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll5_person1|}}}
 {{!}} style=&quot;{{#if:{{{poll5_person2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll5_person2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll5_person3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll5_person3|}}}}}
 }}}}
 | #default      = 
 }}
 {{!-}}&lt;!-- Legislative poll nominee  --&gt;
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll1_party1|}}}{{{poll1_party2|}}}{{{poll1_party3|}}}|
 ! colspan=4 {{!}} Opinion&amp;nbsp;polls
 }}
 }}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll1_party1|}}}{{{poll1_party2|}}}{{{poll1_party3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll1_date|}}}{{#if:{{{poll1_source|}}}| [{{{poll1_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll1_party1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll1_party1|}}}
 {{!}} style=&quot;{{#if:{{{poll1_party2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll1_party2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll1_party3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll1_party3|}}}}}
 }}
 }}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll2_party1|}}}{{{poll2_party2|}}}{{{poll2_party3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll2_date|}}}{{#if:{{{poll2_source|}}}| [{{{poll2_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll2_party1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll2_party1|}}}
 {{!}} style=&quot;{{#if:{{{poll2_party2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll2_party2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll2_party3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll2_party3|}}}}}
 }}
 }}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll3_party1|}}}{{{poll3_party2|}}}{{{poll3_party3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll3_date|}}}{{#if:{{{poll3_source|}}}| [{{{poll3_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll3_party1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll3_party1|}}}
 {{!}} style=&quot;{{#if:{{{poll3_party2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll3_party2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll3_party3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll3_party3|}}}}}
 }}
 }}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   = 
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll4_party1|}}}{{{poll4_party2|}}}{{{poll4_party3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll4_date|}}}{{#if:{{{poll4_source|}}}| [{{{poll4_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll4_party1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll4_party1|}}}
 {{!}} style=&quot;{{#if:{{{poll4_party2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll4_party2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll4_party3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll4_party3|}}}}}
 }}
 }}
 | #default      = 
 }}
 {{!-}}
 {{#switch:{{{type|}}}
 | parliamentary
 | Parliamentary
 | legislative
 | Legislative   =
 {{#ifeq:{{{ongoing|}}}|yes|
 {{#if:{{{poll5_party1|}}}{{{poll5_party2|}}}{{{poll5_party3|}}}|
 ! style=&quot;text-align:left; white-space: nowrap&quot; {{!}} {{{poll5_date|}}}{{#if:{{{poll5_source|}}}| [{{{poll5_source|}}}]}}
 {{!}} style=&quot;{{#if:{{{poll5_party1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll5_party1|}}}
 {{!}} style=&quot;{{#if:{{{poll5_party2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll5_party2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{poll5_party3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{poll5_party3|}}}}}
 }}
 }}
 | #default      = 
 }}}}
 |-&lt;!-- Blank field  --&gt;
 {{#if:{{#if:{{{1blank|}}}|{{{1data1|}}}{{{1data2|}}}{{{1data3|}}}}}|
 ! style=&quot;text-align:left&quot; {{!}} {{{1blank}}}
 {{!}} style=&quot;{{#if:{{{1data1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{1data1|}}}
 {{!}} style=&quot;{{#if:{{{1data2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{1data2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{1data3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{1data3|}}}}}
 }}
 |-
 {{#if:{{#if:{{{2blank|}}}|{{{2data1|}}}{{{2data2|}}}{{{2data3|}}}}}|
 ! style=&quot;text-align:left&quot; {{!}} {{{2blank}}}
 {{!}} style=&quot;{{#if:{{{2data1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{2data1|}}}
 {{!}} style=&quot;{{#if:{{{2data2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{2data2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{2data3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{2data3|}}}}}
 }}
 |-
 {{#if:{{#if:{{{3blank|}}}|{{{3data1|}}}{{{3data2|}}}{{{3data3|}}}}}|
 ! style=&quot;text-align:left&quot; {{!}} {{{3blank}}}
 {{!}} style=&quot;{{#if:{{{3data1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{3data1|}}}
 {{!}} style=&quot;{{#if:{{{3data2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{3data2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{3data3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{3data3|}}}}}
 }}
 |-
 {{#if:{{#if:{{{4blank|}}}|{{{4data1|}}}{{{4data2|}}}{{{4data3|}}}}}|
 ! style=&quot;text-align:left&quot; {{!}} {{{4blank}}}
 {{!}} style=&quot;{{#if:{{{4data1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{4data1|}}}
 {{!}} style=&quot;{{#if:{{{4data2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{4data2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{4data3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{4data3|}}}}}
 }}
 |-
 {{#if:{{#if:{{{5blank|}}}|{{{5data1|}}}{{{5data2|}}}{{{5data3|}}}}}|
 ! style=&quot;text-align:left&quot; {{!}} {{{5blank}}}
 {{!}} style=&quot;{{#if:{{{5data1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{5data1|}}}
 {{!}} style=&quot;{{#if:{{{5data2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{5data2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{5data3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{5data3|}}}}}
 }}
 |-
 {{#if:{{#if:{{{6blank|}}}|{{{6data1|}}}{{{6data2|}}}{{{6data3|}}}}}|
 ! style=&quot;text-align:left&quot; {{!}} {{{6blank}}}
 {{!}} style=&quot;{{#if:{{{6data1|}}}|width:75px;}}text-align:center&quot; {{!}} {{{6data1|}}}
 {{!}} style=&quot;{{#if:{{{6data2|}}}|width:75px;}}text-align:center&quot; {{!}} {{{6data2|}}}
 {{#if:{{{col3|}}}|{{!}} style=&quot;{{#if:{{{6data3|}}}|width:75px;}}text-align:center&quot; {{!}} {{{6data3|}}}}}
 }}&lt;/includeonly&gt;&lt;noinclude&gt;
 {{documentation|content=
 This is a subtemplate of [[template:infobox election]] used to generate the candidate block rows.  It should not be used directly.