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..." |
ifempty |
||
| Line 46: | Line 46: | ||
| heading = {{{heading1|}}} | | heading = {{{heading1|}}} | ||
| party = {{{party1|}}} | | party = {{{party1|}}} | ||
| party_leader = {{ | | party_leader = {{Ifempty|{{{party_leader1|}}}|{{{leader1|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour1|}}}|{{{color1|}}}}} | ||
| percentage = {{{percentage1|}}} | | percentage = {{{percentage1|}}} | ||
| seats = {{{seats1|}}} | | seats = {{{seats1|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader2|}}}|{{{leader2|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour2|}}}|{{{color2|}}}}} | ||
| percentage = {{{percentage2|}}} | | percentage = {{{percentage2|}}} | ||
| seats = {{{seats2|}}} | | seats = {{{seats2|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader3|}}}|{{{leader3|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour3|}}}|{{{color3|}}}}} | ||
| percentage = {{{percentage3|}}} | | percentage = {{{percentage3|}}} | ||
| seats = {{{seats3|}}} | | seats = {{{seats3|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader4|}}}|{{{leader4|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour4|}}}|{{{color4|}}}}} | ||
| percentage = {{{percentage4|}}} | | percentage = {{{percentage4|}}} | ||
| seats = {{{seats4|}}} | | seats = {{{seats4|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader5|}}}|{{{leader5|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour5|}}}|{{{color5|}}}}} | ||
| percentage = {{{percentage5|}}} | | percentage = {{{percentage5|}}} | ||
| seats = {{{seats5|}}} | | seats = {{{seats5|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader6|}}}|{{{leader6|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour6|}}}|{{{color6|}}}}} | ||
| percentage = {{{percentage6|}}} | | percentage = {{{percentage6|}}} | ||
| seats = {{{seats6|}}} | | seats = {{{seats6|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader7|}}}|{{{leader7|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour7|}}}|{{{color7|}}}}} | ||
| percentage = {{{percentage7|}}} | | percentage = {{{percentage7|}}} | ||
| seats = {{{seats7|}}} | | seats = {{{seats7|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader8|}}}|{{{leader8|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour8|}}}|{{{color8|}}}}} | ||
| percentage = {{{percentage8|}}} | | percentage = {{{percentage8|}}} | ||
| seats = {{{seats8|}}} | | seats = {{{seats8|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader9|}}}|{{{leader9|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour9|}}}|{{{color9|}}}}} | ||
| percentage = {{{percentage9|}}} | | percentage = {{{percentage9|}}} | ||
| seats = {{{seats9|}}} | | seats = {{{seats9|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader10|}}}|{{{leader10|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour10|}}}|{{{color10|}}}}} | ||
| percentage = {{{percentage10|}}} | | percentage = {{{percentage10|}}} | ||
| seats = {{{seats10|}}} | | seats = {{{seats10|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader11|}}}|{{{leader11|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour11|}}}|{{{color11|}}}}} | ||
| percentage = {{{percentage11|}}} | | percentage = {{{percentage11|}}} | ||
| seats = {{{seats11|}}} | | seats = {{{seats11|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader12|}}}|{{{leader12|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour12|}}}|{{{color12|}}}}} | ||
| percentage = {{{percentage12|}}} | | percentage = {{{percentage12|}}} | ||
| seats = {{{seats12|}}} | | seats = {{{seats12|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader13|}}}|{{{leader13|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour13|}}}|{{{color13|}}}}} | ||
| percentage = {{{percentage13|}}} | | percentage = {{{percentage13|}}} | ||
| seats = {{{seats13|}}} | | seats = {{{seats13|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader14|}}}|{{{leader14|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour14|}}}|{{{color14|}}}}} | ||
| percentage = {{{percentage14|}}} | | percentage = {{{percentage14|}}} | ||
| seats = {{{seats14|}}} | | seats = {{{seats14|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader15|}}}|{{{leader15|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour15|}}}|{{{color15|}}}}} | ||
| percentage = {{{percentage15|}}} | | percentage = {{{percentage15|}}} | ||
| seats = {{{seats15|}}} | | seats = {{{seats15|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader16|}}}|{{{leader16|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour16|}}}|{{{color16|}}}}} | ||
| percentage = {{{percentage16|}}} | | percentage = {{{percentage16|}}} | ||
| seats = {{{seats16|}}} | | seats = {{{seats16|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader17|}}}|{{{leader17|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour17|}}}|{{{color17|}}}}} | ||
| percentage = {{{percentage17|}}} | | percentage = {{{percentage17|}}} | ||
| seats = {{{seats17|}}} | | seats = {{{seats17|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader18|}}}|{{{leader18|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour18|}}}|{{{color18|}}}}} | ||
| percentage = {{{percentage18|}}} | | percentage = {{{percentage18|}}} | ||
| seats = {{{seats18|}}} | | seats = {{{seats18|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader19|}}}|{{{leader19|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour19|}}}|{{{color19|}}}}} | ||
| percentage = {{{percentage19|}}} | | percentage = {{{percentage19|}}} | ||
| seats = {{{seats19|}}} | | seats = {{{seats19|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader20|}}}|{{{leader20|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour20|}}}|{{{color20|}}}}} | ||
| percentage = {{{percentage20|}}} | | percentage = {{{percentage20|}}} | ||
| seats = {{{seats20|}}} | | seats = {{{seats20|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader21|}}}|{{{leader21|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour21|}}}|{{{color21|}}}}} | ||
| percentage = {{{percentage21|}}} | | percentage = {{{percentage21|}}} | ||
| seats = {{{seats21|}}} | | seats = {{{seats21|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader22|}}}|{{{leader22|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour22|}}}|{{{color22|}}}}} | ||
| percentage = {{{percentage22|}}} | | percentage = {{{percentage22|}}} | ||
| seats = {{{seats22|}}} | | seats = {{{seats22|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader23|}}}|{{{leader23|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour23|}}}|{{{color23|}}}}} | ||
| percentage = {{{percentage23|}}} | | percentage = {{{percentage23|}}} | ||
| seats = {{{seats23|}}} | | seats = {{{seats23|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader24|}}}|{{{leader24|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour24|}}}|{{{color24|}}}}} | ||
| percentage = {{{percentage24|}}} | | percentage = {{{percentage24|}}} | ||
| seats = {{{seats24|}}} | | seats = {{{seats24|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader25|}}}|{{{leader25|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour25|}}}|{{{color25|}}}}} | ||
| percentage = {{{percentage25|}}} | | percentage = {{{percentage25|}}} | ||
| seats = {{{seats25|}}} | | seats = {{{seats25|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader26|}}}|{{{leader26|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour26|}}}|{{{color26|}}}}} | ||
| percentage = {{{percentage26|}}} | | percentage = {{{percentage26|}}} | ||
| seats = {{{seats26|}}} | | seats = {{{seats26|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader27|}}}|{{{leader27|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour27|}}}|{{{color27|}}}}} | ||
| percentage = {{{percentage27|}}} | | percentage = {{{percentage27|}}} | ||
| seats = {{{seats27|}}} | | seats = {{{seats27|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader28|}}}|{{{leader28|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour28|}}}|{{{color28|}}}}} | ||
| percentage = {{{percentage28|}}} | | percentage = {{{percentage28|}}} | ||
| seats = {{{seats28|}}} | | seats = {{{seats28|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader29|}}}|{{{leader29|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour29|}}}|{{{color29|}}}}} | ||
| percentage = {{{percentage29|}}} | | percentage = {{{percentage29|}}} | ||
| seats = {{{seats29|}}} | | seats = {{{seats29|}}} | ||
| seats_before = {{ | | 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 = {{ | | party_leader = {{Ifempty|{{{party_leader30|}}}|{{{leader30|}}}}} | ||
| colour = {{ | | colour = {{Ifempty|{{{colour30|}}}|{{{color30|}}}}} | ||
| percentage = {{{percentage30|}}} | | percentage = {{{percentage30|}}} | ||
| seats = {{{seats30|}}} | | seats = {{{seats30|}}} | ||
| seats_before = {{ | | 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|}}}|{{ | <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] []
Template documentation
This infobox is used for a parliamentary election with multiple parties winning seats.
Usage
| [[File:{{{country}}}|border|50px]] | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
{{{seats_for_election}}} {{{majority_seats}}} seats needed for a majority | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Turnout | {{{turnout}}} | |||||||||||||||||||||||
This lists parties that won seats. See the complete results below.
| ||||||||||||||||||||||||
{{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
| The above documentation is transcluded from Template:Infobox legislative election/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |