Template:Legislative Election: Difference between revisions
Jump to navigation
Jump to search
>Weeaboo11 No edit summary |
>SayerQT No edit summary |
||
Line 1: | Line 1: | ||
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width: | {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:380px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5" | ||
|- | |- | ||
|<div> | |<div> | ||
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | ||
|- | |- | ||
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size: | ! colspan="2" 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="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{dateofelection|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{dateofelection}}} | ! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{dateofelection|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{dateofelection|}}} | ||
|- | |- | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{seatsup|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{seatsup}}} | ! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{seatsup|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{seatsup|}}} | ||
|- | |- | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{needed|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{needed}}} | ! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{needed|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{needed|}}} | ||
|- | |- | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | | ! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | | ||
Line 17: | Line 17: | ||
|- | |- | ||
|} | |} | ||
{| align="center" border="0" cellpadding=" | {| align="center" border="0" cellpadding="4" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; width:100%; border:0px" | ||
|- | |- | ||
|} | ! | ||
{| | {{#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}}} }} | ||
! | |- | ||
! | ! style="background:#212121;" |<font color="white">Leader</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="" valign="top" |'''Party''' | |||
| style="{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}} | |||
| style="{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}} | |||
|- | |||
| style="" valign="top" |'''Alliance''' | |||
| style="{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}} | |||
| style="{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}} | |||
|- | |||
| style="" valign="top" |'''Leader since''' | |||
| style="{{#if:{{{leadersince1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince1|}}} | |||
| style="{{#if:{{{leadersince2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leadersince2|}}} | |||
|- | |||
| style="" valign="top" |'''Leader's seat''' | |||
| style="{{#if:{{{leaderseat1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat1|}}} | |||
| style="{{#if:{{{leaderseat2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{leaderseat2|}}} | |||
|- | |||
| style="" valign="top" |'''Last election''' | |||
| style="{{#if:{{{lastelection1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection1|}}} | |||
| style="{{#if:{{{lastelection2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{lastelection2|}}} | |||
|- | |||
| style="" valign="top" |'''Seats won''' | |||
| style="{{#if:{{{seatswon1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon1|}}} | |||
| style="{{#if:{{{seatswon2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatswon2|}}} | |||
|- | |||
| style="" valign="top" |'''Seat change''' | |||
| style="{{#if:{{{seatchange1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange1|}}} | |||
| style="{{#if:{{{seatchange2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{seatchange2|}}} | |||
|- | |||
| style="" valign="top" |'''Popular vote''' | |||
| style="{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}} | |||
| style="{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}} | |||
|- | |||
| style="" valign="top" |'''Percentage''' | |||
| style="{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}} | |||
| style="{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}} | |||
|- | |||
| style="" valign="top" |'''Swing''' | |||
| style="{{#if:{{{swing1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{swing1|}}} | |||
| style="{{#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;" | | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
|- | |||
{{#if:{{{map_image<includeonly>|</includeonly>}}} | | |||
{{!}} colspan="3" style="text-align:center;background-color:#;" {{!}}{{{map_image}}} | |||
}} | |||
|- | |||
| colspan="3" style="{{#if:{{{map_caption|}}}| }}" class="infoboxcell" valign="top" align="middle" |{{{map_caption|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
|- | |- | ||
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| | |||
| | |||
|- | |- | ||
|{{#if:{{{ | | style="{{#if:{{{old|}}}|}}" valign="top" align="left" |'''{{{officer}}} before''' | ||
! | |||
| style="{{#if:{{{new|}}}|}}" valign="top" align="right" |'''{{{officer}}} after''' | |||
|{{#if:{{{ | |||
|- | |- | ||
|{{#if:{{{ | | style="{{#if:{{{old|}}}|}}" class="infoboxcell" valign="top" align="left" |{{{old}}} | ||
! | |||
| style="{{#if:{{{new|}}}|}}" class="infoboxcell" valign="top" align="right" |{{{new}}} | |||
|{{#if:{{{ | |||
|- | |- | ||
|{{#if:{{{ | | style="{{#if:{{{previous|}}}|}}" valign="top" align="left" |'''Previous election''' | ||
! | |||
|{{#if:{{{ | | style="{{#if:{{{next|}}}|}}" valign="top" align="right" |'''Next election''' | ||
|- | |- | ||
|{{#if:{{{ | | style="{{#if:{{{previous|}}}|}}" class="infoboxcell" valign="top" align="left" |{{{previous}}} | ||
|{{#if:{{{ | ! | ||
| | | style="{{#if:{{{next|}}}|}}" class="infoboxcell" valign="top" align="right" |{{{next}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
|} | |} | ||
|} | |} | ||
Line 63: | Line 107: | ||
|seatsup=Example | |seatsup=Example | ||
|needed=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 | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 05:43, 2 March 2022
|
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 }}