Template:Infobox legislative election

{{infobox
 * child    = {{{child|{{{embed|}}}}}}
 * bodyclass = {{#if:{{{election_date|}}}|vevent|}}
 * bodystyle = line-height: 1.5em; max-width: 32em; min-width:22em; width:auto;
 * title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}| {{{election_name}}} }}|{{{election_name|}}}}}

|{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%; | left = {{{previous_election|}}} | center = {{#if:{{{election_date|}}}|{{{election_date}}}}} | right = {{{next_election|}}} }} |{{#if:{{{election_date|}}}|{{{election_date}}}}} }}
 * subheaderstyle = line-height:130%;
 * subheader1 = {{#if:{{{country|}}}|{{flagicon|{{{country}}}|variant={{{flag_year|}}}|size=50px}}}}
 * subheader2 = {{#if:{{{previous_election|}}}{{{next_election|}}}

{{{majority_seats}}} seats needed for a majority}}}}
 * headerstyle = font-weight:normal;
 * header1 = {{#if:{{{seats_for_election|}}}| {{{seats_for_election}}}{{#if:{{{majority_seats|}}}|


 * datastyle = text-align:center;
 * labelstyle = width:5em;white-space:nowrap;


 * label2 = Turnout
 * data2 = {{{turnout|}}}


 * label3 = Reporting
 * data3 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}as of {{{last_update}}} {{{time_zone}}} }}

{{(!}} class="wikitable" style="width: 100%; margin:0;" {{!-}} class="nowrap" ! Party ! Leader {{#switch:{{{ongoing|}}}|counting|yes= {{#ifeq:{{{first_election|}}}|yes||! {{#ifeq:{{{ongoing|}}}|counting|Seats before|Current seats}}}} ! % ! Seats {{#ifeq:{{{first_election|}}}|yes||! ± }} }} {{!-}} {{Alternating rows table section|es=background: #f2f2f2; | heading       = {{{heading1|}}} | party          = {{{party1|}}} | party_leader   = {{If empty|{{{party_leader1|}}}|{{{leader1|}}}}} | colour         = {{If empty|{{{colour1|}}}|{{{color1|}}}}} | percentage     = {{{percentage1|}}} | seats          = {{{seats1|}}} | seats_before   = {{If empty|{{{seats1_before|}}}|{{{last_election1|}}}}} | ongoing        = {{{ongoing|}}} | first_election = {{{first_election|}}} }} | heading        = {{{heading2|}}} | party          = {{{party2|}}} | party_leader  = {{If empty|{{{party_leader2|}}}|{{{leader2|}}}}} | colour        = {{If empty|{{{colour2|}}}|{{{color2|}}}}} | percentage    = {{{percentage2|}}} | seats         = {{{seats2|}}} | seats_before  = {{If empty|{{{seats2_before|}}}|{{{last_election2|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }} | heading       = {{{heading3|}}} | party         = {{{party3|}}} | party_leader  = {{If empty|{{{party_leader3|}}}|{{{leader3|}}}}} | colour        = {{If empty|{{{colour3|}}}|{{{color3|}}}}} | percentage    = {{{percentage3|}}} | seats         = {{{seats3|}}} | seats_before  = {{If empty|{{{seats3_before|}}}|{{{last_election3|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading4|}}} | party         = {{{party4|}}} | party_leader  = {{If empty|{{{party_leader4|}}}|{{{leader4|}}}}} | colour        = {{If empty|{{{colour4|}}}|{{{color4|}}}}} | percentage    = {{{percentage4|}}} | seats         = {{{seats4|}}} | seats_before  = {{If empty|{{{seats4_before|}}}|{{{last_election4|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading5|}}} | party         = {{{party5|}}} | party_leader  = {{If empty|{{{party_leader5|}}}|{{{leader5|}}}}} | colour        = {{If empty|{{{colour5|}}}|{{{color5|}}}}} | percentage    = {{{percentage5|}}} | seats         = {{{seats5|}}} | seats_before  = {{If empty|{{{seats5_before|}}}|{{{last_election5|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading6|}}} | party         = {{{party6|}}} | party_leader  = {{If empty|{{{party_leader6|}}}|{{{leader6|}}}}} | colour        = {{If empty|{{{colour6|}}}|{{{color6|}}}}} | percentage    = {{{percentage6|}}} | seats         = {{{seats6|}}} | seats_before  = {{If empty|{{{seats6_before|}}}|{{{last_election6|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading7|}}} | party         = {{{party7|}}} | party_leader  = {{If empty|{{{party_leader7|}}}|{{{leader7|}}}}} | colour        = {{If empty|{{{colour7|}}}|{{{color7|}}}}} | percentage    = {{{percentage7|}}} | seats         = {{{seats7|}}} | seats_before  = {{If empty|{{{seats7_before|}}}|{{{last_election7|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading8|}}} | party         = {{{party8|}}} | party_leader  = {{If empty|{{{party_leader8|}}}|{{{leader8|}}}}} | colour        = {{If empty|{{{colour8|}}}|{{{color8|}}}}} | percentage    = {{{percentage8|}}} | seats         = {{{seats8|}}} | seats_before  = {{If empty|{{{seats8_before|}}}|{{{last_election8|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading9|}}} | party         = {{{party9|}}} | party_leader  = {{If empty|{{{party_leader9|}}}|{{{leader9|}}}}} | colour        = {{If empty|{{{colour9|}}}|{{{color9|}}}}} | percentage    = {{{percentage9|}}} | seats         = {{{seats9|}}} | seats_before  = {{If empty|{{{seats9_before|}}}|{{{last_election9|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading10|}}} | party         = {{{party10|}}} | party_leader  = {{If empty|{{{party_leader10|}}}|{{{leader10|}}}}} | colour        = {{If empty|{{{colour10|}}}|{{{color10|}}}}} | percentage    = {{{percentage10|}}} | seats         = {{{seats10|}}} | seats_before  = {{If empty|{{{seats10_before|}}}|{{{last_election10|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading11|}}} | party         = {{{party11|}}} | party_leader  = {{If empty|{{{party_leader11|}}}|{{{leader11|}}}}} | colour        = {{If empty|{{{colour11|}}}|{{{color11|}}}}} | percentage    = {{{percentage11|}}} | seats         = {{{seats11|}}} | seats_before  = {{If empty|{{{seats11_before|}}}|{{{last_election11|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading12|}}} | party         = {{{party12|}}} | party_leader  = {{If empty|{{{party_leader12|}}}|{{{leader12|}}}}} | colour        = {{If empty|{{{colour12|}}}|{{{color12|}}}}} | percentage    = {{{percentage12|}}} | seats         = {{{seats12|}}} | seats_before  = {{If empty|{{{seats12_before|}}}|{{{last_election12|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading13|}}} | party         = {{{party13|}}} | party_leader  = {{If empty|{{{party_leader13|}}}|{{{leader13|}}}}} | colour        = {{If empty|{{{colour13|}}}|{{{color13|}}}}} | percentage    = {{{percentage13|}}} | seats         = {{{seats13|}}} | seats_before  = {{If empty|{{{seats13_before|}}}|{{{last_election13|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading14|}}} | party         = {{{party14|}}} | party_leader  = {{If empty|{{{party_leader14|}}}|{{{leader14|}}}}} | colour        = {{If empty|{{{colour14|}}}|{{{color14|}}}}} | percentage    = {{{percentage14|}}} | seats         = {{{seats14|}}} | seats_before  = {{If empty|{{{seats14_before|}}}|{{{last_election14|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading15|}}} | party         = {{{party15|}}} | party_leader  = {{If empty|{{{party_leader15|}}}|{{{leader15|}}}}} | colour        = {{If empty|{{{colour15|}}}|{{{color15|}}}}} | percentage    = {{{percentage15|}}} | seats         = {{{seats15|}}} | seats_before  = {{If empty|{{{seats15_before|}}}|{{{last_election15|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading16|}}} | party         = {{{party16|}}} | party_leader  = {{If empty|{{{party_leader16|}}}|{{{leader16|}}}}} | colour        = {{If empty|{{{colour16|}}}|{{{color16|}}}}} | percentage    = {{{percentage16|}}} | seats         = {{{seats16|}}} | seats_before  = {{If empty|{{{seats16_before|}}}|{{{last_election16|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading17|}}} | party         = {{{party17|}}} | party_leader  = {{If empty|{{{party_leader17|}}}|{{{leader17|}}}}} | colour        = {{If empty|{{{colour17|}}}|{{{color17|}}}}} | percentage    = {{{percentage17|}}} | seats         = {{{seats17|}}} | seats_before  = {{If empty|{{{seats17_before|}}}|{{{last_election17|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading18|}}} | party         = {{{party18|}}} | party_leader  = {{If empty|{{{party_leader18|}}}|{{{leader18|}}}}} | colour        = {{If empty|{{{colour18|}}}|{{{color18|}}}}} | percentage    = {{{percentage18|}}} | seats         = {{{seats18|}}} | seats_before  = {{If empty|{{{seats18_before|}}}|{{{last_election18|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading19|}}} | party         = {{{party19|}}} | party_leader  = {{If empty|{{{party_leader19|}}}|{{{leader19|}}}}} | colour        = {{If empty|{{{colour19|}}}|{{{color19|}}}}} | percentage    = {{{percentage19|}}} | seats         = {{{seats19|}}} | seats_before  = {{If empty|{{{seats19_before|}}}|{{{last_election19|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading20|}}} | party         = {{{party20|}}} | party_leader  = {{If empty|{{{party_leader20|}}}|{{{leader20|}}}}} | colour        = {{If empty|{{{colour20|}}}|{{{color20|}}}}} | percentage    = {{{percentage20|}}} | seats         = {{{seats20|}}} | seats_before  = {{If empty|{{{seats20_before|}}}|{{{last_election20|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading21|}}} | party         = {{{party21|}}} | party_leader  = {{If empty|{{{party_leader21|}}}|{{{leader21|}}}}} | colour        = {{If empty|{{{colour21|}}}|{{{color21|}}}}} | percentage    = {{{percentage21|}}} | seats         = {{{seats21|}}} | seats_before  = {{If empty|{{{seats21_before|}}}|{{{last_election21|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading22|}}} | party         = {{{party22|}}} | party_leader  = {{If empty|{{{party_leader22|}}}|{{{leader22|}}}}} | colour        = {{If empty|{{{colour22|}}}|{{{color22|}}}}} | percentage    = {{{percentage22|}}} | seats         = {{{seats22|}}} | seats_before  = {{If empty|{{{seats22_before|}}}|{{{last_election22|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading23|}}} | party         = {{{party23|}}} | party_leader  = {{If empty|{{{party_leader23|}}}|{{{leader23|}}}}} | colour        = {{If empty|{{{colour23|}}}|{{{color23|}}}}} | percentage    = {{{percentage23|}}} | seats         = {{{seats23|}}} | seats_before  = {{If empty|{{{seats23_before|}}}|{{{last_election23|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading24|}}} | party         = {{{party24|}}} | party_leader  = {{If empty|{{{party_leader24|}}}|{{{leader24|}}}}} | colour        = {{If empty|{{{colour24|}}}|{{{color24|}}}}} | percentage    = {{{percentage24|}}} | seats         = {{{seats24|}}} | seats_before  = {{If empty|{{{seats24_before|}}}|{{{last_election24|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading25|}}} | party         = {{{party25|}}} | party_leader  = {{If empty|{{{party_leader25|}}}|{{{leader25|}}}}} | colour        = {{If empty|{{{colour25|}}}|{{{color25|}}}}} | percentage    = {{{percentage25|}}} | seats         = {{{seats25|}}} | seats_before  = {{If empty|{{{seats25_before|}}}|{{{last_election25|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading26|}}} | party         = {{{party26|}}} | party_leader  = {{If empty|{{{party_leader26|}}}|{{{leader26|}}}}} | colour        = {{If empty|{{{colour26|}}}|{{{color26|}}}}} | percentage    = {{{percentage26|}}} | seats         = {{{seats26|}}} | seats_before  = {{If empty|{{{seats26_before|}}}|{{{last_election26|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading27|}}} | party         = {{{party27|}}} | party_leader  = {{If empty|{{{party_leader27|}}}|{{{leader27|}}}}} | colour        = {{If empty|{{{colour27|}}}|{{{color27|}}}}} | percentage    = {{{percentage27|}}} | seats         = {{{seats27|}}} | seats_before  = {{If empty|{{{seats27_before|}}}|{{{last_election27|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading28|}}} | party         = {{{party28|}}} | party_leader  = {{If empty|{{{party_leader28|}}}|{{{leader28|}}}}} | colour        = {{If empty|{{{colour28|}}}|{{{color28|}}}}} | percentage    = {{{percentage28|}}} | seats         = {{{seats28|}}} | seats_before  = {{If empty|{{{seats28_before|}}}|{{{last_election28|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading29|}}} | party         = {{{party29|}}} | party_leader  = {{If empty|{{{party_leader29|}}}|{{{leader29|}}}}} | colour        = {{If empty|{{{colour29|}}}|{{{color29|}}}}} | percentage    = {{{percentage29|}}} | seats         = {{{seats29|}}} | seats_before  = {{If empty|{{{seats29_before|}}}|{{{last_election29|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading30|}}} | party         = {{{party30|}}} | party_leader  = {{If empty|{{{party_leader30|}}}|{{{leader30|}}}}} | colour        = {{If empty|{{{colour30|}}}|{{{color30|}}}}} | percentage    = {{{percentage30|}}} | seats         = {{{seats30|}}} | seats_before  = {{If empty|{{{seats30_before|}}}|{{{last_election30|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading31|}}} | party         = {{{party31|}}} | party_leader  = {{If empty|{{{party_leader31|}}}|{{{leader31|}}}}} | colour        = {{If empty|{{{colour31|}}}|{{{color31|}}}}} | percentage    = {{{percentage31|}}} | seats         = {{{seats31|}}} | seats_before  = {{If empty|{{{seats31_before|}}}|{{{last_election31|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading32|}}} | party         = {{{party32|}}} | party_leader  = {{If empty|{{{party_leader32|}}}|{{{leader32|}}}}} | colour        = {{If empty|{{{colour32|}}}|{{{color32|}}}}} | percentage    = {{{percentage32|}}} | seats         = {{{seats32|}}} | seats_before  = {{If empty|{{{seats32_before|}}}|{{{last_election32|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading33|}}} | party         = {{{party33|}}} | party_leader  = {{If empty|{{{party_leader33|}}}|{{{leader33|}}}}} | colour        = {{If empty|{{{colour33|}}}|{{{color33|}}}}} | percentage    = {{{percentage33|}}} | seats         = {{{seats33|}}} | seats_before  = {{If empty|{{{seats33_before|}}}|{{{last_election33|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading34|}}} | party         = {{{party34|}}} | party_leader  = {{If empty|{{{party_leader34|}}}|{{{leader34|}}}}} | colour        = {{If empty|{{{colour34|}}}|{{{color34|}}}}} | percentage    = {{{percentage34|}}} | seats         = {{{seats34|}}} | seats_before  = {{If empty|{{{seats34_before|}}}|{{{last_election34|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} | heading       = {{{heading35|}}} | party         = {{{party35|}}} | party_leader  = {{If empty|{{{party_leader35|}}}|{{{leader35|}}}}} | colour        = {{If empty|{{{colour35|}}}|{{{color35|}}}}} | percentage    = {{{percentage35|}}} | seats         = {{{seats35|}}} | seats_before  = {{If empty|{{{seats35_before|}}}|{{{last_election35|}}}}} | ongoing       = {{{ongoing|}}} | first_election = {{{first_election|}}} }}}} }} {{!)}} {{#switch:{{{ongoing|}}}|counting|yes=|#default=This lists parties that won seats. See the complete results Results}}}|below.}} {{infobox|child=yes {{#if:{{{before_election|}}}{{{after_election|}}}| }} }} }}  {{documentation}}
 * belowstyle = padding:0 3px
 * below =
 * default=
 * ! {{Infobox legislative election/row
 * {{#if:{{{party2|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party3|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party4|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party5|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party6|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party7|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party8|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party9|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party10|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party11|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party12|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party13|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party14|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party15|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party16|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party17|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party18|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party19|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party20|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party21|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party22|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party23|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party24|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party25|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party26|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party27|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party28|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party29|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party30|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party31|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party32|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party33|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party34|}}}|! {{Infobox legislative election/row
 * {{#if:{{{party35|}}}|! {{Infobox legislative election/row
 * image = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|upright={{#if:{{{map_upright|}}}|{{{map_upright}}}|1.3}}|alt={{{map_alt|}}}}}
 * imagestyle = border-top:1px #aaa solid; padding:0.3em 0.5em;
 * caption = {{{map_caption|}}}
 * belowstyle = border-top:1px #aaa solid; padding: 0.3em 0.5em;
 * below =