Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a44f24a02ed389da

Jump to content

Template:UK MP links/doc

From Wikipedia, the free encyclopedia

This template allows linking to external links found on most current UK House of Commons biographies. This will aid in the maintenance and standardization of these external links.

Note: Links to the Parliamentary Record and Journalisted are currently commented out, as these sites are offline

How to use

[edit]

Cut & paste

[edit]

Either

{{UK MP links
| parliament   = 
| hansardcurr  = 
| hansard      = 
| publicwhip   = 
| theywork     = 
| record       = 
| journalisted = 
}}

or

{{UK MP links | parliament = | hansardcurr = | hansard = | publicwhip = | theywork = | record = | journalisted = }}

The order of the fields does not matter.

Fields

[edit]
  • All parameters are optional, but if you don't include any of them, nothing will show up.
  • Do not use capital letters. They might disrupt the code.
  • The parliament field may be a combined name and numerical id (e.g. nick-clegg/1563) or numerical id only (e.g. 1563). Either format will work.
FieldDataResultURL source
parliamentidParliament Profile and Contributions in Parliamenthttps://www.parliament.uk/biographies/commons/[parliament] (name and numerical id)
https://hansard.parliament.uk/search/MemberContributions?memberId=[parliament] (numerical id only)
hansardcurrnameContributions in Parliament 2006–2010https://publications.parliament.uk/pa/cm200607/cmhansrd/cmallfiles/mps/commons_hansard_[hansardcurr]_home.html (unless parliament is used)
hansardnameContributions in Parliament 1803–2005https://api.parliament.uk/historic-hansard/people/[hansard]
publicwhipnameVoting recordhttps://www.publicwhip.org.uk/mp.php?mpn=[publicwhip]
theyworkidRecord in Parliamenthttps://www.theyworkforyou.com/mp/[theywork]
recordidProfilehttp://www.parliamentaryrecord.com/content/profiles/mp/[record]
journalistednameArticles authoredhttp://journalisted.com/[journalisted]

Wikidata

[edit]

Some additional links whilst important and informative are not universal to all MP's and so are purely automatic and will only appear if the relevant data is in Wikidata

  • Littlesis (a database of who-knows-who),
  • The Peerage genealogical website
  • European Parliament biographical page
  • OpenSanctions (an open database of sanctions and persons of interest)
  • DeSmog a database on topics related to climate change.
  • Muck Rack a database of articles someone has written

Example

[edit]

Nick Clegg:

{{ UK MP links  
| parliament   = nick-clegg/1563
| hansardcurr  = 2631
| hansard      = mr-nick-clegg
| publicwhip   = Nicholas_Clegg
| theywork     = 11812
| record       = Nick-Clegg/Sheffield-Hallam/1086
| journalisted = nick-clegg
}}

will return all relevant external links: