Template:UK MP links/doc
これはTemplate:UK MP linksの解説サブページです。 使用方法、カテゴリ、およびその他テンプレート自体に含まれない情報を収容しています。 |
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 = | publicwhip = | theywork = | record = | bbc = | journalisted = }}
or
{{UK MP links | parliament = | hansard = | hansardcurr = | 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/cm201516/cmhansrd/cmallfiles/mps/commons_hansard_[hansardcurr]_home.html |
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 | 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
- Contributions in Parliament at Hansard 1803–2005
- Voting record at Public Whip
- Record in Parliament at TheyWorkForYou
- Profile at Westminster Parliamentary Record
- Articles authored at Journalisted