Template:Legislative Election: Difference between revisions
Jump to navigation
Jump to search
(added 3rd slot, 3rd slot not complete yet.) |
(Added background to image and a colored bar bellow the image) |
||
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: | {| 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" | ||
|- | |- | ||
|<div> | |<div> | ||
Line 26: | Line 26: | ||
|- | |- | ||
|} | |} | ||
{| align="center" border="0" cellpadding="1" cellspacing="1" width="100%" style=" | {| 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;" | | ! style="width:auto;text-align:left;white-space:nowrap;" | | ||
{{#if:{{{image1<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;{{#if:{{{image2|}}}| |width:78%;}}" {{!}}{{{image1}}} }} | {{#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:{{{image2<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;{{#if:{{{image2|}}}| |display:none;}}" {{!}}{{{image2}}} }} | {{#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:{{{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}}} }} | |||
|- | |||
! | |||
! | |||
|- style = "background-color:#212121;" | |- 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="width:auto;float:left;background:#212121;text-align:left; {{#if:{{{name1|}}}}}" |<font color="white">Leader</font> | ||
Line 40: | Line 44: | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}} | | 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="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{alliance1|}}}| |display:none;}}" valign="top" |'''Alliance''' | ! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{alliance1|}}}| |display:none;}}" valign="top" |'''Alliance''' | ||
| 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: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''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leadersince2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince2|}}} | | 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="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{leaderseat1|}}}| |display:none;}}" valign="top" |'''Leader's seat''' | ! 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:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{leaderseat2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat2|}}} | | 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="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{lastelection1|}}}| |display:none;}}" valign="top" |'''Last election''' | ! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{lastelection1|}}}| |display:none;}}" valign="top" |'''Last election''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{lastelection2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection2|}}} | | 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="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{seatswon1|}}}| |display:none;}}" valign="top" |'''Seats won''' | ! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{seatswon1|}}}| |display:none;}}" valign="top" |'''Seats won''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatswon2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon2|}}} | | 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="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{seatchange1|}}}| |display:none;}}" valign="top" |'''Seat change''' | ! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{seatchange1|}}}| |display:none;}}" valign="top" |'''Seat change''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{seatchange2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange2|}}} | | 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="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{popular1|}}}| |display:none;}}" valign="top" |'''Popular vote''' | ! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{popular1|}}}| |display:none;}}" valign="top" |'''Popular vote''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}} | | 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="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{percentage1|}}}| |display:none;}}" valign="top" |'''Percentage''' | ! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{percentage1|}}}| |display:none;}}" valign="top" |'''Percentage''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}} | | 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="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{swing1|}}}| |display:none;}}" valign="top" |'''Swing''' | ! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{swing1|}}}| |display:none;}}" valign="top" |'''Swing''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{swing2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing2|}}} | | 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|}}} | |||
|- | |- | ||
|} | |} | ||
Line 111: | Line 125: | ||
|image1=Bruh | |image1=Bruh | ||
|image2=Bruh2 | |image2=Bruh2 | ||
|color1=blue | |||
|color2=green | |||
|name1=Jeff | |name1=Jeff | ||
|name2=Bob | |name2=Bob | ||
Line 149: | Line 165: | ||
|needed=401 seats needed for a majority | |needed=401 seats needed for a majority | ||
|turnout=31.00% | |turnout=31.00% | ||
|image1= | |image1=[[File:AghastBlock.png|150px]] | ||
|image2= | |image2=[[File:AghastBlock.png|150px]] | ||
| | |image3=[[File:AghastBlock.png|150px]] | ||
|color1=blue | |||
|color2=green | |||
|color3=orange | |||
|name1=Jeff | |name1=Jeff | ||
|name2=Bob | |name2=Bob | ||
|name3=Tayyip | |||
|party1=GG Party | |party1=GG Party | ||
|party2=Bruh Party | |party2=Bruh Party | ||
|party3=Lightbulb Party | |||
|alliance1= People's Alliance | |alliance1= People's Alliance | ||
|alliance2=Nation Alliance | |alliance2=Nation Alliance | ||
|alliance3=BRUH Alliance | |||
|leadersince1=Bruh | |leadersince1=Bruh | ||
|leadersince2=Bruh | |leadersince2=Bruh | ||
|leadersince3=202? | |||
|leaderseat1=Presidential Candidate | |leaderseat1=Presidential Candidate | ||
|leaderseat2=Presidential Candidate | |leaderseat2=Presidential Candidate | ||
|leaderseat3=Ohio | |||
|lastelection1=42.56%, 295 seats | |lastelection1=42.56%, 295 seats | ||
|lastelection2=22.65%, 146 seats | |lastelection2=22.65%, 146 seats | ||
|lastelection3=42.69%, 69 seats | |||
|seatswon1=268 | |seatswon1=268 | ||
|seatswon2=169 | |seatswon2=169 | ||
|seatswon3=42 | |||
|seatchange1=27 | |seatchange1=27 | ||
|seatchange2=23 | |seatchange2=23 | ||
|seatchange3=27 | |||
|popular1=19,387,412 | |popular1=19,387,412 | ||
|popular2=13,791,299 | |popular2=13,791,299 | ||
|popular3=idk | |||
|percentage1=35.61% | |percentage1=35.61% | ||
|percentage2=25.33% | |percentage2=25.33% | ||
|percentage3=55.33% | |||
|swing1=Example | |swing1=Example | ||
|swing2= | |swing2=Example2 | ||
|swing3=Example3 | |||
|map_image=Map | |map_image=Map | ||
|map_caption=Map_caption | |map_caption=Map_caption | ||
Line 193: | Line 223: | ||
|image1=Bruh | |image1=Bruh | ||
|image2=Bruh2 | |image2=Bruh2 | ||
|color1=blue | |||
|color2=green | |||
|name1=Jeff | |name1=Jeff | ||
|name2=Bob | |name2=Bob |
Revision as of 15:40, 20 July 2023
|
|
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 }}