Difference between revisions of "Template:Infobox legislative election/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Tassedethe
m (WPCleaner v1.36 - Repaired 1 link to disambiguation page - (You can help) - Peter Robinson (politician))
imported>Izkala
(add first)
Line 10: Line 10:
 
| election_date    = 7 May 2015
 
| election_date    = 7 May 2015
 
| ongoing          = yes
 
| ongoing          = yes
 +
 +
| party1 = Labour Party (UK)
 +
| party_leader1 = [[Ed Miliband]]
 +
| seats1 = 170
 +
| seats1_before = 256
 +
| votes1 =
 +
| percentage1 = 26.1
 +
 +
| party2 = Green Party of England and Wales
 +
| party_leader2 = [[Natalie Bennett]]
 +
| seats2 = 136
 +
| seats2_before = 1
 +
| votes2 =
 +
| percentage2 = 20.9
 +
 +
| party3 = Liberal Democrats
 +
| party_leader3 = [[Nick Clegg]]
 +
| seats3 = 126
 +
| seats3_before = 56
 +
| votes3 =
 +
| percentage3 = 19.4
 +
 +
| party4 = UKIP
 +
| party_leader4 = [[Nigel Farage]]
 +
| seats4 = 94
 +
| seats4_before = 2
 +
| votes4 =
 +
| percentage4 = 14.4
 +
 +
| party5 = Conservative Party (UK)
 +
| party_leader5 = [[David Cameron]]
 +
| seats5 = 88
 +
| seats5_before = 302
 +
| votes5 =
 +
| percentage5 = 13.5
 +
 +
| party6 = Scottish National Party
 +
| party_leader6 = [[Nicola Sturgeon]]
 +
| seats6 = 14
 +
| seats6_before = 6
 +
| votes6 =
 +
| percentage6 = 2.2
 +
 +
| party7 = Democratic Unionist Party
 +
| party_leader7 = [[Peter Robinson (Northern Ireland politician)|Peter Robinson]]
 +
| seats7 = 6
 +
| seats7_before =  8
 +
| votes7 =
 +
| percentage7 = 0.9
 +
 +
| party8 = Sinn Féin
 +
| party_leader8 = [[Gerry Adams]]
 +
| seats8 =  5
 +
| seats8_before = 5
 +
| votes8 =
 +
| percentage8 = 0.8
 +
 +
| party9 = Plaid Cymru
 +
| party_leader9 = [[Leanne Wood]]
 +
| seats9 = 4
 +
| seats9_before = 3
 +
| votes9 =
 +
| percentage9 = 0.6
 +
 +
| party10 = Ulster Unionist Party
 +
| party_leader10 = [[Mike Nesbitt]]
 +
| seats10 = 3
 +
| seats10_before = 0
 +
| votes10 =
 +
| percentage10 = 0.4
 +
 +
| party11 = Social Democratic and Labour Party
 +
| party_leader11 = [[Alasdair McDonnell]]
 +
| seats11 = 3
 +
| seats11_before = 3
 +
| votes11 =
 +
| percentage11 = 0.5
 +
 +
| party12 = Alliance Party of Northern Ireland
 +
| party_leader12 = [[David Ford]]
 +
| seats12 = 1
 +
| seats12_before = 1
 +
| votes12 =
 +
| percentage12 = 0.2
 +
 +
| map = 2010UKElectionMap.svg
 +
| map_caption = Colours denote the winning party, as shown in the main table of results
 +
 +
| title = [[Prime Minister of the United Kingdom|Prime Minister]]
 +
| before_election = [[David Cameron]]
 +
| before_party = [[Conservative Party (UK)|Conservative Party]]
 +
| after_election = [[Ed Miliband]]
 +
| after_party = [[Labour Party (UK)|Labour Party]]
 +
}}
 +
 +
