Template:Legislative Election: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Updated some stuff, will update again later) |
||
Line 2: | Line 2: | ||
|- | |- | ||
|<div> | |<div> | ||
{| border="0" cellpadding=" | {| border="0" cellpadding="1" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | ||
|- | |- | ||
! colspan=" | ! colspan="3" style="text-align:center; color:#FFFFFF; background:#212121; font-size:160%;" |{{{name|<font color="white">{{{title1}}}</font>}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
! colspan=" | ! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{previous|}}}| |display:none;}} text-align:center; 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%; background:;" |'''{{{dateofelection|}}}''' | |||
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{next|}}}| |display:none;}} text-align:center; font-weight:normal; color:#000000; line-height:130%; width: 33%; background:;" |{{{next|}}} → | |||
|- | |- | ||
! colspan=" | ! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | | ||
|- | |- | ||
! colspan=" | ! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{seatsup|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{seatsup|}}} | ||
|- | |- | ||
! colspan=" | ! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{needed|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{needed|}}} | ||
|- style=" | |- | ||
! style="width:text-align:left;5em;white-space:nowrap;{{#if:{{{turnout|}}}| |display:none;}}" | '''Turnout''' | |||
| colspan="1" style="text-align:center;{{#if:{{{turnout|}}}| |display:none;}}" |{{{turnout|}}} | |||
|- | |||
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | | |||
|- | |- | ||
|} | |} | ||
{| align="center" border="0" cellpadding=" | {| align="center" border="0" cellpadding="1" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; width:100%; border:0px;table-layout: fixed; width: 100%;" | ||
|- | |- | ||
! | ! style="width:auto;text-align:left;white-space:nowrap;" | | ||
{{#if:{{{image1<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;" {{!}}{{{image1}}} }} | {{#if:{{{image1<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;" {{!}}{{{image1}}} }} | ||
{{#if:{{{image2<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;" {{!}}{{{image2}}} }} | {{#if:{{{image2<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;" {{!}}{{{image2}}} }} | ||
|- style = "background:#212121;" | |||
! style="float:left;display: inline-block;width:fit-content;background:#212121;text-align:left; {{#if:{{{name1|}}}}}" |<font color="white">Leader</font> | |||
| style="text-align:center;background:#212121; {{#if:{{{name1|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name1}}}</font> | |||
| style="text-align:center;background:#212121; {{#if:{{{name2|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font> | |||
|- | |- | ||
! style=" | ! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{party1|}}}| |display:none;}}" valign="top" |'''Party''' | ||
| style="text-align:center;{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}} | |||
| style="text-align:center;{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}} | |||
| style="{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}} | |||
| style="{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}} | |||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{alliance1|}}}| |display:none;}}" valign="top" |'''Alliance''' | |||
| style="{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}} | | style="text-align:center;{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}} | ||
| style="{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}} | | style="text-align:center;{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}} | ||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{leadersince1|}}}| |display:none;}}" valign="top" |'''Leader since''' | |||
| style="{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}} | | style="text-align:center;{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}} | ||
| style="{{#if:{{{leadersince2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince2|}}} | | style="text-align:center;{{#if:{{{leadersince2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince2|}}} | ||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{leaderseat1|}}}| |display:none;}}" valign="top" |'''Leader's seat''' | |||
| style="{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}} | | style="text-align:center;{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}} | ||
| style="{{#if:{{{leaderseat2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat2|}}} | | style="text-align:center;{{#if:{{{leaderseat2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat2|}}} | ||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{lastelection1|}}}| |display:none;}}" valign="top" |'''Last election''' | |||
| style="{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}} | | style="text-align:center;{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}} | ||
| style="{{#if:{{{lastelection2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection2|}}} | | style="text-align:center;{{#if:{{{lastelection2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection2|}}} | ||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{seatswon1|}}}| |display:none;}}" valign="top" |'''Seats won''' | |||
| style="{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}} | | style="text-align:center;{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}} | ||
| style="{{#if:{{{seatswon2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon2|}}} | | style="text-align:center;{{#if:{{{seatswon2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon2|}}} | ||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{seatchange1|}}}| |display:none;}}" valign="top" |'''Seat change''' | |||
| style="{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}} | | style="text-align:center;{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}} | ||
| style="{{#if:{{{seatchange2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange2|}}} | | style="text-align:center;{{#if:{{{seatchange2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange2|}}} | ||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{popular1|}}}| |display:none;}}" valign="top" |'''Popular vote''' | |||
| style="{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}} | | style="text-align:center;{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}} | ||
| style="{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}} | | style="text-align:center;{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}} | ||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{percentage1|}}}| |display:none;}}" valign="top" |'''Percentage''' | |||
| style="{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}} | | style="text-align:center;{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}} | ||
| style="{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}} | | style="text-align:center;{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}} | ||
|- | |- | ||
! style="float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{swing1|}}}| |display:none;}}" valign="top" |'''Swing''' | |||
| style="{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}} | | style="text-align:center;{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}} | ||
| style="{{#if:{{{swing2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing2|}}} | | style="text-align:center;{{#if:{{{swing2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing2|}}} | ||
|- | |- | ||
! 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 105: | Line 111: | ||
|seatsup=All 600 seats in the Grand National Assembly | |seatsup=All 600 seats in the Grand National Assembly | ||
|needed=301 seats needed for a majority | |needed=301 seats needed for a majority | ||
|turnout=30.10% | |||
|image1=Example | |image1=Example | ||
|image2=Example | |image2=Example | ||
|name1= | |name1=a | ||
|name2= | |name2=bb | ||
|party1=Example | |party1=Example | ||
|party2=Example | |party2=Example | ||
Line 144: | Line 151: | ||
|seatsup=Example | |seatsup=Example | ||
|needed=Example | |needed=Example | ||
|turnout=30.10% | |||
|image1=Example | |image1=Example | ||
|image2=Example | |image2=Example |
Revision as of 22:39, 19 July 2023
|
|
Example usage:
{{Legislative_Election |color=black |title1=Example |dateofelection=Example |seatsup=Example |needed=Example |turnout=30.10% |image1=Example |image2=Example |name1=Example |name2=Example |party1=Example |party2=Example |alliance1=Example |alliance2=Example |leadersince1=Example |leadersince2=Example |leaderseat1=Example |leaderseat2=Example |lastelection1=Example |lastelection2=Example |seatswon1=Example |seatswon2=Example |seatchange1=Example |seatchange2=Example |popular1=Example |popular2=Example |percentage1=Example |percentage2=Example |swing1=Example |swing2=Example |map_image=Example |map_caption=Example |officer=Example |old=Example |new=Example |previous=Example |next=Example }}