Portraits of NPG name at the National Portrait Gallery, London
![]() | This template is used on approximately 2,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This external link template is underused, compared to the number of links to the site it represents ( check here). Please help convert those links to make use of this template, for ease of tracking, and ease of interoperability with Wikidata. |
![]() | This template uses Lua: |
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.
{{NPG name | ID }}
{{NPG name | id= ID }}
{{NPG name | ID | NAME }}
{{NPG name | id= ID | name= NAME }}
{{NPG name}}
{{NPG name | name= NAME }}
https://www.npg.org.uk/live/search/person.asp?LinkID=mp#####
{{NPG name|id=#####|name=Name}}
{{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.
{{NPG name | 04868 }}
{{NPG name | id= 04868 }}
{{NPG name | 04868 | Harold Wilson }}
{{NPG name | id= 04868 | name= Harold Wilson }}
* {{NPG name}}
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 | The ID number in the URL, including any leading zeros, such as 04868 in https://www.npg.org.uk/collections/search/person.php?LinkID=mp04868. This parameter is optional if Wikidata property P1816 exists, but required if not.
| Number | optional |
Name | 2 name | Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.
| String | optional |