Template:Legislative Election: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
(Undo revision 228196 by 515797455988850689 (talk))
Tag: Undo
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
{| border="0" cellpadding="1" 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="3" 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="3" style=" padding-top:4px;padding-bottom:4px;" | {{{flag|}}}
Line 109: Line 109:
{| align="center" border="0" cellpadding="5" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;"
{| align="center" border="0" cellpadding="5" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;"
|-
|-
| colspan="1" style="{{#if:{{{old|}}}|}};"  valign="top" align="left" |'''{{{officer}}} before'''<br>{{{old}}}
| colspan="1" style="{{#if:{{{old|}}}| |display:none;}};"  valign="top" align="left" |'''{{{officer}}} before'''<br>{{{old|}}}
| colspan="1" style="{{#if:{{{new|}}}|}};" valign="top" align="right" |'''{{{officer}}} after'''<br>{{{new}}}
| colspan="1" style="{{#if:{{{new|}}}| |display:none;}};" valign="top" align="right" |'''{{{officer}}} after'''<br>{{{new|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|}
|}
|}
|}
 
<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
|flag=Example
|flag=Flag of the Country or Subdivision
|dateofelection=XX XXX XXXX
|dateofelection=Date election was held
|seatsup=All X seats in the XX
|seatsup=All X seats in the (Name of Body)
|needed=XX seats needed for a majority
|needed=X seats needed for a majority
|turnout=XX.X%
|turnout=XX.X%
|image1=Example
|image1=Example
Line 128: Line 129:
|color1=Example
|color1=Example
|color2=Example
|color2=Example
|name1=Example
|name1=Leader of Faction with Most Seats
|name2=Example
|name2=Leader of Faction with Second-Most Seats
|party1=Example
|party1=Faction with Most Seats
|party2=Example
|party2=Faction with Second-Most Seats
|alliance1=Example
|alliance1=If alliances, put here
|alliance2=Example
|alliance2=If alliances, put here
|leadersince1=Example
|leadersince1=When Leader took office
|leadersince2=Example
|leadersince2=When Leader took office
|leaderseat1=Example
|leaderseat1=Leader's seat
|leaderseat2=Example
|leaderseat2=Leader's seat
|lastelection1=Example
|lastelection1=# seats, #.##%
|lastelection2=Example
|lastelection2=# seats, #.##%
|seatswon1=Example
|seatswon1=#
|seatswon2=Example
|seatswon2=#
|seatchange1=Example
|seatchange1=#
|seatchange2=Example
|seatchange2=#
|popular1=Example
|popular1=#
|popular2=Example
|popular2=#
|percentage1=Example
|percentage1=#.##%
|percentage2=Example
|percentage2=#.##%
|swing1=Example
|swing1=#.##%
|swing2=Example
|swing2=#.##%
|map_image=Example
|map_image=Example
|map_caption=Example
|map_caption=If you have a map, caption it here
|officer=Example Officer
|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
}}