Template:Infobox legislative election/testcases


Ongoing yes / no

Yes

Show last election

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeaderCurrent seats
LabourEd Miliband12
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeaderLast
election
Current
seats
LabourEd Miliband

25612

No current seats

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeaderCurrent seats
LabourEd Miliband12
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeader
LabourEd Miliband

First election

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeader
LabourEd Miliband
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeaderCurrent
seats
LabourEd Miliband

Default

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeaderCurrent seats
LabourEd Miliband12
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeaderCurrent
seats
LabourEd Miliband

12

No

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeader%Seats+/–
LabourEd Miliband26.1170−86
GreenNatalie Bennett20.9136+135
Liberal DemocratsNick Clegg19.4126+70
UKIPNigel Farage14.494+92
ConservativeDavid Cameron13.588−214
SNPNicola Sturgeon2.214+8
DUPPeter Robinson0.96−2
Sinn FéinGerry Adams0.850
Plaid CymruLeanne Wood0.64+1
Ulster UnionistMike Nesbitt0.43+3
SDLPAlasdair McDonnell0.530
AllianceDavid Ford0.210
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
← 20107 May 20152017 →
PartyLeader%Seats+/–
LabourEd Miliband26.1

170−86
GreenNatalie Bennett20.9

136+135
Liberal DemocratsNick Clegg19.4

126+70
UKIPNigel Farage14.4

94+92
ConservativeDavid Cameron13.5

88−214
SNPNicola Sturgeon2.2

14+8
DUPPeter Robinson0.9

6−2
Sinn FéinGerry Adams0.8

50
Plaid CymruLeanne Wood0.6

4+1
Ulster UnionistMike Nesbitt0.4

3+3
SDLPAlasdair McDonnell0.5

30
AllianceDavid Ford0.2

10
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

Ongoing (first)

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeader
LabourEd Miliband
GreenNatalie Bennett
Liberal DemocratsNick Clegg
UKIPNigel Farage
ConservativeDavid Cameron
SNPNicola Sturgeon
DUPPeter Robinson
Sinn FéinGerry Adams
Plaid CymruLeanne Wood
Ulster UnionistMike Nesbitt
SDLPAlasdair McDonnell
AllianceDavid 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
← 20107 May 20152017 →
PartyLeaderCurrent
seats
LabourEd Miliband
GreenNatalie Bennett
Liberal DemocratsNick Clegg
UKIPNigel Farage
ConservativeDavid Cameron
SNPNicola Sturgeon
DUPPeter Robinson
Sinn FéinGerry Adams
Plaid CymruLeanne Wood
Ulster UnionistMike Nesbitt
SDLPAlasdair McDonnell
AllianceDavid Ford
Colours denote the winning party, as shown in the main table of results
Incumbent Prime Minister
David Cameron
Conservative Party

Finished

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeader%Seats+/–
LabourEd Miliband26.1170−86
GreenNatalie Bennett20.9136+135
Liberal DemocratsNick Clegg19.4126+70
UKIPNigel Farage14.494+92
ConservativeDavid Cameron13.588−214
SNPNicola Sturgeon2.214+8
DUPPeter Robinson0.96−2
Sinn FéinGerry Adams0.850
Plaid CymruLeanne Wood0.64+1
Ulster UnionistMike Nesbitt0.43+3
SDLPAlasdair McDonnell0.530
AllianceDavid Ford0.210
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
← 20107 May 20152017 →
PartyLeader%Seats+/–
LabourEd Miliband26.1

170−86
GreenNatalie Bennett20.9

136+135
Liberal DemocratsNick Clegg19.4

126+70
UKIPNigel Farage14.4

94+92
ConservativeDavid Cameron13.5

88−214
SNPNicola Sturgeon2.2

14+8
DUPPeter Robinson0.9

6−2
Sinn FéinGerry Adams0.8

50
Plaid CymruLeanne Wood0.6

4+1
Ulster UnionistMike Nesbitt0.4

3+3
SDLPAlasdair McDonnell0.5

30
AllianceDavid Ford0.2

10
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

Finished (first)

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
Turnout?
PartyLeader%Seats
LabourEd Miliband26.1170
GreenNatalie Bennett20.9136
Liberal DemocratsNick Clegg19.4126
UKIPNigel Farage14.494
ConservativeDavid Cameron13.588
SNPNicola Sturgeon2.214
DUPPeter Robinson0.96
Sinn FéinGerry Adams0.85
Plaid CymruLeanne Wood0.64
Ulster UnionistMike Nesbitt0.43
SDLPAlasdair McDonnell0.53
AllianceDavid Ford0.21
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
← 20107 May 20152017 →
Turnout?
PartyLeader%Seats
LabourEd Miliband26.1170
GreenNatalie Bennett20.9136
Liberal DemocratsNick Clegg19.4126
UKIPNigel Farage14.494
ConservativeDavid Cameron13.588
SNPNicola Sturgeon2.214
DUPPeter Robinson0.96
Sinn FéinGerry Adams0.85
Plaid CymruLeanne Wood0.64
Ulster UnionistMike Nesbitt0.43
SDLPAlasdair McDonnell0.53
AllianceDavid Ford0.21
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

