Template:Infobox legislative election/testcases

From Wikipedia, the free encyclopedia


Ongoing yes / no[edit]

Yes[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader Current seats
Labour Ed Miliband 12
Green Natalie Bennett 12
Liberal Democrats Nick Clegg 12
UKIP Nigel Farage 12
Conservative David Cameron 12
SNP Nicola Sturgeon 12
DUP Peter Robinson 12
Sinn Féin Gerry Adams 12
Plaid Cymru Leanne Wood 12
Ulster Unionist Mike Nesbitt 12
SDLP Alasdair McDonnell 12
Alliance David Ford 12
Colours denote the winning party, as shown in the main table of results
Incumbent Prime Minister
David Cameron
Conservative Party
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader Current seats
Labour Ed Miliband 12
Green Natalie Bennett 12
Liberal Democrats Nick Clegg 12
UKIP Nigel Farage 12
Conservative David Cameron 12
SNP Nicola Sturgeon 12
DUP Peter Robinson 12
Sinn Féin Gerry Adams 12
Plaid Cymru Leanne Wood 12
Ulster Unionist Mike Nesbitt 12
SDLP Alasdair McDonnell 12
Alliance David Ford 12
Colours denote the winning party, as shown in the main table of results
Incumbent Prime Minister
David Cameron
Conservative Party

No[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader % Seats +/–
Labour Ed Miliband 26.1 170 −86
Green Natalie Bennett 20.9 136 +135
Liberal Democrats Nick Clegg 19.4 126 +70
UKIP Nigel Farage 14.4 94 +92
Conservative David Cameron 13.5 88 −214
SNP Nicola Sturgeon 2.2 14 +8
DUP Peter Robinson 0.9 6 −2
Sinn Féin Gerry Adams 0.8 5 0
Plaid Cymru Leanne Wood 0.6 4 +1
Ulster Unionist Mike Nesbitt 0.4 3 +3
SDLP Alasdair McDonnell 0.5 3 0
Alliance David Ford 0.2 1 0
This lists parties that won seats. See the complete results below.
Colours denote the winning party, as shown in the main table of results
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader % Seats +/–
Labour Ed Miliband 26.1 170 −86
Green Natalie Bennett 20.9 136 +135
Liberal Democrats Nick Clegg 19.4 126 +70
UKIP Nigel Farage 14.4 94 +92
Conservative David Cameron 13.5 88 −214
SNP Nicola Sturgeon 2.2 14 +8
DUP Peter Robinson 0.9 6 −2
Sinn Féin Gerry Adams 0.8 5 0
Plaid Cymru Leanne Wood 0.6 4 +1
Ulster Unionist Mike Nesbitt 0.4 3 +3
SDLP Alasdair McDonnell 0.5 3 0
Alliance David Ford 0.2 1 0
Colours denote the winning party, as shown in the main table of results
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party

Ongoing (first)[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader
Labour Ed Miliband
Green Natalie Bennett
Liberal Democrats Nick Clegg
UKIP Nigel Farage
Conservative David Cameron
SNP Nicola Sturgeon
DUP Peter Robinson
Sinn Féin Gerry Adams
Plaid Cymru Leanne Wood
Ulster Unionist Mike Nesbitt
SDLP Alasdair McDonnell
Alliance David Ford
Colours denote the winning party, as shown in the main table of results
Incumbent Prime Minister
David Cameron
Conservative Party
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader
Labour Ed Miliband
Green Natalie Bennett
Liberal Democrats Nick Clegg
UKIP Nigel Farage
Conservative David Cameron
SNP Nicola Sturgeon
DUP Peter Robinson
Sinn Féin Gerry Adams
Plaid Cymru Leanne Wood
Ulster Unionist Mike Nesbitt
SDLP Alasdair McDonnell
Alliance David Ford
Colours denote the winning party, as shown in the main table of results
Incumbent Prime Minister
David Cameron
Conservative Party

Finished[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader % Seats +/–
Labour Ed Miliband 26.1 170 −86
Green Natalie Bennett 20.9 136 +135
Liberal Democrats Nick Clegg 19.4 126 +70
UKIP Nigel Farage 14.4 94 +92
Conservative David Cameron 13.5 88 −214
SNP Nicola Sturgeon 2.2 14 +8
DUP Peter Robinson 0.9 6 −2
Sinn Féin Gerry Adams 0.8 5 0
Plaid Cymru Leanne Wood 0.6 4 +1
Ulster Unionist Mike Nesbitt 0.4 3 +3
SDLP Alasdair McDonnell 0.5 3 0
Alliance David Ford 0.2 1 0
This lists parties that won seats. See the complete results below.
Colours denote the winning party, as shown in the main table of results
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader % Seats +/–
Labour Ed Miliband 26.1 170 −86
Green Natalie Bennett 20.9 136 +135
Liberal Democrats Nick Clegg 19.4 126 +70
UKIP Nigel Farage 14.4 94 +92
Conservative David Cameron 13.5 88 −214
SNP Nicola Sturgeon 2.2 14 +8
DUP Peter Robinson 0.9 6 −2
Sinn Féin Gerry Adams 0.8 5 0
Plaid Cymru Leanne Wood 0.6 4 +1
Ulster Unionist Mike Nesbitt 0.4 3 +3
SDLP Alasdair McDonnell 0.5 3 0
Alliance David Ford 0.2 1 0
Colours denote the winning party, as shown in the main table of results
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party

Finished (first)[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Turnout?
Party Leader % Seats
Labour Ed Miliband 26.1 170
Green Natalie Bennett 20.9 136
Liberal Democrats Nick Clegg 19.4 126
UKIP Nigel Farage 14.4 94
Conservative David Cameron 13.5 88
SNP Nicola Sturgeon 2.2 14
DUP Peter Robinson 0.9 6
Sinn Féin Gerry Adams 0.8 5
Plaid Cymru Leanne Wood 0.6 4
Ulster Unionist Mike Nesbitt 0.4 3
SDLP Alasdair McDonnell 0.5 3
Alliance David Ford 0.2 1
This lists parties that won seats. See the complete results below.
Colours denote the winning party, as shown in the main table of results
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Turnout?
Party Leader % Seats
Labour Ed Miliband 26.1 170
Green Natalie Bennett 20.9 136
Liberal Democrats Nick Clegg 19.4 126
UKIP Nigel Farage 14.4 94
Conservative David Cameron 13.5 88
SNP Nicola Sturgeon 2.2 14
DUP Peter Robinson 0.9 6
Sinn Féin Gerry Adams 0.8 5
Plaid Cymru Leanne Wood 0.6 4
Ulster Unionist Mike Nesbitt 0.4 3
SDLP Alasdair McDonnell 0.5 3
Alliance David Ford 0.2 1
Colours denote the winning party, as shown in the main table of results
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party

Custom party colour[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader % Seats
Labour Party (UK) Ed Miliband 26.1 170
Green Natalie Bennett 20.9 136
This lists parties that won seats. See the complete results below.
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader % Seats
Labour Party (UK) Ed Miliband 26.1 170
Green Natalie Bennett 20.9 136
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party

No leader or percentage[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
1901 Dalmatian parliamentary election
Kingdom of Dalmatia
← 1895 1901 1908 →

All 41 seats in the Diet of Dalmatia
Party Seats +/–
People's Party

18 −5
Party of Rights

9 +6
Serb People's Party

6 −3
Autonomist Party

6 0
Pure Party of Rights

2 New
This lists parties that won seats. See the complete results below.
1901 Dalmatian parliamentary election
Kingdom of Dalmatia
← 1895 1901 1908 →

All 41 seats in the Diet of Dalmatia
Party Seats +/–
People's Party

18 −5
Party of Rights

9 +6
Serb People's Party

6 −3
Autonomist Party

6 0
Pure Party of Rights

2 New

Embedding[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
House of Commons
Party Leader % Seats +/–
Labour Party (UK) Ed Miliband 26.1 170 −86
Green Natalie Bennett 20.9 136 +135
House of Lords
Party Leader % Seats +/–
Labour Party (UK) Ed Miliband 26.1 170 −86
Green Natalie Bennett 20.9 136 +135
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
House of Commons
Party Leader % Seats +/–
Labour Party (UK) Ed Miliband 26.1 170 −86
Green Natalie Bennett 20.9 136 +135
House of Lords
Party Leader % Seats +/–
Labour Party (UK) Ed Miliband 26.1 170 −86
Green Natalie Bennett 20.9 136 +135
Prime Minister before Prime Minister after
David Cameron
Conservative Party
Ed Miliband
Labour Party

Embedded in infobox election[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
2018 Mexican general election

1 July 2018
Presidential election
← 2012
2024 →
Turnout63.43% (Increase 0.35%)
 
Candidate Andrés Manuel López Obrador Ricardo Anaya
Party MORENA PAN
Alliance Juntos Haremos Historia Por México al Frente
Popular vote 30,113,483 12,610,120
Percentage 53.19% 22.28%

 
Candidate José Antonio Meade Jaime Rodríguez Calderón
Party PRI Independent
Alliance Todos por México None
Popular vote 9,289,853 2,961,732
Percentage 16.41% 5.23%

States won by López Obrador in red, Anaya in blue.

President before election

Enrique Peña Nieto
PRI

Elected President

Andrés Manuel López Obrador
MORENA

Senate
← 2012
2024 →
Party Leader % Seats +/–
MORENA Andrés Manuel López Obrador 37.50 55 New
PAN Ricardo Anaya 17.59 23 −15
PRI José Antonio Meade 15.90 13 −44
PRD Manuel Granados Covarrubias 5.27 8 −15
MC Dante Delgado Rannauro 4.68 7 +6
PVEM Jorge Emilio González Martínez 4.46 7 +3
PT Alberto Anaya 3.82 6 +2
PES Hugo Eric Flores Cervantes 2.33 8 New
PNA Luis Castro Obregón 2.31 1 0
This lists parties that won seats. See the complete results below.
Chamber of Deputies
← 2015
2021 →
Party Leader % Seats +/–
MORENA Andrés Manuel López Obrador 37.25 189 +154
PAN Ricardo Anaya 17.93 83 −25
PRI José Antonio Meade 16.54 45 −158
PRD Manuel Granados Covarrubias 5.27 21 −35
PVEM Jorge Emilio González Martínez 4.79 16 −31
MC Dante Delgado Rannauro 4.41 27 +1
PT Alberto Anaya 3.93 61 +55
This lists parties that won seats. See the complete results below.
2018 Mexican general election

1 July 2018
Presidential election
← 2012
2024 →
Turnout63.43% (Increase 0.35%)
 
Candidate Andrés Manuel López Obrador Ricardo Anaya
Party MORENA PAN
Alliance Juntos Haremos Historia Por México al Frente
Popular vote 30,113,483 12,610,120
Percentage 53.19% 22.28%

 
Candidate José Antonio Meade Jaime Rodríguez Calderón
Party PRI Independent
Alliance Todos por México None
Popular vote 9,289,853 2,961,732
Percentage 16.41% 5.23%

States won by López Obrador in red, Anaya in blue.

President before election

Enrique Peña Nieto
PRI

Elected President

Andrés Manuel López Obrador
MORENA

Senate
← 2012
2024 →
Party Leader % Seats +/–
MORENA Andrés Manuel López Obrador 37.50 55 New
PAN Ricardo Anaya 17.59 23 −15
PRI José Antonio Meade 15.90 13 −44
PRD Manuel Granados Covarrubias 5.27 8 −15
MC Dante Delgado Rannauro 4.68 7 +6
PVEM Jorge Emilio González Martínez 4.46 7 +3
PT Alberto Anaya 3.82 6 +2
PES Hugo Eric Flores Cervantes 2.33 8 New
PNA Luis Castro Obregón 2.31 1 0
Chamber of Deputies
← 2015
2021 →
Party Leader % Seats +/–
MORENA Andrés Manuel López Obrador 37.25 189 +154
PAN Ricardo Anaya 17.93 83 −25
PRI José Antonio Meade 16.54 45 −158
PRD Manuel Granados Covarrubias 5.27 21 −35
PVEM Jorge Emilio González Martínez 4.79 16 −31
MC Dante Delgado Rannauro 4.41 27 +1
PT Alberto Anaya 3.93 61 +55


Linking issue[edit]

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
Made up election
Lithuania
← 2012
2024 →
Party Leader % Seats +/–
Made up party name Andrés Manuel López Obrador 37.50 55 New
PAN Ricardo Anaya 17.59 23 −15
PRI José Antonio Meade 15.90 13 −44
PRD Manuel Granados Covarrubias 5.27 8 −15
MC Dante Delgado Rannauro 4.68 7 +6
This lists parties that won seats. See the complete results below.
Prime Minister before Prime Minister after
Andrius Kubilius
Made up Party Name
Rolandas Paksas
Party 1Party 2
Made up election
Lithuania
← 2012
2024 →
Party Leader % Seats +/–
Made up party name Andrés Manuel López Obrador 37.50 55 New
PAN Ricardo Anaya 17.59 23 −15
PRI José Antonio Meade 15.90 13 −44
PRD Manuel Granados Covarrubias 5.27 8 −15
MC Dante Delgado Rannauro 4.68 7 +6
Prime Minister before Prime Minister after
Andrius Kubilius
Made up Party Name
Rolandas Paksas
Party 1Party 2