Template:Infobox legislative election/testcases

From English Wikipedia @ Freddythechick

__EXPECTUNUSEDTEMPLATE__

Ongoing yes / no

Yes

Show last election

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
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader Last
election
Current
seats
Labour Ed Miliband

256 12

No current seats

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
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader
Labour Ed Miliband

First election

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
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader Current
seats
Labour Ed Miliband

Default

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
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader Current
seats
Labour Ed Miliband

12

No

Side by side comparison
{{Infobox legislative election}}{{Infobox legislative election/sandbox}}
British general election, 2015
United Kingdom
← 2010 7 May 2015 2017 →
Party Leader Vote % 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
UUP 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
UUP 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

Ongoing (first)

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
UUP 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 Current
seats
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
UUP 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

The time allocated for running scripts has expired.

Finished (first)

The time allocated for running scripts has expired.

Custom party colour

The time allocated for running scripts has expired.

No leader or percentage

The time allocated for running scripts has expired.

Embedding

The time allocated for running scripts has expired.

Embedded in infobox election

The time allocated for running scripts has expired.


Linking issue

The time allocated for running scripts has expired.