टेम्पलेट:NPG name
Portraits of NPG name at the National Portrait Gallery, London
This template generates an external link to the catalogue of the National Portrait Gallery (NPG) in London, England.
It allows a link from biographical articles to the NPG's list of portraits of that person.
Usage
One parameter:
{{NPG name | ID }}
{{NPG name | id= ID }}
Two parameters:
{{NPG name | ID | NAME }}
{{NPG name | id= ID | name= NAME }}
Instructions
- Go to npg
.org .uk and search for the person you want - Click on the correct link to go to the details of a picture of the person you want. Be sure you are getting the right person
- Below the picture and its details, the sitter and the artist should both be listed.
- Click on the link for the sitter
- The page URL should look like:
http://www.npg.org.uk/live/search/person.asp?LinkID=mp#####
- where "#####" indicates a number.
- Copy ONLY that number (be sure to remove the "mp" and to keep all the zeros)
- 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
Examples
- Searching for "Harold Wilson", you will reach this page:
- Click on the link for the first picture
- Below the thumbnail picture, you will see the hyperlinked text:
- Sitter: (James) Harold Wilson, Baron Wilson of Rievaulx (1916-1995), Prime Minister.
- Click on the link
- The page URL should look like:
http://www.npg.org.uk/collections/search/person.php?LinkID=mp04868
- Copy "04868" (be sure to remove the "mp" and to keep all the zeros)
- Add to the external links section the text:
{{NPG name|id=04868|name=Harold Wilson}}
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.
One parameter
Usage:
{{NPG name | 04868 }}
{{NPG name | id= 04868 }}
Output:
- Portraits of NPG name at the National Portrait Gallery, London
- Portraits of NPG name at the National Portrait Gallery, London
Two parameters
Usage:
{{NPG name | 04868 | Harold Wilson }}
{{NPG name | id= 04868 | name= Harold Wilson }}
Output:
- Portraits of Harold Wilson at the National Portrait Gallery, London
- Portraits of Harold Wilson at the National Portrait Gallery, London
Template data
TemplateData for NPG name
This template generates an external link to the catalogue of the National Portrait Gallery (NPG) in London, England.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 id | ID number used in the URL, including any leading zeros. | Number | required |
Name | 2 name | Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:NPG name/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |