Template:Legislative Election: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>SayerQT
No edit summary
>SayerQT
No edit summary
Line 23: Line 23:
{{#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;" |<font color="white">Leader</font>
! style="background:#212121; {{#if:{{{name1|}}}}}" |<font color="white">Leader</font>
! style="background:#212121; {{#if:{{{name1|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name1}}}</font>
! style="background:#212121; {{#if:{{{name1|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name1}}}</font>
! style="background:#212121; {{#if:{{{name2|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font>
! style="background:#212121; {{#if:{{{name2|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font>
|-
|-
| style="" valign="top" |'''Party'''
| style="{{#if:{{{party1|}}}| |display:none;}}" valign="top" |'''Party'''
| style="{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}}
| style="{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}}
| style="{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}}
| style="{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}}
|-
|-
| style="" valign="top" |'''Alliance'''
| style="{{#if:{{{alliance1|}}}| |display:none;}}" valign="top" |'''Alliance'''
| style="{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}}
| style="{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}}
| style="{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}}
| style="{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}}
|-
|-
| style="" valign="top" |'''Leader since'''
| style="{{#if:{{{leadersince1|}}}| |display:none;}}" valign="top" |'''Leader since'''
| style="{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}}
| style="{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}}
| style="{{#if:{{{leadersince2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince2|}}}
| style="{{#if:{{{leadersince2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince2|}}}
|-
|-
| style="" valign="top" |'''Leader's seat'''
| style="{{#if:{{{leaderseat1|}}}| |display:none;}}" valign="top" |'''Leader's seat'''
| style="{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}}
| style="{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}}
| style="{{#if:{{{leaderseat2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat2|}}}
| style="{{#if:{{{leaderseat2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat2|}}}
|-
|-
| style="" valign="top" |'''Last election'''
| style="{{#if:{{{lastelection1|}}}| |display:none;}}" valign="top" |'''Last election'''
| style="{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}}
| style="{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}}
| style="{{#if:{{{lastelection2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection2|}}}
| style="{{#if:{{{lastelection2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection2|}}}
|-
|-
| style="" valign="top" |'''Seats won'''
| style="{{#if:{{{seatswon1|}}}| |display:none;}}" valign="top" |'''Seats won'''
| style="{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}}
| style="{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}}
| style="{{#if:{{{seatswon2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon2|}}}
| style="{{#if:{{{seatswon2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon2|}}}
|-
|-
| style="" valign="top" |'''Seat change'''
| style="{{#if:{{{seatchange1|}}}| |display:none;}}" valign="top" |'''Seat change'''
| style="{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}}
| style="{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}}
| style="{{#if:{{{seatchange2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange2|}}}
| style="{{#if:{{{seatchange2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange2|}}}
|-
|-
| style="" valign="top" |'''Popular vote'''
| style="{{#if:{{{popular1|}}}| |display:none;}}" valign="top" |'''Popular vote'''
| style="{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}}
| style="{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}}
| style="{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}}
| style="{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}}
|-
|-
| style="" valign="top" |'''Percentage'''
| style="{{#if:{{{percentage1|}}}| |display:none;}}" valign="top" |'''Percentage'''
| style="{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}}
| style="{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}}
| style="{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}}
| style="{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}}
|-
|-
| style="" valign="top" |'''Swing'''
| style="{{#if:{{{swing1|}}}| |display:none;}}" valign="top" |'''Swing'''
| style="{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}}
| style="{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}}
| style="{{#if:{{{swing2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing2|}}}
| style="{{#if:{{{swing2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing2|}}}

Revision as of 05:47, 2 March 2022

{{{title1}}}
{{{image1}}} {{{image2}}}
Leader {{{name1}}} {{{name2}}}
Party
Alliance
Leader since
Leader's seat
Last election
Seats won
Seat change
Popular vote
Percentage
Swing
{{{map_image}}}
{{{officer}}} before {{{officer}}} after
{{{old}}} {{{new}}}
Previous election Next election
{{{previous}}} {{{next}}}


Example usage:

{{Legislative_Election
|color=Example
|title1=Example
|dateofelection=Example
|seatsup=Example
|needed=Example
|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
}}