This template uses the Wikidata properties:
- NO LABEL (P1996) (see uses)
- Hansard (1803–2005) ID (P2015) (see uses)
- Hansard (2006–March 2016) ID (P2170) (see uses)
- PublicWhip ID (P2169) (see uses)
- TheyWorkForYou ID (P2171) (see uses)
- Journalisted ID (P1714) (see uses)
- Parliamentary record ID (P2172) (see uses)
- BBC News Democracy Live ID (P2173) (see uses)
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.
How to use
edit- This template should not be substituted.
Cut & paste
editEither
{{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
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.
Field | Data | Result | URL source |
---|---|---|---|
parliament | id | Profile | https://www.parliament.uk/biographies/[parliament] |
hansard | name | Contributions in Parliament | http://api.parliament.uk/historic-hansard/people/[hansard] |
hansardcurr | name | Current session contributions in Parliament | https://www.publications.parliament.uk/pa/ld201314/ldhansrd/ldallfiles/peers/lord_hansard_{{{hansardcurr}}}_home.html |
guardian | id | Electoral history and profile | https://www.guardian.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/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
editDelyth 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
}}
- Profile at the 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