Template:UK Peer links/doc
This template allows linking to external links found on most current UK House of Lords biographies. This will aid in the maintenance and standardization of these external links.
Contents
How to use
- This template should not be substituted.
Cut & paste
Either
{{UK Peer links | parliament = | hansard = | hansardcurr = | guardian = | publicwhip = | theywork = | record = | bbc = | journalisted = }}
or
{{UK Peer 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/lords[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/ld201314/ldhansrd/ldallfiles/peers/lord_hansard_{{{hansardcurr}}}_home.html |
guardian | id | Electoral history and profile | http://www.guardian.co.uk/politics/[guardian] |
publicwhip | name | Voting record | http://www.publicwhip.org.uk/mp.php?mpn=[publicwhip] |
theywork | name | Record in Parliament | http://www.theyworkforyou.com/peer/[theywork] |
record | id | Profile | http://www.parliamentaryrecord.com/content/profiles/peer/[record] |
bbc | id | Profile | http://news.bbc.co.uk/democracylive/hi/representatives/profiles/[bbc] |
journalisted | name | Articles authored | http://journalisted.com/[journalisted] |
Example
Delyth Morgan, Baroness Morgan of Drefelin:
{{ UK Peer links | parliament = baroness-morgan-of-drefelin/3685 | hansard = ms-delyth-morgan | hansardcurr = 2631 | guardian = | publicwhip = Baroness_Morgan_of_Drefelin | theywork = baroness_morgan_of_drefelin | record = Delyth-Morgan/1531 | bbc = 32295.stm | journalisted = delyth-morgan }}
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
- Voting record at PublicWhip.org
- Record in Parliament at TheyWorkForYou.com
- Profile at Westminster Parliamentary Record
- Profile at BBC News Democracy Live
- Articles authored at Journalisted