Template:Infobox legislative election: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
(Created page with "<includeonly>{{infobox | child = {{{child|{{{embed|}}}}}} | bodyclass = {{#if:{{{election_date|}}}|vevent|}} | bodystyle = line-height: 1.5em; max-width: 32em; min-width:2...")
 
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 6: Line 6:


| subheaderstyle = line-height:130%;
| subheaderstyle = line-height:130%;
| subheader1 = {{#if:{{{country|}}}|{{flagicon|{{{country}}}|variant={{{flag_year|}}}|size=50px}}}}<hr />
| subheader1 = {{#if:{{{country|}}}|{{team flag|{{{country}}}|flag|{{{flag_year|}}}|size=50}}}}<hr />
| subheader2 = {{#if:{{{previous_election|}}}{{{next_election|}}}
| subheader2 = {{#if:{{{previous_election|}}}{{{next_election|}}}
   |{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%;
   |{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%;
Line 28: Line 28:
| data3 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}
| data3 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}


| belowstyle = padding:0 3px
| datastyle = padding:0 3px
| below = <nowiki />
| data4 = <nowiki />
{{(!}} class="wikitable" style="width: 100%; margin:0;"
{{(!}} class="wikitable" style="width: 100%; margin:0;"
{{!-}} class="nowrap"
{{!-}} class="nowrap"
Line 46: Line 46:
  | heading        = {{{heading1|}}}
  | heading        = {{{heading1|}}}
  | party          = {{{party1|}}}
  | party          = {{{party1|}}}
  | party_leader  = {{If empty|{{{party_leader1|}}}|{{{leader1|}}}}}
  | party_leader  = {{{leader1|}}}
  | colour        = {{If empty|{{{colour1|}}}|{{{color1|}}}}}
  | colour        = {{{colour1|}}}
  | percentage    = {{{percentage1|}}}
  | percentage    = {{{percentage1|}}}
  | seats          = {{{seats1|}}}
  | seats          = {{{seats1|}}}
  | seats_before  = {{If empty|{{{seats1_before|}}}|{{{last_election1|}}}}}
  | seats_before  = {{{last_election1|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 57: Line 57:
  | heading        = {{{heading2|}}}
  | heading        = {{{heading2|}}}
  | party          = {{{party2|}}}
  | party          = {{{party2|}}}
  | party_leader  = {{If empty|{{{party_leader2|}}}|{{{leader2|}}}}}
  | party_leader  = {{{leader2|}}}
  | colour        = {{If empty|{{{colour2|}}}|{{{color2|}}}}}
  | colour        = {{{colour2|}}}
  | percentage    = {{{percentage2|}}}
  | percentage    = {{{percentage2|}}}
  | seats          = {{{seats2|}}}
  | seats          = {{{seats2|}}}
  | seats_before  = {{If empty|{{{seats2_before|}}}|{{{last_election2|}}}}}
  | seats_before  = {{{last_election2|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 68: Line 68:
  | heading        = {{{heading3|}}}
  | heading        = {{{heading3|}}}
  | party          = {{{party3|}}}
  | party          = {{{party3|}}}
  | party_leader  = {{If empty|{{{party_leader3|}}}|{{{leader3|}}}}}
  | party_leader  = {{{leader3|}}}
  | colour        = {{If empty|{{{colour3|}}}|{{{color3|}}}}}
  | colour        = {{{colour3|}}}
  | percentage    = {{{percentage3|}}}
  | percentage    = {{{percentage3|}}}
  | seats          = {{{seats3|}}}
  | seats          = {{{seats3|}}}
  | seats_before  = {{If empty|{{{seats3_before|}}}|{{{last_election3|}}}}}
  | seats_before  = {{{last_election3|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 79: Line 79:
  | heading        = {{{heading4|}}}
  | heading        = {{{heading4|}}}
  | party          = {{{party4|}}}
  | party          = {{{party4|}}}
  | party_leader  = {{If empty|{{{party_leader4|}}}|{{{leader4|}}}}}
  | party_leader  = {{{leader4|}}}
  | colour        = {{If empty|{{{colour4|}}}|{{{color4|}}}}}
  | colour        = {{{colour4|}}}
  | percentage    = {{{percentage4|}}}
  | percentage    = {{{percentage4|}}}
  | seats          = {{{seats4|}}}
  | seats          = {{{seats4|}}}
  | seats_before  = {{If empty|{{{seats4_before|}}}|{{{last_election4|}}}}}
  | seats_before  = {{{last_election4|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 90: Line 90:
  | heading        = {{{heading5|}}}
  | heading        = {{{heading5|}}}
  | party          = {{{party5|}}}
  | party          = {{{party5|}}}
  | party_leader  = {{If empty|{{{party_leader5|}}}|{{{leader5|}}}}}
  | party_leader  = {{{leader5|}}}
  | colour        = {{If empty|{{{colour5|}}}|{{{color5|}}}}}
  | colour        = {{{colour5|}}}
  | percentage    = {{{percentage5|}}}
  | percentage    = {{{percentage5|}}}
  | seats          = {{{seats5|}}}
  | seats          = {{{seats5|}}}
  | seats_before  = {{If empty|{{{seats5_before|}}}|{{{last_election5|}}}}}
  | seats_before  = {{{last_election5|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 101: Line 101:
  | heading        = {{{heading6|}}}
  | heading        = {{{heading6|}}}
  | party          = {{{party6|}}}
  | party          = {{{party6|}}}
  | party_leader  = {{If empty|{{{party_leader6|}}}|{{{leader6|}}}}}
  | party_leader  = {{{leader6|}}}
  | colour        = {{If empty|{{{colour6|}}}|{{{color6|}}}}}
  | colour        = {{{colour6|}}}
  | percentage    = {{{percentage6|}}}
  | percentage    = {{{percentage6|}}}
  | seats          = {{{seats6|}}}
  | seats          = {{{seats6|}}}
  | seats_before  = {{If empty|{{{seats6_before|}}}|{{{last_election6|}}}}}
  | seats_before  = {{{last_election6|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 112: Line 112:
  | heading        = {{{heading7|}}}
  | heading        = {{{heading7|}}}
  | party          = {{{party7|}}}
  | party          = {{{party7|}}}
  | party_leader  = {{If empty|{{{party_leader7|}}}|{{{leader7|}}}}}
  | party_leader  = {{{leader7|}}}
  | colour        = {{If empty|{{{colour7|}}}|{{{color7|}}}}}
  | colour        = {{{colour7|}}}
  | percentage    = {{{percentage7|}}}
  | percentage    = {{{percentage7|}}}
  | seats          = {{{seats7|}}}
  | seats          = {{{seats7|}}}
  | seats_before  = {{If empty|{{{seats7_before|}}}|{{{last_election7|}}}}}
  | seats_before  = {{{last_election7|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 123: Line 123:
  | heading        = {{{heading8|}}}
  | heading        = {{{heading8|}}}
  | party          = {{{party8|}}}
  | party          = {{{party8|}}}
  | party_leader  = {{If empty|{{{party_leader8|}}}|{{{leader8|}}}}}
  | party_leader  = {{{leader8|}}}
  | colour        = {{If empty|{{{colour8|}}}|{{{color8|}}}}}
  | colour        = {{{colour8|}}}
  | percentage    = {{{percentage8|}}}
  | percentage    = {{{percentage8|}}}
  | seats          = {{{seats8|}}}
  | seats          = {{{seats8|}}}
  | seats_before  = {{If empty|{{{seats8_before|}}}|{{{last_election8|}}}}}
  | seats_before  = {{{last_election8|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 134: Line 134:
  | heading        = {{{heading9|}}}
  | heading        = {{{heading9|}}}
  | party          = {{{party9|}}}
  | party          = {{{party9|}}}
  | party_leader  = {{If empty|{{{party_leader9|}}}|{{{leader9|}}}}}
  | party_leader  = {{{leader9|}}}
  | colour        = {{If empty|{{{colour9|}}}|{{{color9|}}}}}
  | colour        = {{{colour9|}}}
  | percentage    = {{{percentage9|}}}
  | percentage    = {{{percentage9|}}}
  | seats          = {{{seats9|}}}
  | seats          = {{{seats9|}}}
  | seats_before  = {{If empty|{{{seats9_before|}}}|{{{last_election9|}}}}}
  | seats_before  = {{{last_election9|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 145: Line 145:
  | heading        = {{{heading10|}}}
  | heading        = {{{heading10|}}}
  | party          = {{{party10|}}}
  | party          = {{{party10|}}}
  | party_leader  = {{If empty|{{{party_leader10|}}}|{{{leader10|}}}}}
  | party_leader  = {{{leader10|}}}
  | colour        = {{If empty|{{{colour10|}}}|{{{color10|}}}}}
  | colour        = {{{colour10|}}}
  | percentage    = {{{percentage10|}}}
  | percentage    = {{{percentage10|}}}
  | seats          = {{{seats10|}}}
  | seats          = {{{seats10|}}}
  | seats_before  = {{If empty|{{{seats10_before|}}}|{{{last_election10|}}}}}
  | seats_before  = {{{last_election10|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 156: Line 156:
  | heading        = {{{heading11|}}}
  | heading        = {{{heading11|}}}
  | party          = {{{party11|}}}
  | party          = {{{party11|}}}
  | party_leader  = {{If empty|{{{party_leader11|}}}|{{{leader11|}}}}}
  | party_leader  = {{{leader11|}}}
  | colour        = {{If empty|{{{colour11|}}}|{{{color11|}}}}}
  | colour        = {{{colour11|}}}
  | percentage    = {{{percentage11|}}}
  | percentage    = {{{percentage11|}}}
  | seats          = {{{seats11|}}}
  | seats          = {{{seats11|}}}
  | seats_before  = {{If empty|{{{seats11_before|}}}|{{{last_election11|}}}}}
  | seats_before  = {{{last_election11|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 167: Line 167:
  | heading        = {{{heading12|}}}
  | heading        = {{{heading12|}}}
  | party          = {{{party12|}}}
  | party          = {{{party12|}}}
  | party_leader  = {{If empty|{{{party_leader12|}}}|{{{leader12|}}}}}
  | party_leader  = {{{leader12|}}}
  | colour        = {{If empty|{{{colour12|}}}|{{{color12|}}}}}
  | colour        = {{{colour12|}}}
  | percentage    = {{{percentage12|}}}
  | percentage    = {{{percentage12|}}}
  | seats          = {{{seats12|}}}
  | seats          = {{{seats12|}}}
  | seats_before  = {{If empty|{{{seats12_before|}}}|{{{last_election12|}}}}}
  | seats_before  = {{{last_election12|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 178: Line 178:
  | heading        = {{{heading13|}}}
  | heading        = {{{heading13|}}}
  | party          = {{{party13|}}}
  | party          = {{{party13|}}}
  | party_leader  = {{If empty|{{{party_leader13|}}}|{{{leader13|}}}}}
  | party_leader  = {{{leader13|}}}
  | colour        = {{If empty|{{{colour13|}}}|{{{color13|}}}}}
  | colour        = {{{colour13|}}}
  | percentage    = {{{percentage13|}}}
  | percentage    = {{{percentage13|}}}
  | seats          = {{{seats13|}}}
  | seats          = {{{seats13|}}}
  | seats_before  = {{If empty|{{{seats13_before|}}}|{{{last_election13|}}}}}
  | seats_before  = {{{last_election13|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 189: Line 189:
  | heading        = {{{heading14|}}}
  | heading        = {{{heading14|}}}
  | party          = {{{party14|}}}
  | party          = {{{party14|}}}
  | party_leader  = {{If empty|{{{party_leader14|}}}|{{{leader14|}}}}}
  | party_leader  = {{{leader14|}}}
  | colour        = {{If empty|{{{colour14|}}}|{{{color14|}}}}}
  | colour        = {{{colour14|}}}
  | percentage    = {{{percentage14|}}}
  | percentage    = {{{percentage14|}}}
  | seats          = {{{seats14|}}}
  | seats          = {{{seats14|}}}
  | seats_before  = {{If empty|{{{seats14_before|}}}|{{{last_election14|}}}}}
  | seats_before  = {{{last_election14|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 200: Line 200:
  | heading        = {{{heading15|}}}
  | heading        = {{{heading15|}}}
  | party          = {{{party15|}}}
  | party          = {{{party15|}}}
  | party_leader  = {{If empty|{{{party_leader15|}}}|{{{leader15|}}}}}
  | party_leader  = {{{leader15|}}}
  | colour        = {{If empty|{{{colour15|}}}|{{{color15|}}}}}
  | colour        = {{{colour15|}}}
  | percentage    = {{{percentage15|}}}
  | percentage    = {{{percentage15|}}}
  | seats          = {{{seats15|}}}
  | seats          = {{{seats15|}}}
  | seats_before  = {{If empty|{{{seats15_before|}}}|{{{last_election15|}}}}}
  | seats_before  = {{{last_election15|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 211: Line 211:
  | heading        = {{{heading16|}}}
  | heading        = {{{heading16|}}}
  | party          = {{{party16|}}}
  | party          = {{{party16|}}}
  | party_leader  = {{If empty|{{{party_leader16|}}}|{{{leader16|}}}}}
  | party_leader  = {{{leader16|}}}
  | colour        = {{If empty|{{{colour16|}}}|{{{color16|}}}}}
  | colour        = {{{colour16|}}}
  | percentage    = {{{percentage16|}}}
  | percentage    = {{{percentage16|}}}
  | seats          = {{{seats16|}}}
  | seats          = {{{seats16|}}}
  | seats_before  = {{If empty|{{{seats16_before|}}}|{{{last_election16|}}}}}
  | seats_before  = {{{last_election16|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 222: Line 222:
  | heading        = {{{heading17|}}}
  | heading        = {{{heading17|}}}
  | party          = {{{party17|}}}
  | party          = {{{party17|}}}
  | party_leader  = {{If empty|{{{party_leader17|}}}|{{{leader17|}}}}}
  | party_leader  = {{{leader17|}}}
  | colour        = {{If empty|{{{colour17|}}}|{{{color17|}}}}}
  | colour        = {{{colour17|}}}
  | percentage    = {{{percentage17|}}}
  | percentage    = {{{percentage17|}}}
  | seats          = {{{seats17|}}}
  | seats          = {{{seats17|}}}
  | seats_before  = {{If empty|{{{seats17_before|}}}|{{{last_election17|}}}}}
  | seats_before  = {{{last_election17|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 233: Line 233:
  | heading        = {{{heading18|}}}
  | heading        = {{{heading18|}}}
  | party          = {{{party18|}}}
  | party          = {{{party18|}}}
  | party_leader  = {{If empty|{{{party_leader18|}}}|{{{leader18|}}}}}
  | party_leader  = {{{leader18|}}}
  | colour        = {{If empty|{{{colour18|}}}|{{{color18|}}}}}
  | colour        = {{{colour18|}}}
  | percentage    = {{{percentage18|}}}
  | percentage    = {{{percentage18|}}}
  | seats          = {{{seats18|}}}
  | seats          = {{{seats18|}}}
  | seats_before  = {{If empty|{{{seats18_before|}}}|{{{last_election18|}}}}}
  | seats_before  = {{{last_election18|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 244: Line 244:
  | heading        = {{{heading19|}}}
  | heading        = {{{heading19|}}}
  | party          = {{{party19|}}}
  | party          = {{{party19|}}}
  | party_leader  = {{If empty|{{{party_leader19|}}}|{{{leader19|}}}}}
  | party_leader  = {{{leader19|}}}
  | colour        = {{If empty|{{{colour19|}}}|{{{color19|}}}}}
  | colour        = {{{colour19|}}}
  | percentage    = {{{percentage19|}}}
  | percentage    = {{{percentage19|}}}
  | seats          = {{{seats19|}}}
  | seats          = {{{seats19|}}}
  | seats_before  = {{If empty|{{{seats19_before|}}}|{{{last_election19|}}}}}
  | seats_before  = {{{last_election19|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 255: Line 255:
  | heading        = {{{heading20|}}}
  | heading        = {{{heading20|}}}
  | party          = {{{party20|}}}
  | party          = {{{party20|}}}
  | party_leader  = {{If empty|{{{party_leader20|}}}|{{{leader20|}}}}}
  | party_leader  = {{{leader20|}}}
  | colour        = {{If empty|{{{colour20|}}}|{{{color20|}}}}}
  | colour        = {{{colour20|}}}
  | percentage    = {{{percentage20|}}}
  | percentage    = {{{percentage20|}}}
  | seats          = {{{seats20|}}}
  | seats          = {{{seats20|}}}
  | seats_before  = {{If empty|{{{seats20_before|}}}|{{{last_election20|}}}}}
  | seats_before  = {{{last_election20|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 266: Line 266:
  | heading        = {{{heading21|}}}
  | heading        = {{{heading21|}}}
  | party          = {{{party21|}}}
  | party          = {{{party21|}}}
  | party_leader  = {{If empty|{{{party_leader21|}}}|{{{leader21|}}}}}
  | party_leader  = {{{leader21|}}}
  | colour        = {{If empty|{{{colour21|}}}|{{{color21|}}}}}
  | colour        = {{{colour21|}}}
  | percentage    = {{{percentage21|}}}
  | percentage    = {{{percentage21|}}}
  | seats          = {{{seats21|}}}
  | seats          = {{{seats21|}}}
  | seats_before  = {{If empty|{{{seats21_before|}}}|{{{last_election21|}}}}}
  | seats_before  = {{{last_election21|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 277: Line 277:
  | heading        = {{{heading22|}}}
  | heading        = {{{heading22|}}}
  | party          = {{{party22|}}}
  | party          = {{{party22|}}}
  | party_leader  = {{If empty|{{{party_leader22|}}}|{{{leader22|}}}}}
  | party_leader  = {{{leader22|}}}
  | colour        = {{If empty|{{{colour22|}}}|{{{color22|}}}}}
  | colour        = {{{colour22|}}}
  | percentage    = {{{percentage22|}}}
  | percentage    = {{{percentage22|}}}
  | seats          = {{{seats22|}}}
  | seats          = {{{seats22|}}}
  | seats_before  = {{If empty|{{{seats22_before|}}}|{{{last_election22|}}}}}
  | seats_before  = {{{last_election22|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 288: Line 288:
  | heading        = {{{heading23|}}}
  | heading        = {{{heading23|}}}
  | party          = {{{party23|}}}
  | party          = {{{party23|}}}
  | party_leader  = {{If empty|{{{party_leader23|}}}|{{{leader23|}}}}}
  | party_leader  = {{{leader23|}}}
  | colour        = {{If empty|{{{colour23|}}}|{{{color23|}}}}}
  | colour        = {{{colour23|}}}
  | percentage    = {{{percentage23|}}}
  | percentage    = {{{percentage23|}}}
  | seats          = {{{seats23|}}}
  | seats          = {{{seats23|}}}
  | seats_before  = {{If empty|{{{seats23_before|}}}|{{{last_election23|}}}}}
  | seats_before  = {{{last_election23|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 299: Line 299:
  | heading        = {{{heading24|}}}
  | heading        = {{{heading24|}}}
  | party          = {{{party24|}}}
  | party          = {{{party24|}}}
  | party_leader  = {{If empty|{{{party_leader24|}}}|{{{leader24|}}}}}
  | party_leader  = {{{leader24|}}}
  | colour        = {{If empty|{{{colour24|}}}|{{{color24|}}}}}
  | colour        = {{{colour24|}}}
  | percentage    = {{{percentage24|}}}
  | percentage    = {{{percentage24|}}}
  | seats          = {{{seats24|}}}
  | seats          = {{{seats24|}}}
  | seats_before  = {{If empty|{{{seats24_before|}}}|{{{last_election24|}}}}}
  | seats_before  = {{{last_election24|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 310: Line 310:
  | heading        = {{{heading25|}}}
  | heading        = {{{heading25|}}}
  | party          = {{{party25|}}}
  | party          = {{{party25|}}}
  | party_leader  = {{If empty|{{{party_leader25|}}}|{{{leader25|}}}}}
  | party_leader  = {{{leader25|}}}
  | colour        = {{If empty|{{{colour25|}}}|{{{color25|}}}}}
  | colour        = {{{colour25|}}}
  | percentage    = {{{percentage25|}}}
  | percentage    = {{{percentage25|}}}
  | seats          = {{{seats25|}}}
  | seats          = {{{seats25|}}}
  | seats_before  = {{If empty|{{{seats25_before|}}}|{{{last_election25|}}}}}
  | seats_before  = {{{last_election25|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 321: Line 321:
  | heading        = {{{heading26|}}}
  | heading        = {{{heading26|}}}
  | party          = {{{party26|}}}
  | party          = {{{party26|}}}
  | party_leader  = {{If empty|{{{party_leader26|}}}|{{{leader26|}}}}}
  | party_leader  = {{{leader26|}}}
  | colour        = {{If empty|{{{colour26|}}}|{{{color26|}}}}}
  | colour        = {{{colour26|}}}
  | percentage    = {{{percentage26|}}}
  | percentage    = {{{percentage26|}}}
  | seats          = {{{seats26|}}}
  | seats          = {{{seats26|}}}
  | seats_before  = {{If empty|{{{seats26_before|}}}|{{{last_election26|}}}}}
  | seats_before  = {{{last_election26|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 332: Line 332:
  | heading        = {{{heading27|}}}
  | heading        = {{{heading27|}}}
  | party          = {{{party27|}}}
  | party          = {{{party27|}}}
  | party_leader  = {{If empty|{{{party_leader27|}}}|{{{leader27|}}}}}
  | party_leader  = {{{leader27|}}}
  | colour        = {{If empty|{{{colour27|}}}|{{{color27|}}}}}
  | colour        = {{{colour27|}}}
  | percentage    = {{{percentage27|}}}
  | percentage    = {{{percentage27|}}}
  | seats          = {{{seats27|}}}
  | seats          = {{{seats27|}}}
  | seats_before  = {{If empty|{{{seats27_before|}}}|{{{last_election27|}}}}}
  | seats_before  = {{{last_election27|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 343: Line 343:
  | heading        = {{{heading28|}}}
  | heading        = {{{heading28|}}}
  | party          = {{{party28|}}}
  | party          = {{{party28|}}}
  | party_leader  = {{If empty|{{{party_leader28|}}}|{{{leader28|}}}}}
  | party_leader  = {{{leader28|}}}
  | colour        = {{If empty|{{{colour28|}}}|{{{color28|}}}}}
  | colour        = {{{colour28|}}}
  | percentage    = {{{percentage28|}}}
  | percentage    = {{{percentage28|}}}
  | seats          = {{{seats28|}}}
  | seats          = {{{seats28|}}}
  | seats_before  = {{If empty|{{{seats28_before|}}}|{{{last_election28|}}}}}
  | seats_before  = {{{last_election28|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 354: Line 354:
  | heading        = {{{heading29|}}}
  | heading        = {{{heading29|}}}
  | party          = {{{party29|}}}
  | party          = {{{party29|}}}
  | party_leader  = {{If empty|{{{party_leader29|}}}|{{{leader29|}}}}}
  | party_leader  = {{{leader29|}}}
  | colour        = {{If empty|{{{colour29|}}}|{{{color29|}}}}}
  | colour        = {{{colour29|}}}
  | percentage    = {{{percentage29|}}}
  | percentage    = {{{percentage29|}}}
  | seats          = {{{seats29|}}}
  | seats          = {{{seats29|}}}
  | seats_before  = {{If empty|{{{seats29_before|}}}|{{{last_election29|}}}}}
  | seats_before  = {{{last_election29|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 365: Line 365:
  | heading        = {{{heading30|}}}
  | heading        = {{{heading30|}}}
  | party          = {{{party30|}}}
  | party          = {{{party30|}}}
  | party_leader  = {{If empty|{{{party_leader30|}}}|{{{leader30|}}}}}
  | party_leader  = {{{leader30|}}}
  | colour        = {{If empty|{{{colour30|}}}|{{{color30|}}}}}
  | colour        = {{{colour30|}}}
  | percentage    = {{{percentage30|}}}
  | percentage    = {{{percentage30|}}}
  | seats          = {{{seats30|}}}
  | seats          = {{{seats30|}}}
  | seats_before  = {{If empty|{{{seats30_before|}}}|{{{last_election30|}}}}}
  | seats_before  = {{{last_election30|}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 376: Line 376:
{{!)}}  
{{!)}}  
<div class="nowrap" style="width:100%;font-style: italic; padding:0.3em;">{{#switch:{{{ongoing|}}}|counting|yes=|#default=This lists parties that won seats. See the complete results [[#{{{results_sec|Results}}}|below]].}}</div><!--
<div class="nowrap" style="width:100%;font-style: italic; padding:0.3em;">{{#switch:{{{ongoing|}}}|counting|yes=|#default=This lists parties that won seats. See the complete results [[#{{{results_sec|Results}}}|below]].}}</div><!--
  -->{{infobox|child=yes
  -->| data11 =
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|upright={{#if:{{{map_upright|}}}|{{{map_upright}}}|1.3}}|alt={{{map_alt|}}}}}
{{#if:{{{map_image|}}}{{{map|}}}|<hr />{{#if:{{{map_image|}}}
| imagestyle = border-top:1px #aaa solid; padding:0.3em 0.5em;
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image}}}|size={{{map_size|}}}|sizedefault=300px|alt={{{map_alt|}}}}}
| caption = {{{map_caption|}}}
|{{{map}}}
| belowstyle = border-top:1px #aaa solid; padding: 0.3em 0.5em;
}}{{#if:{{{map_caption|}}}|<div>{{{map_caption|}}}</div>}}
| below =  
}}
{{#if:{{{before_election|}}}{{{after_election|}}}|<table style="width: 100%; border-spacing: 0;">
| data12 =  
  <tr>
{{#if:{{{map2_image|}}}{{{map2|}}}|<hr />{{#if:{{{map2_image|}}}
  <th {{#if:{{{before_image|}}}|colspan="2"}} scope="col" style="width:50%;">{{#if:{{{before_election|}}}|{{#switch:{{{ongoing|}}}|counting|yes=Incumbent {{{title}}}|#default={{{title}}} before}}}}</th>
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map2_image}}}|size={{{map2_size|}}}|sizedefault=300px|alt={{{map2_alt|}}}}}
  <th {{#if:{{{after_image|}}}|colspan="2"}} scope="col" style="width:50%; text-align:right;">{{#switch:{{{ongoing|}}}|counting|yes=|#default={{#if:{{{after_election|}}}|{{If empty|{{{posttitle|}}}|{{Delink|1={{{title}}}}} after}}}}}}</th>
|{{{map2}}}
</tr>
}}{{#if:{{{map2_caption|}}}|<div>{{{map2_caption|}}}</div>}}
<tr>{{#if:{{{before_image|}}}|
}}
  <td style="padding-right: 3px;">{{#invoke:InfoboxImage|InfoboxImage|image={{{before_image|}}}|size={{{before_image_size|}}}|sizedefault=x65px}}</td>}}
|data13 =
  <td style="width: 50%;">{{{before_election|}}}{{#if:{{{before_party|}}}|<br />{{Infobox election/shortname|name={{{before_party}}}}}}}</td>
{{#if:{{{map3_image|}}}{{{map3|}}}|<hr />{{#if:{{{map3_image|}}}
  <td style="text-align:right; width: 50%;">{{#switch:{{{ongoing|}}}|counting|yes=|#default={{#if:{{{after_election|}}}|{{{after_election}}}{{#if:{{{after_party|}}}|<br />{{Infobox election/shortname|name={{{after_party}}}}}}}}}}}</td>{{#if:{{{after_image|}}}|
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map3_image}}}|size={{{map3_size|}}}|sizedefault=300px|alt={{{map3_alt|}}}}}
  <td style="padding-left: 3px;">{{#invoke:InfoboxImage|InfoboxImage|image={{{after_image|}}}|size={{{after_image_size|}}}|sizedefault=x65px}}</td>}}
|{{{map3}}}
</tr>
}}{{#if:{{{map3_caption|}}}|<div>{{{map3_caption|}}}</div>}}
</table>}} }}
}}
|data14 =
{{#if:{{{map4_image|}}}{{{map4|}}}|<hr />{{#if:{{{map4_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map4_image}}}|size={{{map4_size|}}}|sizedefault=300px|alt={{{map4_alt|}}}}}
|{{{map4}}}
  }}{{#if:{{{map4_caption|}}}|<div>{{{map4_caption|}}}</div>}}
}}
| data15 = {{#if:{{{title|}}}|<hr />
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{!}} style="width:50%; text-align:left;" {{!}}'''{{#if:{{{before_election|}}}{{{before_party|}}}|{{#ifeq:{{{type}}}|primary|Previous {{{title}}}|{{#ifeq:{{{ongoing|no}}}|yes|Incumbent {{#ifeq:{{lc:{{{title}}}}}|u.s. senator|[[List of United States senators from {{#ifeq:{{{country}}}|Georgia (U.S. state)|Georgia|{{{country}}}}}|U.S. senator]]|{{{title}}}}}|{{#ifeq:{{lc:{{{title}}}}}|u.s. senator|[[List of United States senators from {{#ifeq:{{{country}}}|Georgia (U.S. state)|Georgia|{{{country}}}}}|U.S. senator]]|{{{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;" {{!}} {{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|'''Presumptive {{#if:{{{posttitle|}}}|{{{posttitle}}}|{{{title}}}'''}}|}}|}} |'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|{{#ifeq:{{{type}}}|primary||Elected}} {{{title}}}}}'''}} <br />
{{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|{{{after_election}}}|}}}}}}
{{#ifeq:{{{ongoing|no}}}|yes||{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}||TBD}}<br />
{{#if:{{{after_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{after_party}}}}}}} }}
{{!}}} }}
{{#if:{{{template_name|}}}|{{align|right|{{navbar|{{{template_name}}}|mini=2}}}} }}
| data16 = {{{module|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>[[Category:Elections]]

Latest revision as of 10:48, 17 November 2021

[edit] [purge] Template documentation

This infobox is used for a parliamentary election with multiple parties winning seats.

Usage

{{{election_name}}}
[[File:{{{country}}} flag.png|border|50px|{{{country}}}|link=]]
← {{{previous_election}}} {{{election_date}}} {{{next_election}}} →

{{{seats_for_election}}}
{{{majority_seats}}} seats needed for a majority
Turnout {{{turnout}}}

Party Leader % Seats ±
{{{party1}}} {{{leader1}}} {{{percentage1}}} 20 +20
{{{party2}}} {{{leader2}}} {{{percentage2}}} 10 +5
This lists parties that won seats. See the complete results below.

{{{map}}}
{{{map_caption}}}

{{{title}}} before election

{{{before_election}}}
{{{before_party}}}

Elected {{{title}}}

{{{after_election}}}
{{{after_party}}}

{{Infobox legislative election
| election_name      = 
| country            = 
| previous_election  = 
| next_election      = 
| election_date      = 
| seats_for_election = <!-- description-- >
| majority_seats     = <!-- number -->
| first_election     = <!-- yes/no (blank is no)-->
| opinion_polls =

| ongoing            = <!-- or future -->
| results_sec        =
| turnout            = 

| party1             = 
| colour1            = 
| leader1            = 
| percentage1        = <!-- incl. percentage sign -->
| seats1             = 
| last_election1     = <!-- Write 'new' if new party -->

| party2             = 
| colour2            = 
| leader2            = 
| percentage2        = <!-- incl. percentage sign -->
| seats2             = 
| last_election2     = <!-- Write 'new' if new party -->

| map                = 
| map_upright        = 
| map_alt            = 
| map_caption        = 

| title              = <!-- Prime Minister or similar -->
| before_election    = 
| before_party       = 
| after_election     = 
| after_party        = 
}}

Parameters

election_name
Name of the elections.
country
Name of the country or territory the elections are taking place in
previous_election
Link to the previous elections (e.g. [[1682 Natopian Frenzy election|1682]])
following_election
Link to the following elections (e.g. [[1685 Lesser Frenzy elections|1685]])
election_date
Date of the elections
seats_for_election
Description of which seats this election is about, incl. chamber and how many
majority_seats
The number of seats needed for a majority
first_election
Change to "yes" if this the first election of its kind
ongoing
Change to "yes" if the election results haven't been released
results_sec
Name of section in the article where the results of the election are listed.
turnout
% voter turnout
party1..30
Name of the party (e.g. Free Juice & Bagels Party)
leader1..30
Leader of the party
colour1..30
Custom party colour
percentage1..30
The party's popular vote share
seats1..30
Number of seats won by the party
last_election1..30
Number of seats won at the previous elections (template coding uses it to work out seat change)
heading1..30
Adds a heading above a particular results row
map
Image file of a map
map_upright
Map size scaling factor; default is 1.3
map_alt
WP:ALT
map_caption
Caption text, perhaps including a {{Legend}}
title
Title of the head of government (e.g. [[Prime Minister of the United Kingdom|Prime Minister]])
before_election
Head of government before the elections
before_party
Party of the head of government prior to the elections
before_image
Image of the outgoing head of government
after_election
Head of government after the elections
after_party
Party of the head of government after the elections
after_image
Image of the elected head of government