Template:UK MP links/doc

From Simple English 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.

How to use[change source]

Cut & paste[change source]

Either

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

or

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

The order of the fields does not matter.

Fields[change source]

  • 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.
Field Data Result URL source
parliament id Profile http://www.parliament.uk/biographies/commons/[parliament]
hansard name Contributions in Parliament http://hansard.millbanksystems.com/people/[hansard]
hansardcurr name Current session contributions in Parliament https://publications.parliament.uk/pa/cm201314/cmhansrd/cmallfiles/mps/commons_hansard_[hansardcurr]_home.html
guardian id Electoral history and profile https://www.theguardian.com/politics/[guardian]
publicwhip name Voting record http://www.publicwhip.org.uk/mp.php?mpn=[publicwhip]
theywork name Record in Parliament https://www.theyworkforyou.com/mp/[theywork]
record id Profile http://www.parliamentaryrecord.com/content/profiles/mp/[record]
bbc id Profile http://news.bbc.co.uk/democracylive/hi/representatives/profiles/[bbc]
journalisted name Articles authored http://journalisted.com/[journalisted]

Example[change source]

Nick Clegg:

{{ UK MP links  
| parliament   = nick-clegg/1563
| hansardcurr  = 2631
| hansard      = mr-nick-clegg
| guardian     = 8485/nick-clegg
| publicwhip   = Nicholas_Clegg
| theywork     = nicholas_clegg
| record       = Nick-Clegg/Sheffield-Hallam/1086
| bbc          = 27859.stm
| journalisted = nick-clegg
}}

will return all relevant external links: