Template:Legislative Election: Difference between revisions
Jump to navigation
Jump to search
(Upgraded the template to look better) |
(added 3rd slot, 3rd slot not complete yet.) |
||
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:350px;|width:270px;}} 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:350px;|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 10: | Line 10: | ||
! 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="3" style="{{#if:{{{hideb|}}}|display: none;| |}}{{#if:{{{flag|}}}| |display:none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;padding-bottom:1px;" | | ||
|- | |- | ||
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{previous|}}}| |display:none;}} text-align: | ! 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:{{{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: | ! 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="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; {{#if:{{{previous|}}}{{{dateofelection|}}}{{{next|}}}| |display:none;}} color:#FFFFFF; background:#212121;" | | ! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; {{#if:{{{previous|}}}{{{dateofelection|}}}{{{next|}}}| |display:none;}} color:#FFFFFF; background:#212121;" | | ||
Line 33: | Line 33: | ||
|- 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> | ||
| colspan="1" style=" | | 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=" | | 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="width:auto;border: dashed red 0px;float:left;text-align:left;{{#if:{{{party1|}}}| |display:none;}}" valign="top" |'''Party''' | ! style="width:auto;border: dashed red 0px;float:left;text-align:left;{{#if:{{{party1|}}}| |display:none;}}" valign="top" |'''Party''' | ||
| style="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="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: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="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="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: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="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="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: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="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="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: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="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="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: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="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="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: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="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="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: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="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="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: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="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="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: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="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="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|}}} | ||
|- | |||
|} | |||
{| align="center" border="0" cellpadding="1" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;" | |||
|- | |- | ||
! 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 136: | Line 140: | ||
|previous=3022 | |previous=3022 | ||
|next=3024 | |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=Bruh | |||
|image2=Bruh2 | |||
|name3=Tayyip | |||
|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=May 3023 | |||
|next=? | |||
}} | }} | ||
Example usage:<pre> | Example usage:<pre> |
Revision as of 10:41, 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 |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 }}