Template:Election

From Infobox Wiki
Jump to: navigation, search
Election
[[File:{{{flag image}}}|50px]] Turnout
{{{turnout}}}

{{{previous year}}}  ←
{{{election date}}}
→ {{{next year}}}

{{{seats for election}}}
{{{majority seats}}} seats needed for a majority
 
  Majority party Minority party Minority party
Alliance {{{alliance1}}} {{{alliance2}}} {{{alliance3}}}
  No image icon.png No image icon.png No image icon.png
Leader {{{leader1}}} {{{leader2}}} {{{leader3}}}
Leader since {{{leader since1}}} {{{leader since2}}} {{{leader since3}}}
Leader's seat {{{leaders seat1}}} {{{leaders seat2}}} {{{leaders seat3}}}
Last election {{{last election1}}} {{{last election2}}} {{{last election3}}}
Seats before {{{seats before1}}} {{{seats before2}}} {{{seats before3}}}
Seats won {{{seats1}}} {{{seats2}}} {{{seats3}}}
Seats after {{{seats after1}}} {{{seats after2}}} {{{seats after3}}}
Seat change {{{seat change1}}} {{{seat change2}}} {{{seat change3}}}
Popular vote {{{popular vote1}}} {{{popular vote2}}} {{{popular vote3}}}
Percentage {{{percentage1}}} {{{percentage2}}} {{{percentage3}}}
Swing {{{swing1}}} {{{swing2}}} {{{swing3}}}
{{{blank}}} {{{data1}}} {{{data2}}} {{{data3}}}
 

[[file:{{{map image}}}|200px]]

{{{map caption}}}
 

[[file:{{{map2 image}}}|200px]]

{{{map2 caption}}}
 
{{{title}}} before election
{{{before election}}}
{{{before party}}}
Elected {{{title}}}
{{{after election}}}
{{{after party}}}

Original[edit source]


Includes[edit source]

  • Infobox will only display the answered lines
    • Up to 9 Parliamentary parties or 3 Presidential nominees
    • 2 map images
  • The background, border and party are variables to offer color-coding


Clean template[edit source]