Custom party colour

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
PartyLeader%Seats
Labour Party (UK)Ed Miliband26.1170
GreenNatalie Bennett20.9136
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
← 20107 May 20152017 →
PartyLeader%Seats
Labour Party (UK)Ed Miliband26.1170
GreenNatalie Bennett20.9136
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

No leader or percentage

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

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

18−5
Party of Rights

9+6
Serb People's Party

6−3
Autonomist Party

60
Pure Party of Rights

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

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

18−5
Party of Rights

9+6
Serb People's Party

6−3
Autonomist Party

60
Pure Party of Rights

2New
This lists parties that won seats. See the complete results below.

Embedding

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 20107 May 20152017 →
House of Commons
PartyLeader%Seats+/–
Labour Party (UK)Ed Miliband26.1

170−86
GreenNatalie Bennett20.9

136+135
This lists parties that won seats. See the complete results below.
House of Lords
PartyLeader%Seats+/–
Labour Party (UK)Ed Miliband26.1

170−86
GreenNatalie Bennett20.9

136+135
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
← 20107 May 20152017 →
House of Commons
PartyLeader%Seats+/–
Labour Party (UK)Ed Miliband26.1

170−86
GreenNatalie Bennett20.9

136+135
This lists parties that won seats. See the complete results below.
House of Lords
PartyLeader%Seats+/–
Labour Party (UK)Ed Miliband26.1

170−86
GreenNatalie Bennett20.9

136+135
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

Embedded in infobox election

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%)
 
CandidateAndrés Manuel López ObradorRicardo Anaya
PartyMORENAPAN
AllianceJuntos Haremos HistoriaPor México al Frente
Popular vote30,113,48312,610,120
Percentage53.19%22.28%

 
CandidateJosé Antonio MeadeJaime Rodríguez Calderón
PartyPRIIndependent
AllianceTodos por MéxicoNone
Popular vote9,289,8532,961,732
Percentage16.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 →
PartyLeader%Seats+/–
MORENAAndrés Manuel López Obrador37.5055New
PANRicardo Anaya17.5923−15
PRIJosé Antonio Meade15.9013−44
PRDManuel Granados Covarrubias5.278−15
MCDante Delgado Rannauro4.687+6
PVEMJorge Emilio González Martínez4.467+3
PTAlberto Anaya3.826+2
PESHugo Eric Flores Cervantes2.338New
PNALuis Castro Obregón2.3110
This lists parties that won seats. See the complete results below.
Chamber of Deputies
← 2015
2021 →
PartyLeader%Seats+/–
MORENAAndrés Manuel López Obrador37.25189+154
PANRicardo Anaya17.9383−25
PRIJosé Antonio Meade16.5445−158
PRDManuel Granados Covarrubias5.2721−35
PVEMJorge Emilio González Martínez4.7916−31
MCDante Delgado Rannauro4.4127+1
PTAlberto Anaya3.9361+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%)
 
CandidateAndrés Manuel López ObradorRicardo Anaya
PartyMORENAPAN
AllianceJuntos Haremos HistoriaPor México al Frente
Popular vote30,113,48312,610,120
Percentage53.19%22.28%

 
CandidateJosé Antonio MeadeJaime Rodríguez Calderón
PartyPRIIndependent
AllianceTodos por MéxicoNone
Popular vote9,289,8532,961,732
Percentage16.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 →
PartyLeader%Seats+/–
MORENAAndrés Manuel López Obrador37.50

55New
PANRicardo Anaya17.59

23−15
PRIJosé Antonio Meade15.90

13−44
PRDManuel Granados Covarrubias5.27

8−15
MCDante Delgado Rannauro4.68

7+6
PVEMJorge Emilio González Martínez4.46

7+3
PTAlberto Anaya3.82

6+2
PESHugo Eric Flores Cervantes2.33

8New
PNALuis Castro Obregón2.31

10
This lists parties that won seats. See the complete results below.
Chamber of Deputies
← 2015
2021 →
PartyLeader%Seats+/–
MORENAAndrés Manuel López Obrador37.25

189+154
PANRicardo Anaya17.93

83−25
PRIJosé Antonio Meade16.54

45−158
PRDManuel Granados Covarrubias5.27

21−35
PVEMJorge Emilio González Martínez4.79

16−31
MCDante Delgado Rannauro4.41

27+1
PTAlberto Anaya3.93

61+55
This lists parties that won seats. See the complete results below.


Linking issue

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
Made up election
Lithuania
← 2012
2024 →
PartyLeader%Seats+/–
Made up party nameAndrés Manuel López Obrador37.5055New
PANRicardo Anaya17.5923−15
PRIJosé Antonio Meade15.9013−44
PRDManuel Granados Covarrubias5.278−15
MCDante Delgado Rannauro4.687+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 1–Party 2
Made up election
Lithuania
← 2012
2024 →
PartyLeader%Seats+/–
Made up party nameAndrés Manuel López Obrador37.50

55New
PANRicardo Anaya17.59

23−15
PRIJosé Antonio Meade15.90

13−44
PRDManuel Granados Covarrubias5.27

8−15
MCDante Delgado Rannauro4.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 1–Party 2