User:TedEdwards/sandbox1

This user has pending changes reviewer rights on the English Wikipedia.
This user uses Twinkle to fight vandalism.
From Wikipedia, the free encyclopedia

It is approximately 12:40 AM where this user lives (UK). [refresh]


Correct time

New parameters include_last_election and include_seats_needed MUST be included and set to "yes" for new "Last election" and "Seats needed" to appear. To remove Current seats column, new parameter no_current_seats MUST be included and set to "yes". Seats needed for majority (compared to last election result) can be calculated automatically (for parties who won a majority at the last election, output is automatically N/A), or by filling in seats_needed1, seats_needed2 etc. parameter (seats_needed parameters in test cases used to generate "N/A"s).

Controls[edit]

Other than to make the infobox call from this sandbox, the UK election infobox has been filled in with no new parameters, and is identical to the infobox at Next United Kingdom general election. This shows my suggested changes are optional, and require the new parameters to be set to "yes". For the middle Israeli election infobox, the only change is to call from this sandbox. For the right-hand past Israeli election infobox (again calling from this sandbox), the new parameters include_last_election, no_current_seats, and include_seats_needed have been set to yes, to show my suggestions have no impact on infoboxes for completed elections. Both infobxes are identical to the infobox at 2022 Israeli legislative election

Next United Kingdom general election
United Kingdom
← 2019 No later than 28 January 2025

All 650 seats in the House of Commons
326 seats needed for a majority

Party

Leader

Current seats

Conservative Rishi Sunak

348
Labour Keir Starmer

200
SNP Humza Yousaf

43
Liberal Democrats Ed Davey

15
DUP Jeffrey Donaldson

8
Sinn Féin Mary Lou McDonald

7
Plaid Cymru Rhun ap Iorwerth

3
SDLP Colum Eastwood

2
Alba Alex Salmond

2
Green Carla Denyer &
Adrian Ramsay

1
Alliance Naomi Long

1
Workers Party George Galloway

1
Reform UK Richard Tice

1
Independent n/a

17
Speaker Lindsay Hoyle

1
Incumbent Prime Minister
Rishi Sunak
Conservative
2022 Israeli legislative election
Israel
← 2021 1 November 2022 Next →

All 120 seats in the Knesset
61 seats needed for a majority
Turnout70.63% (Increase3.19pp)

Party

Leader

%

Seats

+/–

Likud Benjamin Netanyahu 23.41

32 +2
Yesh Atid Yair Lapid 17.78

24 +7
Religious Zionist Bezalel Smotrich 10.83

14 +8
National Unity Benny Gantz 9.08

12 −2
Shas Aryeh Deri 8.24

11 +2
UTJ Yitzhak Goldknopf 5.88

7 0
Yisrael Beiteinu Avigdor Lieberman 4.49

6 −1
Ra'am Mansour Abbas 4.07

5 +1
Hadash–Ta'al Ayman Odeh 3.75

5 0
Labor Merav Michaeli 3.69

4 −3
This lists parties that won seats. See the complete results below.
Prime Minister before Prime Minister after
Yair Lapid
Yesh Atid
Benjamin Netanyahu
Likud
2022 Israeli legislative election
Israel
← 2021 1 November 2022 Next →

All 120 seats in the Knesset
61 seats needed for a majority
Turnout70.63% (Increase3.19pp)

Party

Leader

%

Seats

+/–

Likud Benjamin Netanyahu 23.41

32 +2
Yesh Atid Yair Lapid 17.78

24 +7
Religious Zionist Bezalel Smotrich 10.83

14 +8
National Unity Benny Gantz 9.08

12 −2
Shas Aryeh Deri 8.24

11 +2
UTJ Yitzhak Goldknopf 5.88

7 0
Yisrael Beiteinu Avigdor Lieberman 4.49

6 −1
Ra'am Mansour Abbas 4.07

5 +1
Hadash–Ta'al Ayman Odeh 3.75

5 0
Labor Merav Michaeli 3.69

4 −3
This lists parties that won seats. See the complete results below.
Prime Minister before Prime Minister after
Yair Lapid
Yesh Atid
Benjamin Netanyahu
Likud

With new parameters[edit]

| include_last_election = yes
| no_current_seats =
| include_seats_needed = yes
Next United Kingdom general election
United Kingdom
← 2019 No later than 28 January 2025

All 650 seats in the House of Commons
326 seats needed for a majority

Party

Leader

Last
election
Current
seats
Seats
needed
Conservative Rishi Sunak

365 348

Labour Keir Starmer

202 200

+124
SNP Humza Yousaf

48 43

N/A
Liberal Democrats Ed Davey

11 15

+315
DUP Jeffrey Donaldson

8 8

N/A
Sinn Féin Mary Lou McDonald

7 7

N/A
Plaid Cymru Rhun ap Iorwerth

4 3

N/A
SDLP Colum Eastwood

2 2

N/A
Alba Alex Salmond

New 2

N/A
Green Carla Denyer &
Adrian Ramsay

1 1

+325
Alliance Naomi Long

1 1

N/A
Workers Party George Galloway

New 1

+326
Reform UK Richard Tice

0 1

+326
Independent n/a

New 17

N/A
Speaker Lindsay Hoyle

New 1

N/A
Incumbent Prime Minister
Rishi Sunak
Conservative
| include_last_election = yes
| no_current_seats =
| include_seats_needed =
Next United Kingdom general election
United Kingdom
← 2019 No later than 28 January 2025

All 650 seats in the House of Commons
326 seats needed for a majority

Party

Leader

Last
election
Current
seats
Conservative Rishi Sunak

365 348
Labour Keir Starmer

202 200
SNP Humza Yousaf

48 43
Liberal Democrats Ed Davey

11 15
DUP Jeffrey Donaldson

8 8
Sinn Féin Mary Lou McDonald

7 7
Plaid Cymru Rhun ap Iorwerth

4 3
SDLP Colum Eastwood

2 2
Alba Alex Salmond

New 2
Green Carla Denyer &
Adrian Ramsay

1 1
Alliance Naomi Long

1 1
Workers Party George Galloway

New 1
Reform UK Richard Tice

0 1
Independent n/a

New 17
Speaker Lindsay Hoyle

New 1
Incumbent Prime Minister
Rishi Sunak
Conservative
| include_last_election =
| no_current_seats =
| include_seats_needed = yes
Next United Kingdom general election
United Kingdom
← 2019 No later than 28 January 2025

All 650 seats in the House of Commons
326 seats needed for a majority

Party

Leader

Current
seats
Seats
needed
Conservative Rishi Sunak

348

Labour Keir Starmer

200

+124
SNP Humza Yousaf

43

N/A
Liberal Democrats Ed Davey

15

+315
DUP Jeffrey Donaldson

8

N/A
Sinn Féin Mary Lou McDonald

7

N/A
Plaid Cymru Rhun ap Iorwerth

3

N/A
SDLP Colum Eastwood

2

N/A
Alba Alex Salmond

2

N/A
Green Carla Denyer &
Adrian Ramsay

1

+325
Alliance Naomi Long

1

N/A
Workers Party George Galloway

1

+326
Reform UK Richard Tice

1

+326
Independent n/a

17

N/A
Speaker Lindsay Hoyle

1

N/A
Incumbent Prime Minister
Rishi Sunak
Conservative
| include_last_election = yes
| no_current_seats = yes
| include_seats_needed = yes
Next United Kingdom general election
United Kingdom
← 2019 No later than 28 January 2025

All 650 seats in the House of Commons
326 seats needed for a majority

Party

Leader

Last
election
Seats
needed
Conservative Rishi Sunak

365

Labour Keir Starmer

202

+124
SNP Humza Yousaf

48

N/A
Liberal Democrats Ed Davey

11

+315
DUP Jeffrey Donaldson

8

N/A
Sinn Féin Mary Lou McDonald

7

N/A
Plaid Cymru Rhun ap Iorwerth

4

N/A
SDLP Colum Eastwood

2

N/A
Alba Alex Salmond

New

N/A
Green Carla Denyer &
Adrian Ramsay

1

+325
Alliance Naomi Long

1

N/A
Workers Party George Galloway

New

+326
Reform UK Richard Tice

0

+326
Independent n/a

New

N/A
Speaker Lindsay Hoyle

New

N/A
Incumbent Prime Minister
Rishi Sunak
Conservative
| include_last_election = yes
| no_current_seats = yes
| include_seats_needed =
Next United Kingdom general election
United Kingdom
← 2019 No later than 28 January 2025

All 650 seats in the House of Commons
326 seats needed for a majority

Party

Leader

Last election

Conservative Rishi Sunak

365

Labour Keir Starmer

202

SNP Humza Yousaf

48

Liberal Democrats Ed Davey

11

DUP Jeffrey Donaldson

8

Sinn Féin Mary Lou McDonald

7

Plaid Cymru Rhun ap Iorwerth

4

SDLP Colum Eastwood

2

Alba Alex Salmond

New

Green Carla Denyer &
Adrian Ramsay

1

Alliance Naomi Long

1

Workers Party George Galloway

New

Reform UK Richard Tice

0

Independent n/a

New

Speaker Lindsay Hoyle

New

Incumbent Prime Minister
Rishi Sunak
Conservative
| include_last_election =
| no_current_seats = yes
| include_seats_needed = yes
Next United Kingdom general election
United Kingdom
← 2019 No later than 28 January 2025

All 650 seats in the House of Commons
326 seats needed for a majority

Party

Leader

Seats needed

Conservative Rishi Sunak

Labour Keir Starmer

+124
SNP Humza Yousaf

N/A
Liberal Democrats Ed Davey

+315
DUP Jeffrey Donaldson

N/A
Sinn Féin Mary Lou McDonald

N/A
Plaid Cymru Rhun ap Iorwerth

N/A
SDLP Colum Eastwood

N/A
Alba Alex Salmond

N/A
Green Carla Denyer &
Adrian Ramsay

+325
Alliance Naomi Long

N/A
Workers Party George Galloway

+326
Reform UK Richard Tice

+326
Independent n/a

N/A
Speaker Lindsay Hoyle

N/A
Incumbent Prime Minister
Rishi Sunak
Conservative
| include_last_election =
| no_current_seats = yes
| include_seats_needed =
Next United Kingdom general election
United Kingdom
← 2019 No later than 28 January 2025

All 650 seats in the House of Commons
326 seats needed for a majority

Party

Leader

Conservative Rishi Sunak

Labour Keir Starmer

SNP Humza Yousaf

Liberal Democrats Ed Davey

DUP Jeffrey Donaldson

Sinn Féin Mary Lou McDonald

Plaid Cymru Rhun ap Iorwerth

SDLP Colum Eastwood

Alba Alex Salmond

Green Carla Denyer &
Adrian Ramsay

Alliance Naomi Long

Workers Party George Galloway

Reform UK Richard Tice

Independent n/a

Speaker Lindsay Hoyle

Incumbent Prime Minister
Rishi Sunak
Conservative