== Ongoing (first) ==
 +
 +
{{Testcase table
 +
| election_name    = British general election, 2015
 +
| country          = United Kingdom
 +
| previous_election = [[United Kingdom general election, 2010|2010]]
 +
| next_election    = [[United Kingdom general election, 2020|2020]]
 +
| election_date    = 7 May 2015
 +
| ongoing          = yes
 +
| first_election    = yes
  
 
| party1 = Labour Party (UK)
 
| party1 = Labour Party (UK)
Line 114: Line 219:
 
| election_date    = 7 May 2015
 
| election_date    = 7 May 2015
 
| ongoing          = no
 
| ongoing          = no
 +
 +
| party1 = Labour Party (UK)
 +
| party_leader1 = [[Ed Miliband]]
 +
| seats1 = 170
 +
| seats1_before = 256
 +
| votes1 =
 +
| percentage1 = 26.1
 +
| percentage1_before = 22.1
 +
 +
| party2 = Green Party of England and Wales
 +
| party_leader2 = [[Natalie Bennett]]
 +
| seats2 = 136
 +
| seats2_before = 1
 +
| votes2 =
 +
| percentage2 = 20.9
 +
 +
| party3 = Liberal Democrats
 +
| party_leader3 = [[Nick Clegg]]
 +
| seats3 = 126
 +
| seats3_before = 56
 +
| votes3 =
 +
| percentage3 = 19.4
 +
 +
| party4 = UKIP
 +
| party_leader4 = [[Nigel Farage]]
 +
| seats4 = 94
 +
| seats4_before = 2
 +
| votes4 =
 +
| percentage4 = 14.4
 +
 +
| party5 = Conservative Party (UK)
 +
| party_leader5 = [[David Cameron]]
 +
| seats5 = 88
 +
| seats5_before = 302
 +
| votes5 =
 +
| percentage5 = 13.5
 +
 +
| party6 = Scottish National Party
 +
| party_leader6 = [[Nicola Sturgeon]]
 +
| seats6 = 14
 +
| seats6_before = 6
 +
| votes6 =
 +
| percentage6 = 2.2
 +
 +
| party7 = Democratic Unionist Party
 +
| party_leader7 = [[Peter Robinson (Northern Ireland politician)|Peter Robinson]]
 +
| seats7 = 6
 +
| seats7_before =  8
 +
| votes7 =
 +
| percentage7 = 0.9
 +
 +
| party8 = Sinn Féin
 +
| party_leader8 = [[Gerry Adams]]
 +
| seats8 =  5
 +
| seats8_before = 5
 +
| votes8 =
 +
| percentage8 = 0.8
 +
 +
| party9 = Plaid Cymru
 +
| party_leader9 = [[Leanne Wood]]
 +
| seats9 = 4
 +
| seats9_before = 3
 +
| votes9 =
 +
| percentage9 = 0.6
 +
 +
| party10 = Ulster Unionist Party
 +
| party_leader10 = [[Mike Nesbitt]]
 +
| seats10 = 3
 +
| seats10_before = 0
 +
| votes10 =
 +
| percentage10 = 0.4
 +
 +
| party11 = Social Democratic and Labour Party
 +
| party_leader11 = [[Alasdair McDonnell]]
 +
| seats11 = 3
 +
| seats11_before = 3
 +
| votes11 =
 +
| percentage11 = 0.5
 +
 +
| party12 = Alliance Party of Northern Ireland
 +
| party_leader12 = [[David Ford]]
 +
| seats12 = 1
 +
| seats12_before = 1
 +
| votes12 =
 +
| percentage12 = 0.2
 +
 +
| map = 2010UKElectionMap.svg
 +
| map_upright = 1.4
 +
| map_caption = Colours denote the winning party, as shown in the main table of results
 +
 +
| title = [[Prime Minister of the United Kingdom|Prime Minister]]
 +
| before_image = [[File:David Cameron official.jpg|x65px]]
 +
| before_election = [[David Cameron]]
 +
| before_party = [[Conservative Party (UK)|Conservative Party]]
 +
| after_image = [[File:Ed Miliband 2.jpg|x65px]]
 +
| after_election = [[Ed Miliband]]
 +
| after_party = [[Labour Party (UK)|Labour Party]]
 +
}}
 +
 +
==Finished (first)==
 +
 +
{{Testcase table
 +
| election_name    = British general election, 2015
 +
| country          = United Kingdom
 +
| previous_election = [[United Kingdom general election, 2010|2010]]
 +
| next_election    = [[United Kingdom general election, 2020|2020]]
 +
| election_date    = 7 May 2015
 +
| ongoing          = no
 +
| first_election    = yes
  
 
| party1 = Labour Party (UK)
 
| party1 = Labour Party (UK)

Revision as of 12:56, 16 May 2016

Ongoing

Template:Testcase table

Ongoing (first)

Template:Testcase table

Finished

Template:Testcase table

Finished (first)

Template:Testcase table