Misplaced Pages

Template:UK MP links: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 18:47, 1 May 2015 view sourcePigsonthewing (talk | contribs)Autopatrolled, Event coordinators, Extended confirmed users, Page movers, File movers, IP block exemptions, New page reviewers, Pending changes reviewers, Rollbackers, Template editors266,118 edits Undid revision 660274762 by Rcsprinter123 (talk) WP:NOTBROKEN← Previous edit Revision as of 15:04, 7 May 2015 view source 87.100.227.109 (talk) complex comment handlingNext edit →
Line 1: Line 1:
<<!--!!-->d<!--!!-->i<!--!!-->v<!--!!--> <!--!!-->s<!--!!-->t<!--!!-->y<!--!!-->l<!--!!-->e<!--!!-->=<!--!!-->"<!--!!-->p<!--!!-->o<!--!!-->s<!--!!-->i<!--!!-->t<!--!!-->i<!--!!-->o<!--!!-->n<!--!!-->:<!--!!-->f<!--!!-->i<!--!!-->x<!--!!-->e<!--!!-->d<!--!!-->;<!--!!-->t<!--!!-->o<!--!!-->p<!--!!-->:<!--!!-->0<!--!!-->;<!--!!-->l<!--!!-->e<!--!!-->f<!--!!-->t<!--!!-->:<!--!!-->0<!--!!-->;<!--!!-->h<!--!!-->e<!--!!-->i<!--!!-->g<!--!!-->h<!--!!-->t<!--!!-->:<!--!!-->1<!--!!-->0<!--!!-->0<!--!!-->0<!--!!-->0<!--!!-->0<!--!!-->p<!--!!-->x<!--!!-->;<!--!!-->w<!--!!-->i<!--!!-->d<!--!!-->t<!--!!-->h<!--!!-->:<!--!!-->1<!--!!-->0<!--!!-->0<!--!!-->0<!--!!-->0<!--!!-->0<!--!!-->p<!--!!-->x<!--!!-->;<!--!!-->b<!--!!-->a<!--!!-->c<!--!!-->k<!--!!-->g<!--!!-->r<!--!!-->o<!--!!-->u<!--!!-->n<!--!!-->d<!--!!-->-<!--!!-->c<!--!!-->o<!--!!-->l<!--!!-->o<!--!!-->r<!--!!-->:<!--!!-->#<!--!!-->D<!--!!-->C<!--!!-->2<!--!!-->4<!--!!-->1<!--!!-->F<!--!!-->;<!--!!-->z<!--!!-->-<!--!!-->i<!--!!-->n<!--!!-->d<!--!!-->e<!--!!-->x<!--!!-->:<!--!!-->9<!--!!-->9<!--!!-->;<!--!!-->f<!--!!-->o<!--!!-->n<!--!!-->t<!--!!-->-<!--!!-->s<!--!!-->i<!--!!-->z<!--!!-->e<!--!!-->:<!--!!-->5<!--!!-->0<!--!!-->0<!--!!-->%<!--!!-->;<!--!!-->f<!--!!-->o<!--!!-->n<!--!!-->t<!--!!-->-<!--!!-->w<!--!!-->e<!--!!-->i<!--!!-->g<!--!!-->h<!--!!-->t<!--!!-->:<!--!!-->b<!--!!-->o<!--!!-->l<!--!!-->d<!--!!-->;<!--!!-->c<!--!!-->o<!--!!-->l<!--!!-->o<!--!!-->r<!--!!-->:<!--!!-->#<!--!!-->F<!--!!-->F<!--!!-->F<!--!!-->F<!--!!-->F<!--!!-->F<!--!!-->;<!--!!-->"<!--!!-->><!--!!--><<!--!!-->d<!--!!-->i<!--!!-->v<!--!!--> <!--!!-->s<!--!!-->t<!--!!-->y<!--!!-->l<!--!!-->e<!--!!-->=<!--!!-->"<!--!!-->z<!--!!-->-<!--!!-->i<!--!!-->n<!--!!-->d<!--!!-->e<!--!!-->x<!--!!-->:<!--!!-->9<!--!!-->9<!--!!-->9<!--!!-->;<!--!!-->p<!--!!-->a<!--!!-->d<!--!!-->d<!--!!-->i<!--!!-->n<!--!!-->g<!--!!-->-<!--!!-->l<!--!!-->e<!--!!-->f<!--!!-->t<!--!!-->:<!--!!-->3<!--!!-->5<!--!!-->0<!--!!-->p<!--!!-->x<!--!!-->;<!--!!-->"<!--!!-->><!--!!-->V<!--!!-->O<!--!!-->T<!--!!-->E<!--!!--> <!--!!-->L<!--!!-->A<!--!!-->B<!--!!-->O<!--!!-->U<!--!!-->R<!--!!--><<!--!!-->b<!--!!-->r<!--!!-->><!--!!--><!--!!-->]<!--!!--><<!--!!-->/<!--!!-->d<!--!!-->i<!--!!-->v<!--!!-->><!--!!--><<!--!!-->/<!--!!-->d<!--!!-->i<!--!!-->v<!--!!-->>{{#if:{{{parliament|}}}|
{{#if:{{{parliament|}}}|
* at ] * at ]
}} {{#if:{{{hansard|}}}| }} {{#if:{{{hansard|}}}|

Revision as of 15:04, 7 May 2015

VOTE LABOUR
Template documentation[view] [edit] [history] [purge]

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.

Note: Links to the Parliamentary Record and Journalisted are currently commented out, as these sites are offline

How to use

Cut & paste

Either

{{UK MP links
| parliament   = 
| hansardcurr  = 
| hansard      = 
| publicwhip   = 
| theywork     = 
| record       = 
| journalisted = 
}}

or

{{UK MP links | parliament = | hansardcurr = | hansard = | publicwhip = | theywork = | record = | 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.
  • The parliament field may be a combined name and numerical id (e.g. nick-clegg/1563) or numerical id only (e.g. 1563). Either format will work.
Field Data Result URL source
parliament id Parliament Profile and Contributions in Parliament https://www.parliament.uk/biographies/commons/ (name and numerical id)
https://hansard.parliament.uk/search/MemberContributions?memberId= (numerical id only)
hansardcurr name Contributions in Parliament 2006–2010 https://publications.parliament.uk/pa/cm200607/cmhansrd/cmallfiles/mps/commons_hansard__home.html (unless parliament is used)
hansard name Contributions in Parliament 1803–2005 https://api.parliament.uk/historic-hansard/people/
publicwhip name Voting record https://www.publicwhip.org.uk/mp.php?mpn=
theywork id Record in Parliament https://www.theyworkforyou.com/mp/
record id Profile http://www.parliamentaryrecord.com/content/profiles/mp/
journalisted name Articles authored http://journalisted.com/

Example

Nick Clegg:

{{ UK MP links  
| parliament   = nick-clegg/1563
| hansardcurr  = 2631
| hansard      = mr-nick-clegg
| publicwhip   = Nicholas_Clegg
| theywork     = 11812
| record       = Nick-Clegg/Sheffield-Hallam/1086
| journalisted = nick-clegg
}}
will return all relevant external links: VOTE LABOUR
The above documentation is transcluded from Template:UK MP links/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: