Template:UK MP links/doc
Appearance
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]
- This template should not be substituted.
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]
{{ 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