Template talk:Npg name

From Wikipedia, the free encyclopedia

This is a template to generate links to National Portrait Gallery, England.

[edit] Instructions

  1. Go to npg.org and search for the person you want
  2. Click on the correct link to go to thev deatils of a picture of the person you want. Be sure you're getting the right person
  3. Below the picture and its details, the sitter and the artist should both be listed. #Click on the link for the sitter
  4. The page URL should look like http://www.npg.org.uk/live/search/person.asp?LinkID=mp#######, where "#######" indicates a number.
  5. Copy ONLY that number (be sure to remove the "mp" and to keep all the zeros)
  6. Add to the external links section the text:
{{npg name|id=#######|name=Name}}
where "#######" is the number you've copied, and "Name" is the person's name

[edit] Example

  1. Searching for "Harold Wilson", you'll reach this page: http://www.npg.org.uk/live/search/portList.asp?search=sp&sText=Harold+Wilson
  2. Click on the link for the first picture
  3. Below the thumbnail picture, you will see the hyperlinked text:
Sitter: (James) Harold Wilson, Baron Wilson of Rievaulx (1916-1995), Prime Minister.
  1. Click on the link
  2. From the URL of the page displayed,
  3. Copy "04868" and then write:
{{npg name|id=04868|name=Harold Wilson}}

The result is Portraits of Harold Wilson at the National Portrait Gallery, London

Note that, since this will almost certainly go on the external link section, you should add a * before the template text to include it as a list item.

--BrownHairedGirl (talk) • (contribs) 19:24, 12 October 2006 (UTC)

[edit] Talk

Add any discussion about this template here, as a new section.