{{Election
 | background      = 
 | border          = 

 | election name   = 
 | flag image      = 
 | previous year   = 
 | previous election = 
 | election date   = 
 | next year       = 
 | next election   = 

 | type            = 
<!-- parliamentary Parliamentary legislative Legislative by-election By-election -->
 | seats for election = 
 | majority seats  = 
<!-- presidential Presidential -->
 | votes for election =  
 | needed votes    = 
 
 | ongoing         = 
 | turnout         = 
 | vote type       = <!-- default as Popular -->

 | party1          = 
 | alliance name   = 
 | alliance1       = 
 | color1          = 
 | image1          = 
 | leader1         =  
 | leader since1   = 
 | leaders seat1   = 
 | last election1  = 
 | seats before1   = 
 | seats needed1   = 
 | seats1          = 
 | seats after1    = 
 | seat change1    = 
 | popular vote1   = 
 | percentage1     = 
 | swing1          = 
<!-- presidential Presidential -->
 | nominee1        = 
 | candidate1      = 
 | home state1     = 
 | running mate1   = 
 | electoral vote1 = 
 | delegate count1 = 
 | states carried1 = 
 | counties won1   = 
 | counties threshold1 = 

 | party2          = 
 | alliance2       = 
 | color2          = 
 | image2          = 
 | leader2         = 
 | leader since2   = 
 | leaders seat2   = 
 | last election2  = 
 | seats before2   = 
 | seats needed2   = 
 | seats2          = 
 | seats after2    = 
 | seat change2    = 
 | popular vote2   = 
 | percentage2     = 
 | swing2          = 
<!-- presidential Presidential -->
 | nominee2        = 
 | candidate2      = 
 | home state2     = 
 | running mate2   = 
 | electoral vote2 = 
 | delegate count2 = 
 | states carried2 = 
 | counties won2   = 
 | counties threshold2 = 

 | party3          = 
 | alliance3       = 
 | color3          = 
 | image3          = 
 | leader3         = 
 | leader since3   = 
 | leaders seat3   = 
 | last election3  = 
 | seats before3   = 
 | seats needed3   = 
 | seats3          = 
 | seats after3    = 
 | seat change3    = 
 | popular vote3   = 
 | percentage3     = 
 | swing3          = 
<!-- presidential Presidential -->
 | nominee3        = 
 | candidate3      = 
 | home state3     = 
 | running mate3   = 
 | electoral vote3 = 
 | delegate count3 = 
 | states carried3 = 
 | counties won3   = 
 | counties threshold3 = 

<!-- blank line -->
 | blank           = 
 | data1           = 
 | data2           = 
 | data3           = 

 | party4          = 
 | color4          = 
 | alliance4       = 
 | image4          = 
 | leader4         = 
 | leader since4   = 
 | leaders seat4   = 
 | last election4  = 
 | seats before4   = 
 | seats needed4   = 
 | seats4          = 
 | seats after4    = 
 | seat change4    = 
 | popular vote4   = 
 | percentage4     = 
 | swing4          = 

 | party5          = 
 | color5          = 
 | alliance5       = 
 | image5          = 
 | leader5         = 
 | leader since5   = 
 | leaders seat5   = 
 | last election5  = 
 | seats before5   = 
 | seats needed5   = 
 | seats5          = 
 | seats after5    = 
 | seat change5    = 
 | popular vote5   = 
 | percentage5     = 
 | swing5          = 

 | party6          = 
 | color6          = 
 | alliance6       = 
 | image6          = 
 | leader6         = 
 | leader since6   = 
 | leaders seat6   = 
 | last election6  = 
 | seats before6   = 
 | seats needed6   = 
 | seats6          = 
 | seats after6    = 
 | seat change6    = 
 | popular vote6   = 
 | percentage6     = 
 | swing6          = 

<!-- blank line -->
 | data4           = 
 | data5           = 
 | data6           = 

 | party7          = 
 | color7          = 
 | alliance7       = 
 | image7          = 
 | leader7         = 
 | leader since7   = 
 | leaders seat7   = 
 | last election7  = 
 | seats before7   = 
 | seats needed7   = 
 | seats7          = 
 | seats after7    = 
 | seat change7    = 
 | popular vote7   = 
 | percentage7     = 
 | swing7          = 

 | party8          = 
 | color8          = 
 | alliance8       = 
 | image8          =   
 | leader8         = 
 | leader since8   = 
 | leaders seat8   = 
 | last election8  = 
 | seats before8   = 
 | seats needed8   = 
 | seats8          = 
 | seats after8    = 
 | seat change8    = 
 | popular vote8   = 
 | percentage8     = 
 | swing8          = 

 | party9          = 
 | color9          = 
 | alliance9       = 
 | image9          =  
 | leader9         = 
 | leader since9   = 
 | leaders seat9   = 
 | last election9  = 
 | seats before9   = 
 | seats needed9   = 
 | seats9          = 
 | seats after9    = 
 | seat change9    = 
 | popular vote9   = 
 | percentage9     = 
 | swing9          = 

<!-- blank line -->
 | data7           = 
 | data8           = 
 | data9           = 

 | map image       = 
 | map width       = 
 | map caption     =  
 
 | map2 image      = 
 | map2 width      = 
 | map2 caption    = 

 | title           = 
 | before election = 
 | before party    =  
 | before color    = 
 | after election  = 
 | after party     = 
 | after color     = 
}}
Pages
Actor EurekaFamily GuyHarry PotterStar Wars
Character AshwoodBob's BurgersCommandosCrazy ArcadeDark AngelDarren ShanDemons in my NightmaresEurekaFamily GuyFinal FantasyFish HooksGalactic Stargate AuthorityGrisaiaHarry PotterIron KingdomsJibrilLast ResortLEGO BatmanLooney TunesModern FamilyNintendoPokémonPokémon FanonPop'n MusicPretty CureProfessor LaytonSanrioSega SonicSeikaiSouth ParkStar WarsStargateStrike BackTerra ImperiumToon DoctorWikipediaWinx ClubWorld Universe
Episode Bob's BurgersFamily GuyFish HooksGrisaiaLooney TunesPokémonSouth ParkState of Affairs
Game ChalienFinal FantasyFish HooksGrisaiaPokémonPortalSanrioWii Sports
Program Bob's BurgersEurekaFish HooksLooney TunesModern FamilyMoviesStar WarsStargateSurvivor
Role-playing game BaseBattleCardCoat of ArmsCompanyCompetitorsCountryEnemyEnemyBaseGovernmentHeroMilitaryNationOrganizationPartyPlanetPower plantProjectShipStarshipWeapon statsWeapons
Species Darren ShanNintendoPokémonStar Wars
Sport Euro 2016Football clubMotorsport race overviewMotorsport seasonSports clubWrestler
Sports bracket 6 team finals series8 team finals series16 team20 team32 team32 team compact32 team cup
Table 4 team table8 team finals series with tableTrack listingVoting table
Other AlbumBar boxBar graphBookDVDElectionMusical artistMusical artist discographyOfficeholderPublic transitRoyaltySingleStorm
Infoboxes
Actor EurekaFamily GuyHarry PotterStar Wars
Character AshwoodBob's BurgersCommandosCrazy ArcadeDark AngelDarren ShanDemons in my NightmaresEurekaFamily GuyFinal FantasyFish HooksGalactic Stargate AuthorityGrisaiaHarry PotterIron KingdomsJibrilLast ResortLEGO BatmanLooney TunesModern FamilyNintendoPokémonPokémon FanonPop'n MusicPretty CureProfessor LaytonSanrioSega SonicSeikaiSouth ParkStar WarsStargateStrike BackTerra ImperiumToon DoctorWikipediaWinx ClubWorld Universe
Episode Bob's BurgersFamily GuyFish HooksGrisaiaLooney TunesPokémonSouth ParkState of Affairs
Game ChalienFinal FantasyFish HooksGrisaiaPokémonPortalSanrioWii Sports
Program Bob's BurgersEurekaFish HooksLooney TunesModern FamilyMoviesStar WarsStargateSurvivor
Role-playing game BaseBattleCardCoat of ArmsCompanyCompetitorsCountryEnemyEnemyBaseGovernmentHeroMilitaryNationOrganizationPartyPlanetPower plantProjectShipStarshipWeapon statsWeapons
Species Darren ShanNintendoPokémonStar Wars
Sport Football clubMotorsport race overviewMotorsport seasonSports clubWrestler
Other AlbumBar boxBar graphBookDVDElectionMusical artistMusical artist discographyOfficeholderPublic transitRoyaltySingleStorm
Templates
Layout HeaderTemplateMain PageMainPageCharacterMainTemplateSectionTemplate
Sport bracket 6 team finals series8 team finals series16 team20 team32 team32 team compact32 team cup
Table 4 team table8 team finals series with tableMonthTrack listingVoting table
Utilities AgeAmboxBar graph horizontalClearColorCube‎Composition barComposition bar squareKeyMapQuoteRating multiRating singleRecipeScorecardTabTime countdownTopOfPage