Template:PositionHolderHistory/doc

{{PositionHolderHistory}} is a documentation template which show the full list of position holders for a given position.

7,923 pages use this template.

Usage edit

No description.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Qidid

Wikidata item ID (Qid) of the position

Example
Q14211
Linerequired

Example edit

For example, you might add:

{{PositionHolderHistory|id=Q14211}}

... to a page and then click 'Update the timeline' to see a list of all the holders of Prime Minister of the United Kingdom (Q14211).

Prime Minister of the United Kingdom (Q14211) officeholders

This list is periodically updated by a bot. Refresh now

79. Rishi Sunak (Q20055561) 2022-10-25 –
78. Liz Truss (Q272201) 2022-09-06 – 2022-10-25
77. Boris Johnson (Q180589) 2019-07-24 – 2022-09-06
76. Theresa May (Q264766) 2016-07-13 – 2019-07-24
75. David Cameron (Q192) 2010-05-11 – 2016-07-13
74. Gordon Brown (Q10648) 2007-06-27 – 2010-05-11
73. Tony Blair (Q9545) 1997-05-02 – 2007-06-27
72. John Major (Q9559) 1990-11-28 – 1997-05-02
71. Margaret Thatcher (Q7416) 1979-05-04 – 1990-11-28
70. James Callaghan (Q9576) 1976-04-05 – 1979-05-04
69. Harold Wilson (Q128956) 1974-03-04 – 1976-04-05
68. Edward Heath (Q128967) 1970-06-19 – 1974-03-04
67. Harold Wilson (Q128956) 1964-10-16 – 1970-06-19
Alec Douglas-Home (Q128976) 1963-10-19 – 1964-10-16
Harold Macmillan (Q128985) 1957-01-10 – 1963-10-19
Anthony Eden (Q128995) 1955-04-06 – 1957-01-09
Winston Churchill (Q8016) 1951-10-26 – 1955-04-05
Clement Attlee (Q129006) 1945-07-26 – 1951-10-26
Winston Churchill (Q8016) 1940-05-10 – 1945-07-26
Neville Chamberlain (Q10664) 1937-05-28 – 1940-05-10
Stanley Baldwin (Q166635) 1935-06-07 – 1937-05-28
Ramsay MacDonald (Q166646) 1929-06-05 – 1935-06-07
Stanley Baldwin (Q166635) 1924-11-04 – 1929-06-05
Ramsay MacDonald (Q166646) 1924-01-22 – 1924-11-04
Stanley Baldwin (Q166635) 1923-05-23 – 1924-01-16
Bonar Law (Q166663) 1922-10-23 – 1923-05-22
David Lloyd George (Q134982) 1916-12-06 – 1922-10-19
H. H. Asquith (Q166714) 1908-04-08 – 1916-12-05
Henry Campbell-Bannerman (Q106618) 1905-12-05 – 1908-04-03
Arthur Balfour (Q19008) 1902-07-11 – 1905-12-05
Robert Gascoyne-Cecil, 3rd Marquess of Salisbury (Q243705) 1895-06-25 – 1902-07-11
Archibald Primrose, 5th Earl of Rosebery (Q244620) 1894-03-05 – 1895-06-22
William Ewart Gladstone (Q160852) 1892-08-15 – 1894-03-02
Robert Gascoyne-Cecil, 3rd Marquess of Salisbury (Q243705) 1886-07-25 – 1892-08-11
William Ewart Gladstone (Q160852) 1886-02-01 – 1886-07-20
Robert Gascoyne-Cecil, 3rd Marquess of Salisbury (Q243705) 1885-06-23 – 1886-01-28
William Ewart Gladstone (Q160852) 1880-04-23 – 1885-06-09
Benjamin Disraeli (Q82006) 1874-02-20 – 1880-04-21
William Ewart Gladstone (Q160852) 1868-12-03 – 1874-02-17
Benjamin Disraeli (Q82006) 1868-02-27 – 1868-12-01
Edward Smith-Stanley, 14th Earl of Derby (Q237829) 1866-06-28 – 1868-02-27
John Russell, 1st Earl Russell (Q157259) 1865-10-29 – 1866-06-28
Henry Temple, 3rd Viscount Palmerston (Q193656) 1859-06-12 – 1865-10-18
Edward Smith-Stanley, 14th Earl of Derby (Q237829) 1858-02-20 – 1859-06-11
Henry Temple, 3rd Viscount Palmerston (Q193656) 1855-02-06 – 1858-02-19
George Hamilton-Gordon, 4th Earl of Aberdeen (Q24631) 1852-12-19 – 1855-01-30
Edward Smith-Stanley, 14th Earl of Derby (Q237829) 1852-02-23 – 1852-12-19
John Russell, 1st Earl Russell (Q157259) 1846-06-30 – 1852-02-23
Robert Peel (Q181875) 1841-08-30 – 1846-06-29
William Lamb, 2nd Viscount Melbourne (Q312567) 1835-04-18 – 1841-08-30
Robert Peel (Q181875) 1834-12-10 – 1835-04-08
Arthur Wellesley, 1st Duke of Wellington (Q131691) 1834-11-17 – 1834-12-09
William Lamb, 2nd Viscount Melbourne (Q312567) 1834-07-16 – 1834-11-14
Charles Grey, 2nd Earl Grey (Q294662) 1830-11-22 – 1834-07-16
Arthur Wellesley, 1st Duke of Wellington (Q131691) 1828-01-22 – 1830-11-16
F. J. Robinson, 1st Viscount Goderich (Q312591) 1827-08-31 – 1828-01-21
George Canning (Q219731) 1827-04-10 – 1827-08-08
Robert Jenkinson, 2nd Earl of Liverpool (Q312569) 1812-06-08 – 1827-04-09
Spencer Perceval (Q233992) 1809-10-04 – 1812-05-11
William Cavendish-Bentinck, 3rd Duke of Portland (Q157208) 1807-03-31 – 1809-10-04
William Wyndham Grenville, 1st Baron Grenville (Q312596) 1806-02-11 – 1807-03-31
William Pitt the Younger (Q128902) 1804-05-10 – 1806-01-23
Henry Addington, 1st Viscount Sidmouth (Q312577) 1801-03-14 – 1804-05-10
William Pitt the Younger (Q128902) 1783-12-19 – 1801-03-14
William Cavendish-Bentinck, 3rd Duke of Portland (Q157208) 1783-04-02 – 1783-12-19
William Petty, 2nd Earl of Shelburne (Q312573) 1782-07-04 – 1783-04-02
Charles Watson-Wentworth, 2nd Marquess of Rockingham (Q378043) 1782-03-27 – 1782-07-01
Frederick North, 2nd Earl of Guilford (Q312593) 1770-01-28 – 1782-03-22
Augustus FitzRoy, 3rd Duke of Grafton (Q312583) 1768-10-14 – 1770-01-28
William Pitt, 1st Earl of Chatham (Q208663) 1766-07-30 – 1768-10-14
Charles Watson-Wentworth, 2nd Marquess of Rockingham (Q378043) 1765-07-13 – 1766-07-30
George Grenville (Q244616) 1763-04-16 – 1765-07-13
John Stuart, 3rd Earl of Bute (Q294651) 1762-05-26 – 1763-04-08
Thomas Pelham-Holles, 1st Duke of Newcastle-upon-Tyne (Q273809) 1757-07-02 – 1762-05-26
William Cavendish, 4th Duke of Devonshire (Q238639) 1756-11-16 – 1757-06-25
Thomas Pelham-Holles, 1st Duke of Newcastle-upon-Tyne (Q273809) 1754-03-16 – 1756-11-16
Henry Pelham (Q244766) 1743-08-27 – 1754-03-06
2. Spencer Compton, 1st Earl of Wilmington (Q270415) 1742-02-16 – 1743-07-02
1. Robert Walpole (Q104190) 1721-04-15 – 1742-02-11
Position created: 1721-04-04


You can see this in action at Talk:Q14211.

Ask a question edit

If you have a question then please ask it on the Template_talk:PositionHolderHistory page.

Further information edit

This tool was developed as part of the Wikimedia / mySociety / EveryPolitician grant, and is now maintained independently by Oravrattas.

The source code for this tool can be found in two repositories:

  • [1]: the HTTP interface to the tool
  • [2]: the underlying library that generates the history of the position

Known issues: