Template:Infobox legislative election: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
Hālian (talk | contribs)
Created page with "<includeonly>{{infobox | child = {{{child|{{{embed|}}}}}} | bodyclass = {{#if:{{{election_date|}}}|vevent|}} | bodystyle = line-height: 1.5em; max-width: 32em; min-width:2..."
 
Hālian (talk | contribs)
ifempty
Line 46: Line 46:
  | heading        = {{{heading1|}}}
  | heading        = {{{heading1|}}}
  | party          = {{{party1|}}}
  | party          = {{{party1|}}}
  | party_leader  = {{If empty|{{{party_leader1|}}}|{{{leader1|}}}}}
  | party_leader  = {{Ifempty|{{{party_leader1|}}}|{{{leader1|}}}}}
  | colour        = {{If empty|{{{colour1|}}}|{{{color1|}}}}}
  | colour        = {{Ifempty|{{{colour1|}}}|{{{color1|}}}}}
  | percentage    = {{{percentage1|}}}
  | percentage    = {{{percentage1|}}}
  | seats          = {{{seats1|}}}
  | seats          = {{{seats1|}}}
  | seats_before  = {{If empty|{{{seats1_before|}}}|{{{last_election1|}}}}}
  | seats_before  = {{Ifempty|{{{seats1_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  = {{Ifempty|{{{party_leader2|}}}|{{{leader2|}}}}}
  | colour        = {{If empty|{{{colour2|}}}|{{{color2|}}}}}
  | colour        = {{Ifempty|{{{colour2|}}}|{{{color2|}}}}}
  | percentage    = {{{percentage2|}}}
  | percentage    = {{{percentage2|}}}
  | seats          = {{{seats2|}}}
  | seats          = {{{seats2|}}}
  | seats_before  = {{If empty|{{{seats2_before|}}}|{{{last_election2|}}}}}
  | seats_before  = {{Ifempty|{{{seats2_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  = {{Ifempty|{{{party_leader3|}}}|{{{leader3|}}}}}
  | colour        = {{If empty|{{{colour3|}}}|{{{color3|}}}}}
  | colour        = {{Ifempty|{{{colour3|}}}|{{{color3|}}}}}
  | percentage    = {{{percentage3|}}}
  | percentage    = {{{percentage3|}}}
  | seats          = {{{seats3|}}}
  | seats          = {{{seats3|}}}
  | seats_before  = {{If empty|{{{seats3_before|}}}|{{{last_election3|}}}}}
  | seats_before  = {{Ifempty|{{{seats3_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  = {{Ifempty|{{{party_leader4|}}}|{{{leader4|}}}}}
  | colour        = {{If empty|{{{colour4|}}}|{{{color4|}}}}}
  | colour        = {{Ifempty|{{{colour4|}}}|{{{color4|}}}}}
  | percentage    = {{{percentage4|}}}
  | percentage    = {{{percentage4|}}}
  | seats          = {{{seats4|}}}
  | seats          = {{{seats4|}}}
  | seats_before  = {{If empty|{{{seats4_before|}}}|{{{last_election4|}}}}}
  | seats_before  = {{Ifempty|{{{seats4_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  = {{Ifempty|{{{party_leader5|}}}|{{{leader5|}}}}}
  | colour        = {{If empty|{{{colour5|}}}|{{{color5|}}}}}
  | colour        = {{Ifempty|{{{colour5|}}}|{{{color5|}}}}}
  | percentage    = {{{percentage5|}}}
  | percentage    = {{{percentage5|}}}
  | seats          = {{{seats5|}}}
  | seats          = {{{seats5|}}}
  | seats_before  = {{If empty|{{{seats5_before|}}}|{{{last_election5|}}}}}
  | seats_before  = {{Ifempty|{{{seats5_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  = {{Ifempty|{{{party_leader6|}}}|{{{leader6|}}}}}
  | colour        = {{If empty|{{{colour6|}}}|{{{color6|}}}}}
  | colour        = {{Ifempty|{{{colour6|}}}|{{{color6|}}}}}
  | percentage    = {{{percentage6|}}}
  | percentage    = {{{percentage6|}}}
  | seats          = {{{seats6|}}}
  | seats          = {{{seats6|}}}
  | seats_before  = {{If empty|{{{seats6_before|}}}|{{{last_election6|}}}}}
  | seats_before  = {{Ifempty|{{{seats6_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  = {{Ifempty|{{{party_leader7|}}}|{{{leader7|}}}}}
  | colour        = {{If empty|{{{colour7|}}}|{{{color7|}}}}}
  | colour        = {{Ifempty|{{{colour7|}}}|{{{color7|}}}}}
  | percentage    = {{{percentage7|}}}
  | percentage    = {{{percentage7|}}}
  | seats          = {{{seats7|}}}
  | seats          = {{{seats7|}}}
  | seats_before  = {{If empty|{{{seats7_before|}}}|{{{last_election7|}}}}}
  | seats_before  = {{Ifempty|{{{seats7_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  = {{Ifempty|{{{party_leader8|}}}|{{{leader8|}}}}}
  | colour        = {{If empty|{{{colour8|}}}|{{{color8|}}}}}
  | colour        = {{Ifempty|{{{colour8|}}}|{{{color8|}}}}}
  | percentage    = {{{percentage8|}}}
  | percentage    = {{{percentage8|}}}
  | seats          = {{{seats8|}}}
  | seats          = {{{seats8|}}}
  | seats_before  = {{If empty|{{{seats8_before|}}}|{{{last_election8|}}}}}
  | seats_before  = {{Ifempty|{{{seats8_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  = {{Ifempty|{{{party_leader9|}}}|{{{leader9|}}}}}
  | colour        = {{If empty|{{{colour9|}}}|{{{color9|}}}}}
  | colour        = {{Ifempty|{{{colour9|}}}|{{{color9|}}}}}
  | percentage    = {{{percentage9|}}}
  | percentage    = {{{percentage9|}}}
  | seats          = {{{seats9|}}}
  | seats          = {{{seats9|}}}
  | seats_before  = {{If empty|{{{seats9_before|}}}|{{{last_election9|}}}}}
  | seats_before  = {{Ifempty|{{{seats9_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  = {{Ifempty|{{{party_leader10|}}}|{{{leader10|}}}}}
  | colour        = {{If empty|{{{colour10|}}}|{{{color10|}}}}}
  | colour        = {{Ifempty|{{{colour10|}}}|{{{color10|}}}}}
  | percentage    = {{{percentage10|}}}
  | percentage    = {{{percentage10|}}}
  | seats          = {{{seats10|}}}
  | seats          = {{{seats10|}}}
  | seats_before  = {{If empty|{{{seats10_before|}}}|{{{last_election10|}}}}}
  | seats_before  = {{Ifempty|{{{seats10_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  = {{Ifempty|{{{party_leader11|}}}|{{{leader11|}}}}}
  | colour        = {{If empty|{{{colour11|}}}|{{{color11|}}}}}
  | colour        = {{Ifempty|{{{colour11|}}}|{{{color11|}}}}}
  | percentage    = {{{percentage11|}}}
  | percentage    = {{{percentage11|}}}
  | seats          = {{{seats11|}}}
  | seats          = {{{seats11|}}}
  | seats_before  = {{If empty|{{{seats11_before|}}}|{{{last_election11|}}}}}
  | seats_before  = {{Ifempty|{{{seats11_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  = {{Ifempty|{{{party_leader12|}}}|{{{leader12|}}}}}
  | colour        = {{If empty|{{{colour12|}}}|{{{color12|}}}}}
  | colour        = {{Ifempty|{{{colour12|}}}|{{{color12|}}}}}
  | percentage    = {{{percentage12|}}}
  | percentage    = {{{percentage12|}}}
  | seats          = {{{seats12|}}}
  | seats          = {{{seats12|}}}
  | seats_before  = {{If empty|{{{seats12_before|}}}|{{{last_election12|}}}}}
  | seats_before  = {{Ifempty|{{{seats12_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  = {{Ifempty|{{{party_leader13|}}}|{{{leader13|}}}}}
  | colour        = {{If empty|{{{colour13|}}}|{{{color13|}}}}}
  | colour        = {{Ifempty|{{{colour13|}}}|{{{color13|}}}}}
  | percentage    = {{{percentage13|}}}
  | percentage    = {{{percentage13|}}}
  | seats          = {{{seats13|}}}
  | seats          = {{{seats13|}}}
  | seats_before  = {{If empty|{{{seats13_before|}}}|{{{last_election13|}}}}}
  | seats_before  = {{Ifempty|{{{seats13_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  = {{Ifempty|{{{party_leader14|}}}|{{{leader14|}}}}}
  | colour        = {{If empty|{{{colour14|}}}|{{{color14|}}}}}
  | colour        = {{Ifempty|{{{colour14|}}}|{{{color14|}}}}}
  | percentage    = {{{percentage14|}}}
  | percentage    = {{{percentage14|}}}
  | seats          = {{{seats14|}}}
  | seats          = {{{seats14|}}}
  | seats_before  = {{If empty|{{{seats14_before|}}}|{{{last_election14|}}}}}
  | seats_before  = {{Ifempty|{{{seats14_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  = {{Ifempty|{{{party_leader15|}}}|{{{leader15|}}}}}
  | colour        = {{If empty|{{{colour15|}}}|{{{color15|}}}}}
  | colour        = {{Ifempty|{{{colour15|}}}|{{{color15|}}}}}
  | percentage    = {{{percentage15|}}}
  | percentage    = {{{percentage15|}}}
  | seats          = {{{seats15|}}}
  | seats          = {{{seats15|}}}
  | seats_before  = {{If empty|{{{seats15_before|}}}|{{{last_election15|}}}}}
  | seats_before  = {{Ifempty|{{{seats15_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  = {{Ifempty|{{{party_leader16|}}}|{{{leader16|}}}}}
  | colour        = {{If empty|{{{colour16|}}}|{{{color16|}}}}}
  | colour        = {{Ifempty|{{{colour16|}}}|{{{color16|}}}}}
  | percentage    = {{{percentage16|}}}
  | percentage    = {{{percentage16|}}}
  | seats          = {{{seats16|}}}
  | seats          = {{{seats16|}}}
  | seats_before  = {{If empty|{{{seats16_before|}}}|{{{last_election16|}}}}}
  | seats_before  = {{Ifempty|{{{seats16_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  = {{Ifempty|{{{party_leader17|}}}|{{{leader17|}}}}}
  | colour        = {{If empty|{{{colour17|}}}|{{{color17|}}}}}
  | colour        = {{Ifempty|{{{colour17|}}}|{{{color17|}}}}}
  | percentage    = {{{percentage17|}}}
  | percentage    = {{{percentage17|}}}
  | seats          = {{{seats17|}}}
  | seats          = {{{seats17|}}}
  | seats_before  = {{If empty|{{{seats17_before|}}}|{{{last_election17|}}}}}
  | seats_before  = {{Ifempty|{{{seats17_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  = {{Ifempty|{{{party_leader18|}}}|{{{leader18|}}}}}
  | colour        = {{If empty|{{{colour18|}}}|{{{color18|}}}}}
  | colour        = {{Ifempty|{{{colour18|}}}|{{{color18|}}}}}
  | percentage    = {{{percentage18|}}}
  | percentage    = {{{percentage18|}}}
  | seats          = {{{seats18|}}}
  | seats          = {{{seats18|}}}
  | seats_before  = {{If empty|{{{seats18_before|}}}|{{{last_election18|}}}}}
  | seats_before  = {{Ifempty|{{{seats18_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  = {{Ifempty|{{{party_leader19|}}}|{{{leader19|}}}}}
  | colour        = {{If empty|{{{colour19|}}}|{{{color19|}}}}}
  | colour        = {{Ifempty|{{{colour19|}}}|{{{color19|}}}}}
  | percentage    = {{{percentage19|}}}
  | percentage    = {{{percentage19|}}}
  | seats          = {{{seats19|}}}
  | seats          = {{{seats19|}}}
  | seats_before  = {{If empty|{{{seats19_before|}}}|{{{last_election19|}}}}}
  | seats_before  = {{Ifempty|{{{seats19_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  = {{Ifempty|{{{party_leader20|}}}|{{{leader20|}}}}}
  | colour        = {{If empty|{{{colour20|}}}|{{{color20|}}}}}
  | colour        = {{Ifempty|{{{colour20|}}}|{{{color20|}}}}}
  | percentage    = {{{percentage20|}}}
  | percentage    = {{{percentage20|}}}
  | seats          = {{{seats20|}}}
  | seats          = {{{seats20|}}}
  | seats_before  = {{If empty|{{{seats20_before|}}}|{{{last_election20|}}}}}
  | seats_before  = {{Ifempty|{{{seats20_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  = {{Ifempty|{{{party_leader21|}}}|{{{leader21|}}}}}
  | colour        = {{If empty|{{{colour21|}}}|{{{color21|}}}}}
  | colour        = {{Ifempty|{{{colour21|}}}|{{{color21|}}}}}
  | percentage    = {{{percentage21|}}}
  | percentage    = {{{percentage21|}}}
  | seats          = {{{seats21|}}}
  | seats          = {{{seats21|}}}
  | seats_before  = {{If empty|{{{seats21_before|}}}|{{{last_election21|}}}}}
  | seats_before  = {{Ifempty|{{{seats21_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  = {{Ifempty|{{{party_leader22|}}}|{{{leader22|}}}}}
  | colour        = {{If empty|{{{colour22|}}}|{{{color22|}}}}}
  | colour        = {{Ifempty|{{{colour22|}}}|{{{color22|}}}}}
  | percentage    = {{{percentage22|}}}
  | percentage    = {{{percentage22|}}}
  | seats          = {{{seats22|}}}
  | seats          = {{{seats22|}}}
  | seats_before  = {{If empty|{{{seats22_before|}}}|{{{last_election22|}}}}}
  | seats_before  = {{Ifempty|{{{seats22_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  = {{Ifempty|{{{party_leader23|}}}|{{{leader23|}}}}}
  | colour        = {{If empty|{{{colour23|}}}|{{{color23|}}}}}
  | colour        = {{Ifempty|{{{colour23|}}}|{{{color23|}}}}}
  | percentage    = {{{percentage23|}}}
  | percentage    = {{{percentage23|}}}
  | seats          = {{{seats23|}}}
  | seats          = {{{seats23|}}}
  | seats_before  = {{If empty|{{{seats23_before|}}}|{{{last_election23|}}}}}
  | seats_before  = {{Ifempty|{{{seats23_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  = {{Ifempty|{{{party_leader24|}}}|{{{leader24|}}}}}
  | colour        = {{If empty|{{{colour24|}}}|{{{color24|}}}}}
  | colour        = {{Ifempty|{{{colour24|}}}|{{{color24|}}}}}
  | percentage    = {{{percentage24|}}}
  | percentage    = {{{percentage24|}}}
  | seats          = {{{seats24|}}}
  | seats          = {{{seats24|}}}
  | seats_before  = {{If empty|{{{seats24_before|}}}|{{{last_election24|}}}}}
  | seats_before  = {{Ifempty|{{{seats24_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  = {{Ifempty|{{{party_leader25|}}}|{{{leader25|}}}}}
  | colour        = {{If empty|{{{colour25|}}}|{{{color25|}}}}}
  | colour        = {{Ifempty|{{{colour25|}}}|{{{color25|}}}}}
  | percentage    = {{{percentage25|}}}
  | percentage    = {{{percentage25|}}}
  | seats          = {{{seats25|}}}
  | seats          = {{{seats25|}}}
  | seats_before  = {{If empty|{{{seats25_before|}}}|{{{last_election25|}}}}}
  | seats_before  = {{Ifempty|{{{seats25_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  = {{Ifempty|{{{party_leader26|}}}|{{{leader26|}}}}}
  | colour        = {{If empty|{{{colour26|}}}|{{{color26|}}}}}
  | colour        = {{Ifempty|{{{colour26|}}}|{{{color26|}}}}}
  | percentage    = {{{percentage26|}}}
  | percentage    = {{{percentage26|}}}
  | seats          = {{{seats26|}}}
  | seats          = {{{seats26|}}}
  | seats_before  = {{If empty|{{{seats26_before|}}}|{{{last_election26|}}}}}
  | seats_before  = {{Ifempty|{{{seats26_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  = {{Ifempty|{{{party_leader27|}}}|{{{leader27|}}}}}
  | colour        = {{If empty|{{{colour27|}}}|{{{color27|}}}}}
  | colour        = {{Ifempty|{{{colour27|}}}|{{{color27|}}}}}
  | percentage    = {{{percentage27|}}}
  | percentage    = {{{percentage27|}}}
  | seats          = {{{seats27|}}}
  | seats          = {{{seats27|}}}
  | seats_before  = {{If empty|{{{seats27_before|}}}|{{{last_election27|}}}}}
  | seats_before  = {{Ifempty|{{{seats27_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  = {{Ifempty|{{{party_leader28|}}}|{{{leader28|}}}}}
  | colour        = {{If empty|{{{colour28|}}}|{{{color28|}}}}}
  | colour        = {{Ifempty|{{{colour28|}}}|{{{color28|}}}}}
  | percentage    = {{{percentage28|}}}
  | percentage    = {{{percentage28|}}}
  | seats          = {{{seats28|}}}
  | seats          = {{{seats28|}}}
  | seats_before  = {{If empty|{{{seats28_before|}}}|{{{last_election28|}}}}}
  | seats_before  = {{Ifempty|{{{seats28_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  = {{Ifempty|{{{party_leader29|}}}|{{{leader29|}}}}}
  | colour        = {{If empty|{{{colour29|}}}|{{{color29|}}}}}
  | colour        = {{Ifempty|{{{colour29|}}}|{{{color29|}}}}}
  | percentage    = {{{percentage29|}}}
  | percentage    = {{{percentage29|}}}
  | seats          = {{{seats29|}}}
  | seats          = {{{seats29|}}}
  | seats_before  = {{If empty|{{{seats29_before|}}}|{{{last_election29|}}}}}
  | seats_before  = {{Ifempty|{{{seats29_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  = {{Ifempty|{{{party_leader30|}}}|{{{leader30|}}}}}
  | colour        = {{If empty|{{{colour30|}}}|{{{color30|}}}}}
  | colour        = {{Ifempty|{{{colour30|}}}|{{{color30|}}}}}
  | percentage    = {{{percentage30|}}}
  | percentage    = {{{percentage30|}}}
  | seats          = {{{seats30|}}}
  | seats          = {{{seats30|}}}
  | seats_before  = {{If empty|{{{seats30_before|}}}|{{{last_election30|}}}}}
  | seats_before  = {{Ifempty|{{{seats30_before|}}}|{{{last_election30|}}}}}
  | ongoing        = {{{ongoing|}}}
  | ongoing        = {{{ongoing|}}}
  | first_election = {{{first_election|}}}
  | first_election = {{{first_election|}}}
Line 385: Line 385:
  <tr>
  <tr>
   <th {{#if:{{{before_image|}}}|colspan="2"}} scope="col" style="width:50%;">{{#if:{{{before_election|}}}|{{#switch:{{{ongoing|}}}|counting|yes=Incumbent {{{title}}}|#default={{{title}}} before}}}}</th>
   <th {{#if:{{{before_image|}}}|colspan="2"}} scope="col" style="width:50%;">{{#if:{{{before_election|}}}|{{#switch:{{{ongoing|}}}|counting|yes=Incumbent {{{title}}}|#default={{{title}}} before}}}}</th>
   <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>
   <th {{#if:{{{after_image|}}}|colspan="2"}} scope="col" style="width:50%; text-align:right;">{{#switch:{{{ongoing|}}}|counting|yes=|#default={{#if:{{{after_election|}}}|{{Ifempty|{{{posttitle|}}}|{{Delink|1={{{title}}}}} after}}}}}}</th>
  </tr>
  </tr>
  <tr>{{#if:{{{before_image|}}}|
  <tr>{{#if:{{{before_image|}}}|

Revision as of 04:30, 3 July 2020

[edit] [purge] Template documentation

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

Usage

{{{election_name}}}
[[File:{{{country}}}|border|50px]]
← {{{previous_election}}} {{{election_date}}} {{{next_election}}} →

{{{seats_for_election}}}
{{{majority_seats}}} seats needed for a majority
Turnout {{{turnout}}}
Party Leader % Seats ±
{{{party1}}} {{{percentage1}}} 20
{{{party2}}} {{{percentage2}}} 10
This lists parties that won seats. See the complete results below.
[[File:{{{map}}}|frameless|alt={{{map_alt}}}|upright=1.3|{{{map_alt}}}]]
{{{map_caption}}}
{{{title}}} before
{{{before_election}}}
{{{before_party}}}
{{{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