Template:Legislative Election: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Added background to image and a colored bar bellow the image)
(Undo revision 228196 by 515797455988850689 (talk))
Tag: Undo
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| 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:480px;| }} 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="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 29: Line 29:
|-
|-
!  style="width:auto;text-align:left;white-space:nowrap;" |
!  style="width:auto;text-align:left;white-space:nowrap;" |
{{#if:{{{image1<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="background: linear-gradient(to top, AliceBlue, WhiteSmoke, LavenderBlush);border-bottom: 8px solid {{{color1|}}};text-align:center;background-color:#;{{#if:{{{image2|}}}| |width:78%;}}" {{!}}{{{image1}}} }}
{{#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="background: linear-gradient(to top, AliceBlue, WhiteSmoke, LavenderBlush);border-bottom: 8px solid {{{color2|}}};text-align:center;background-color:#;{{#if:{{{image2|}}}| |display:none;}}" {{!}}{{{image2}}} }}
{{#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="background: linear-gradient(to top, AliceBlue, WhiteSmoke, LavenderBlush);border-bottom: 8px solid {{{color3|}}};text-align:center;background-color:#;{{#if:{{{image3|}}}| |display:none;}}" {{!}}{{{image3}}} }}
{{#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}}} }}
|-
|-
!
!
Line 49: Line 49:
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}}
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}}
| 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:{{{alliancee|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance3|}}}
| style="width:26%;text-align:center;{{#if:{{{alliance3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance3|}}}
|-
|-
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{leadersince1|}}}| |display:none;}}" valign="top" |'''Leader since'''
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{leadersince1|}}}| |display:none;}}" valign="top" |'''Leader since'''
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>
<noinclude>{{Legislative_Election
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.
|color=black
|title1=3023 Turkish parliamentary election
|flag=[[File:Adsadsdsdasasdsdads.png|50px|link=Aurora:Turkey]]
|dateofelection=14 May 3023
|seatsup=All 600 seats in the Grand National Assembly
|needed=301 seats needed for a majority
|turnout=30.10%
|image1=Bruh
|image2=Bruh2
|color1=blue
|color2=green
|name1=Jeff
|name2=Bob
|party1=GG Party
|party2=Bruh Party
|alliance1= People's Alliance
|alliance2=Nation Alliance
|leadersince1=Bruh
|leadersince2=Bruh
|leaderseat1=Presidential Candidate
|leaderseat2=Presidential Candidate
|lastelection1=42.56%, 295 seats
|lastelection2=22.65%, 146 seats
|seatswon1=268
|seatswon2=169
|seatchange1=27
|seatchange2=23
|popular1=19,387,412
|popular2=13,791,299
|percentage1=35.61%
|percentage2=25.33%
|swing1=Example
|swing2=Example
|map_image=Map
|map_caption=Map_caption
|officer=Speaker of the Assembly
|old=Example1
|new=Example2
|previous=3022
|next=3024
}}
{{Legislative_Election
|color=red
|title1=3023 Turkish parliamentary election
|flag=[[File:Adsadsdsdasasdsdads.png|50px|link=Aurora:Turkey]]
|dateofelection=14 May 4023
|seatsup=All 800 seats in the Grand National Assembly
|needed=401 seats needed for a majority
|turnout=31.00%
|image1=[[File:AghastBlock.png|150px]]
|image2=[[File:AghastBlock.png|150px]]
|image3=[[File:AghastBlock.png|150px]]
|color1=blue
|color2=green
|color3=orange
|name1=Jeff
|name2=Bob
|name3=Tayyip
|party1=GG Party
|party2=Bruh Party
|party3=Lightbulb Party
|alliance1= People's Alliance
|alliance2=Nation Alliance
|alliance3=BRUH Alliance
|leadersince1=Bruh
|leadersince2=Bruh
|leadersince3=202?
|leaderseat1=Presidential Candidate
|leaderseat2=Presidential Candidate
|leaderseat3=Ohio
|lastelection1=42.56%, 295 seats
|lastelection2=22.65%, 146 seats
|lastelection3=42.69%, 69 seats
|seatswon1=268
|seatswon2=169
|seatswon3=42
|seatchange1=27
|seatchange2=23
|seatchange3=27
|popular1=19,387,412
|popular2=13,791,299
|popular3=idk
|percentage1=35.61%
|percentage2=25.33%
|percentage3=55.33%
|swing1=Example
|swing2=Example2
|swing3=Example3
|map_image=Map
|map_caption=Map_caption
|officer=Speaker of the Assembly
|old=Example1
|new=Example2
|previous=May 3023
|next=?
}}
Example usage:<pre>
Example usage:<pre>
{{Legislative_Election
{{Legislative_Election
|color=black
|color=Border Color
|title1=3023 Turkish parliamentary election
|title1=Title of the Election
|flag=[[File:Adsadsdsdasasdsdads.png|50px|link=Aurora:Turkey]]
|flag=Flag of the Country or Subdivision
|dateofelection=14 May 3023
|dateofelection=Date election was held
|seatsup=All 600 seats in the Grand National Assembly
|seatsup=All X seats in the (Name of Body)
|needed=301 seats needed for a majority
|needed=X seats needed for a majority
|turnout=30.10%
|turnout=XX.X%
|image1=Bruh
|image1=Example
|image2=Bruh2
|image2=Example
|color1=blue
|color1=Example
|color2=green
|color2=Example
|name1=Jeff
|name1=Leader of Faction with Most Seats
|name2=Bob
|name2=Leader of Faction with Second-Most Seats
|party1=GG Party
|party1=Faction with Most Seats
|party2=Bruh Party
|party2=Faction with Second-Most Seats
|alliance1= People's Alliance
|alliance1=If alliances, put here
|alliance2=Nation Alliance
|alliance2=If alliances, put here
|leadersince1=Bruh
|leadersince1=When Leader took office
|leadersince2=Bruh
|leadersince2=When Leader took office
|leaderseat1=Presidential Candidate
|leaderseat1=Leader's seat
|leaderseat2=Presidential Candidate
|leaderseat2=Leader's seat
|lastelection1=42.56%, 295 seats
|lastelection1=# seats, #.##%
|lastelection2=22.65%, 146 seats
|lastelection2=# seats, #.##%
|seatswon1=268
|seatswon1=#
|seatswon2=169
|seatswon2=#
|seatchange1=27
|seatchange1=#
|seatchange2=23
|seatchange2=#
|popular1=19,387,412
|popular1=#
|popular2=13,791,299
|popular2=#
|percentage1=35.61%
|percentage1=#.##%
|percentage2=25.33%
|percentage2=#.##%
|swing1=Example
|swing1=#.##%
|swing2=Example
|swing2=#.##%
|map_image=Map
|map_image=Example
|map_caption=Map_caption
|map_caption=If you have a map, caption it here
|officer=Speaker of the Assembly
|officer=Name of head of body
|old=Example1
|old=Old head of body
|new=Example2
|new=New head of body
|previous=3022
|previous=Previous
|next=3024
|next=Next
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 13: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
}}