Template:UK MP links
(Redirected from Template:MPLinksUK)
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
- This template should not be substituted.
Cut & paste
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
- 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 | http://www.publications.parliament.uk/pa/cm201314/cmhansrd/cmallfiles/mps/commons_hansard_[hansardcurr]_home.html |
guardian | id | Electoral history and profile | http://www.theguardian.com/politics/[guardian] |
publicwhip | name | Voting record | http://www.publicwhip.org.uk/mp.php?mpn=[publicwhip] |
theywork | name | Record in Parliament | http://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
{{ 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:
- Profile at Parliament of the United Kingdom
- Contributions in Parliament at Hansard 1803–2005
- Current session contributions in Parliament at Hansard
- Electoral history and profile at The Guardian
- Voting record at Public Whip
- Record in Parliament at TheyWorkForYou
- Profile at Westminster Parliamentary Record
- Profile at BBC News Democracy Live
- Articles authored at Journalisted
The above documentation is transcluded from Template:UK MP links/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |