Template:UK MP links/testcases

Source: Wikipedia, the free encyclopedia.


Note

Edge cases can be found at

List of Stewards of the Manor of Northstead
for resignations. Examination of those cases will show their successors who can be used for the bye-elections. However, not all use this template.

Sandbox version

MPs predating 2005

Ken Clarke
(1970-present)

David Davis (British politician) (1987-present)

multiple seats, bye-election in 2008

Douglas Alexander (1997-2015)

MPs newly elected 2005

Nadine Dorries (2005-present)

Chris Huhne (2005-13)

MPs elected at Bye election 2005-10

MPs leaving parliament 2005-10

Tony Blair (1983-2007)

MPs newly elected 2010

Conor Burns (2010-present)

Stella Creasy (2010-present)


MPs elected at Bye election 2010-15

Sarah Champion (politician)
(2012-present)

MPs leaving parliament 2010-15

Chris Huhne (2005-13)

David Miliband (2001-13)

MPs newly elected 2015

Brendan O'Hara (2015-present)

MPs elected at Bye election 2015-20

none as yet

MPs leaving parliament 2015-20

none as yet

Non-consecutive membership

Boris Johnson (2001-08, 2015-present)


Main template

MPs predating 2005

Ken Clarke
(1970-present)

David Davis (British politician) (1987-present)

multiple seats, bye-election in 2008

Douglas Alexander (1997-2015)

MPs newly elected 2005

Nadine Dorries (2005-present)

Chris Huhne (2005-13)

MPs elected at Bye election 2005-10

Phil Wilson (British politician) (2007-present)

MPs leaving parliament 2005-10

Tony Blair (1983-2007)

MPs newly elected 2010

Conor Burns (2010-present)

Stella Creasy (2010-present)


MPs elected at Bye election 2010-15

Sarah Champion (politician)
(2012-present)

MPs leaving parliament 2010-15

Chris Huhne (2005-13)

David Miliband (2001-13)

MPs newly elected 2015

Brendan O'Hara (2015-present)

MPs elected at Bye election 2015-20

none as yet

MPs leaving parliament 2015-20

none as yet

Non-consecutive membership

Boris Johnson (2001-08, 2015-present)