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)
(Bugfix and a small design change, nothing too big.)
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>
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; background: linear-gradient(to top, AliceBlue, WhiteSmoke, LavenderBlush);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; background: linear-gradient(to top, AliceBlue, WhiteSmoke, LavenderBlush);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; background: linear-gradient(to top, AliceBlue, WhiteSmoke, LavenderBlush);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'''

Revision as of 17:33, 20 July 2023

{{{title1}}}
'
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
{{{old}}}
{{{officer}}} after
{{{new}}}


3023 Turkish parliamentary election
Adsadsdsdasasdsdads.png
← 3022 14 May 3023 3024 →
All 600 seats in the Grand National Assembly
301 seats needed for a majority
Turnout 30.10%
Bruh Bruh2
Leader Jeff Bob
Party GG Party Bruh Party
Alliance People's Alliance Nation Alliance
Leader since Bruh Bruh
Leader's seat Presidential Candidate Presidential Candidate
Last election 42.56%, 295 seats 22.65%, 146 seats
Seats won 268 169
Seat change 27 23
Popular vote 19,387,412 13,791,299
Percentage 35.61% 25.33%
Swing Example Example
Map
Map_caption
Speaker of the Assembly before
Example1
Speaker of the Assembly after
Example2


3023 Turkish parliamentary election
Adsadsdsdasasdsdads.png
← May 3023 14 May 4023 ? →
All 800 seats in the Grand National Assembly
401 seats needed for a majority
Turnout 31.00%
AghastBlock.png AghastBlock.png AghastBlock.png
Leader Jeff Bob Tayyip
Party GG Party Bruh Party Lightbulb Party
Alliance People's Alliance Nation Alliance BRUH Alliance
Leader since Bruh Bruh 202?
Leader's seat Presidential Candidate Presidential Candidate Ohio
Last election 42.56%, 295 seats 22.65%, 146 seats 42.69%, 69 seats
Seats won 268 169 42
Seat change 27 23 27
Popular vote 19,387,412 13,791,299 idk
Percentage 35.61% 25.33% 55.33%
Swing Example Example2 Example3
Map
Map_caption
Speaker of the Assembly before
Example1
Speaker of the Assembly after
Example2


Example usage:

{{Legislative_Election
|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
}}