Template:Legislative Election: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>SayerQT
No edit summary
(Undo revision 228196 by 515797455988850689 (talk))
Tag: Undo
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:380px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; {{#if:{{{image2|}}}{{{name2|}}}{{{party2|}}}{{{alliance2|}}}{{{leadersince2|}}}{{{leaderseat2|}}}{{{lastelection2|}}}{{{seatswon2|}}}{{{seatchange2|}}}{{{popular2|}}}{{{percentage2|}}}{{{swing2|}}}|width:385px;|width:270px;}} {{#if:{{{image3|}}}{{{name3|}}}{{{party3|}}}{{{alliance3|}}}{{{leadersince3|}}}{{{leaderseat3|}}}{{{lastelection3|}}}{{{seatswon3|}}}{{{seatchange3|}}}{{{popular3|}}}{{{percentage3|}}}{{{swing3|}}}|width:550px;| }} background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
|-
|-
|<div>
|<div>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
{| border="0" cellpadding="1" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
|-
|-
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:160%;" |{{{name|<font color="white">{{{title1}}}</font>}}}
! colspan="3" style="text-align:center; color:#FFFFFF; background:#212121; font-size:160%;" |{{{name|<font color="white">{{{title1|{{PAGENAME}}}}}</font>}}}
|- style="text-align:center;"
|- style="text-align:center;"
! colspan="3" style=" padding-top:4px;padding-bottom:4px;" | {{{flag|}}}
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{dateofelection|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{dateofelection|}}}
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}}{{#if:{{{flag|}}}| |display:none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;padding-bottom:1px;" |
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{seatsup|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{seatsup|}}}
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{previous|}}}| |display:none;}} text-align:left; font-weight:normal; color:#000000; line-height:130%; width: 33%; background:;" |← {{{previous|}}}
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{dateofelection|}}}| |display:none;}} text-align:center;font-weight:normal;color:#000000;line-height:130%;width:34%;padding-top:10px;padding-bottom:10px; background:;" |'''{{{dateofelection|}}}'''
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{next|}}}| |display:none;}} text-align:right; font-weight:normal; color:#000000; line-height:130%; width: 33%; background:;" |{{{next|}}}
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{needed|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{needed|}}}
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; {{#if:{{{previous|}}}{{{dateofelection|}}}{{{next|}}}| |display:none;}} color:#FFFFFF; background:#212121;" |
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{seatsup|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{seatsup|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{needed|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{needed|}}}
|-
! style="width:text-align:left;5em;white-space:nowrap;{{#if:{{{turnout|}}}| |display:none;}}" | '''Turnout'''
| colspan="1" style="text-align:center;{{#if:{{{turnout|}}}| |display:none;}}" |{{{turnout|}}}
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{turnout|}}}{{{needed|}}}{{{seatsup|}}}| |display:none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
|-
|-
|}
|}
{| align="center" border="0" cellpadding="4" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; width:100%; border:0px"
{| align="center" border="0" cellpadding="1" cellspacing="1" width="100%" style="text-align:center; border:1px;border-collapse:collapse;"
|-
!  style="width:auto;text-align:left;white-space:nowrap;" |
{{#if:{{{image1<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="box-shadow:0px 0px 0px 2px white inset;border-bottom: 8px solid {{{color1|}}};text-align:center;background-color:#;{{#if:{{{image2|}}}| |width:78%;}}" {{!}}{{{image1}}} }}
{{#if:{{{image2<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="box-shadow:0px 0px 0px 2px white inset;border-bottom: 8px solid {{{color2|}}};text-align:center;background-color:#;{{#if:{{{image2|}}}| |display:none;}}" {{!}}{{{image2}}} }}
{{#if:{{{image3<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="box-shadow:0px 0px 0px 2px white inset;border-bottom: 8px solid {{{color3|}}};text-align:center;background-color:#;{{#if:{{{image3|}}}| |display:none;}}" {{!}}{{{image3}}} }}
|-
|-
!
!
{{#if:{{{image1<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;" {{!}}{{{image1}}} }}
!
{{#if:{{{image2<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;" {{!}}{{{image2}}} }}
|- style = "background-color:#212121;"
! colspan="1" style="width:auto;float:left;background:#212121;text-align:left; {{#if:{{{name1|}}}}}" |<font color="white">Leader</font>
| colspan="1" style="text-align:center;background:#212121; {{#if:{{{name1|}}}}}{{#if:{{{name3|}}}|width:26%;|width:39%;}}{{#if:{{{name2|}}}| |width:78%;}}" class="infoboxcell" valign="top" |<font color="white">{{{name1}}}</font>
| colspan="1" style="text-align:center;background:#212121; {{#if:{{{name2|}}}}}{{#if:{{{name2|}}}| |display:none;}}{{#if:{{{name3|}}}|width:26%;|width:39%;}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font>
| colspan="1" style="width:26%;text-align:center;background:#212121; {{#if:{{{name3|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font color="white">{{{name3}}}</font>
|-
|-
! style="background:#212121; {{#if:{{{name1|}}}}}" |<font color="white">Leader</font>
! style="width:auto;border: dashed red 0px;float:left;text-align:left;{{#if:{{{party1|}}}| |display:none;}}" valign="top" |'''Party'''
! style="background:#212121; {{#if:{{{name1|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name1}}}</font>
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}}
! style="background:#212121; {{#if:{{{name2|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font>
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}}
| style="width:26%;border: dashed red 0px;text-align:center;{{#if:{{{party3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party3|}}}
|-
|-
| style="{{#if:{{{party1|}}}| |display:none;}}" valign="top" |'''Party'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{alliance1|}}}| |display:none;}}" valign="top" |'''Alliance'''
| style="{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}}
| style="{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}}
| style="width:26%;text-align:center;{{#if:{{{alliance3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance3|}}}
|-
|-
| style="{{#if:{{{alliance1|}}}| |display:none;}}" valign="top" |'''Alliance'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{leadersince1|}}}| |display:none;}}" valign="top" |'''Leader since'''
| style="{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}}
| style="{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leadersince2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince2|}}}
| style="width:26%;text-align:center;{{#if:{{{leadersince3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince3|}}}
|-
|-
| style="{{#if:{{{leadersince1|}}}| |display:none;}}" valign="top" |'''Leader since'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{leaderseat1|}}}| |display:none;}}" valign="top" |'''Leader's seat'''
| style="{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}}
| style="{{#if:{{{leadersince2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leaderseat2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat2|}}}
| style="width:26%;text-align:center;{{#if:{{{leaderseat3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat3|}}}
|-
|-
| style="{{#if:{{{leaderseat1|}}}| |display:none;}}" valign="top" |'''Leader's seat'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{lastelection1|}}}| |display:none;}}" valign="top" |'''Last election'''
| style="{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}}
| style="{{#if:{{{leaderseat2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{lastelection2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection2|}}}
| style="width:26%;text-align:center;{{#if:{{{lastelection3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection3|}}}
|-
|-
| style="{{#if:{{{lastelection1|}}}| |display:none;}}" valign="top" |'''Last election'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{seatswon1|}}}| |display:none;}}" valign="top" |'''Seats won'''
| style="{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}}
| style="{{#if:{{{lastelection2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatswon2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon2|}}}
| style="width:26%;text-align:center;{{#if:{{{seatswon3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon3|}}}
|-
|-
| style="{{#if:{{{seatswon1|}}}| |display:none;}}" valign="top" |'''Seats won'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{seatchange1|}}}| |display:none;}}" valign="top" |'''Seat change'''
| style="{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}}
| style="{{#if:{{{seatswon2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatchange2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange2|}}}
| style="width:26%;text-align:center;{{#if:{{{seatchange3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange3|}}}
|-
|-
| style="{{#if:{{{seatchange1|}}}| |display:none;}}" valign="top" |'''Seat change'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{popular1|}}}| |display:none;}}" valign="top" |'''Popular vote'''
| style="{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}}
| style="{{#if:{{{seatchange2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}}
| style="width:26%;text-align:center;{{#if:{{{popular3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular3|}}}
|-
|-
| style="{{#if:{{{popular1|}}}| |display:none;}}" valign="top" |'''Popular vote'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{percentage1|}}}| |display:none;}}" valign="top" |'''Percentage'''
| style="{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}}
| style="{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}}
| style="width:26%;text-align:center;{{#if:{{{percentage3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage3|}}}
|-
|-
| style="{{#if:{{{percentage1|}}}| |display:none;}}" valign="top" |'''Percentage'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{swing1|}}}| |display:none;}}" valign="top" |'''Swing'''
| style="{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}}
| style="{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{swing2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing2|}}}
| style="width:26%;text-align:center;{{#if:{{{swing3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing3|}}}
|-
|-
| style="{{#if:{{{swing1|}}}| |display:none;}}" valign="top" |'''Swing'''
|}
| style="{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}}
{| align="center" border="0" cellpadding="1" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;"
| style="{{#if:{{{swing2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing2|}}}
|-
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
Line 71: Line 98:
|-
|-
{{#if:{{{map_image<includeonly>|</includeonly>}}} |
{{#if:{{{map_image<includeonly>|</includeonly>}}} |
{{!}} colspan="3" style="text-align:center;background-color:#;" {{!}}{{{map_image}}}
{{!}} colspan="3" style="{{#if:{{{map_image|}}}| |display:none;}}text-align:center;background-color:#;" {{!}}{{{map_image}}}
}}
}}
|-
|-
Line 77: Line 104:
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|-
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
! colspan="3" style="{{#if:{{{map_image|}}}{{{map_caption|}}}| |display:none;}}{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|}
{| align="center" border="0" cellpadding="5" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;"
|-
|-
| style="{{#if:{{{old|}}}|}}" valign="top" align="left" |'''{{{officer}}} before'''
| colspan="1" style="{{#if:{{{old|}}}| |display:none;}};" valign="top" align="left" |'''{{{officer}}} before'''<br>{{{old|}}}
!
| colspan="1" style="{{#if:{{{new|}}}| |display:none;}};" valign="top" align="right" |'''{{{officer}}} after'''<br>{{{new|}}}
| style="{{#if:{{{new|}}}|}}" valign="top" align="right" |'''{{{officer}}} after'''
|-
| style="{{#if:{{{old|}}}|}}" class="infoboxcell" valign="top" align="left" |{{{old}}}
!
| style="{{#if:{{{new|}}}|}}" class="infoboxcell" valign="top" align="right" |{{{new}}}
|-
| style="{{#if:{{{previous|}}}|}}" valign="top" align="left" |'''Previous election'''
!
| style="{{#if:{{{next|}}}|}}" valign="top" align="right" |'''Next election'''
|-
| style="{{#if:{{{previous|}}}|}}" class="infoboxcell" valign="top" align="left" |{{{previous}}}
!
| style="{{#if:{{{next|}}}|}}" class="infoboxcell" valign="top" align="right" |{{{next}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|}
|}
|}
|}
<noinclude>
<noinclude>
This template can be used for any election for a group body that typically would involve political factions. A legislative election that might be nonpartisan or with few candidates or winners, also used if you have a multi-member executive, you may want to use Template:ComplexElectionInfobox and its variants.
Example usage:<pre>
Example usage:<pre>
{{Legislative_Election
{{Legislative_Election
|color=Example
|color=Border Color
|title1=Example
|title1=Title of the Election
|dateofelection=Example
|flag=Flag of the Country or Subdivision
|seatsup=Example
|dateofelection=Date election was held
|needed=Example
|seatsup=All X seats in the (Name of Body)
|needed=X seats needed for a majority
|turnout=XX.X%
|image1=Example
|image1=Example
|image2=Example
|image2=Example
|name1=Example
|color1=Example
|name2=Example
|color2=Example
|party1=Example
|name1=Leader of Faction with Most Seats
|party2=Example
|name2=Leader of Faction with Second-Most Seats
|alliance1=Example
|party1=Faction with Most Seats
|alliance2=Example
|party2=Faction with Second-Most Seats
|leadersince1=Example
|alliance1=If alliances, put here
|leadersince2=Example
|alliance2=If alliances, put here
|leaderseat1=Example
|leadersince1=When Leader took office
|leaderseat2=Example
|leadersince2=When Leader took office
|lastelection1=Example
|leaderseat1=Leader's seat
|lastelection2=Example
|leaderseat2=Leader's seat
|seatswon1=Example
|lastelection1=# seats, #.##%
|seatswon2=Example
|lastelection2=# seats, #.##%
|seatchange1=Example
|seatswon1=#
|seatchange2=Example
|seatswon2=#
|popular1=Example
|seatchange1=#
|popular2=Example
|seatchange2=#
|percentage1=Example
|popular1=#
|percentage2=Example
|popular2=#
|swing1=Example
|percentage1=#.##%
|swing2=Example
|percentage2=#.##%
|swing1=#.##%
|swing2=#.##%
|map_image=Example
|map_image=Example
|map_caption=Example
|map_caption=If you have a map, caption it here
|officer=Example
|officer=Name of head of body
|old=Example
|old=Old head of body
|new=Example
|new=New head of body
|previous=Example
|previous=Previous
|next=Example
|next=Next
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 12:13, 14 August 2023

Legislative Election
'
Turnout
{{{image1}}} {{{image2}}} {{{image3}}}
Leader {{{name1}}}
Party
Alliance
Leader since
Leader's seat
Last election
Seats won
Seat change
Popular vote
Percentage
Swing
{{{map_image}}}
{{{officer}}} before
{{{officer}}} after

This template can be used for any election for a group body that typically would involve political factions. A legislative election that might be nonpartisan or with few candidates or winners, also used if you have a multi-member executive, you may want to use Template:ComplexElectionInfobox and its variants.

Example usage:

{{Legislative_Election
|color=Border Color
|title1=Title of the Election
|flag=Flag of the Country or Subdivision
|dateofelection=Date election was held
|seatsup=All X seats in the (Name of Body)
|needed=X seats needed for a majority
|turnout=XX.X%
|image1=Example
|image2=Example
|color1=Example
|color2=Example
|name1=Leader of Faction with Most Seats
|name2=Leader of Faction with Second-Most Seats
|party1=Faction with Most Seats
|party2=Faction with Second-Most Seats
|alliance1=If alliances, put here
|alliance2=If alliances, put here
|leadersince1=When Leader took office
|leadersince2=When Leader took office
|leaderseat1=Leader's seat
|leaderseat2=Leader's seat
|lastelection1=# seats, #.##%
|lastelection2=# seats, #.##%
|seatswon1=#
|seatswon2=#
|seatchange1=#
|seatchange2=#
|popular1=#
|popular2=#
|percentage1=#.##%
|percentage2=#.##%
|swing1=#.##%
|swing2=#.##%
|map_image=Example
|map_caption=If you have a map, caption it here
|officer=Name of head of body
|old=Old head of body
|new=New head of body
|previous=Previous
|next=Next
}}