Template:Parliamentary Election: Difference between revisions
Jump to navigation
Jump to search
(Maked it so that officer before & officer after doesn't show if there is no data) |
m (fixed a bug) |
||
| Line 70: | Line 70: | ||
|- | |- | ||
! colspan="3" style="{{#if:{{{map_image|}}}{{{map_caption|}}}| |display:none;}}{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | | ! colspan="3" style="{{#if:{{{map_image|}}}{{{map_caption|}}}| |display:none;}}{{#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;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999; {{#if:{{{new|}}}{{{old|}}}|display:none;|}};" | ||
|} | |} | ||
{| align="center" border="0" cellpadding="5" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;" | {| align="center" border="0" cellpadding="5" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;" | ||
|- | |- | ||
| colspan="1" style="{{#if:{{{old|}}}|display:none;}};" valign="top" align="left" |'''{{{officer}}} before'''<br>{{{old}}} | | colspan="1" style="{{#if:{{{old|}}}||display:none;}};" valign="top" align="left" |'''{{{officer}}} before'''<br>{{{old}}} | ||
| colspan="1" style="{{#if:{{{new|}}}|display:none;}};" valign="top" align="right" |'''{{{officer}}} after'''<br>{{{new}}} | | colspan="1" style="{{#if:{{{new|}}}||display:none;}};" valign="top" align="right" |'''{{{officer}}} after'''<br>{{{new}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|} | |} | ||
Revision as of 07:39, 12 August 2023
| ||||||||||||||||||||||||
Example usage:
{{Parliamentary 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%
|color1=blue
|color2=green
|party1=GG Party
|name1=Jeff
|percentage1=35.61%
|seatswon1=268
|seatchange1=-27
|party2=Bruh Party
|name2=Bob
|percentage2=25.33%
|seatswon2=169
|seatchange2=-23
|map_image=Map
|map_caption=Map_caption
|officer=Speaker of the Assembly
|old=Example1
|new=Example2
|previous=3022
|next=3024
}}