<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ANPG_name%2Fdoc</id>
	<title>Template:NPG name/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ANPG_name%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:NPG_name/doc&amp;action=history"/>
	<updated>2026-04-10T18:17:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:NPG_name/doc&amp;diff=24393&amp;oldid=prev</id>
		<title>Wikipedia&gt;Neveselbert: /* Tracking categories */ now exists</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:NPG_name/doc&amp;diff=24393&amp;oldid=prev"/>
		<updated>2022-01-21T20:23:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Tracking categories: &lt;/span&gt; now exists&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{Underused external link template|https://www.npg.org.uk/}}&lt;br /&gt;
{{Uses Wikidata|P1816}}&lt;br /&gt;
{{Tracks Wikidata|P1816}}&lt;br /&gt;
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}&lt;br /&gt;
&lt;br /&gt;
This template generates an external link to the catalogue of the [[National Portrait Gallery (England)|National Portrait Gallery]] (NPG) in London, England.&lt;br /&gt;
&lt;br /&gt;
It allows a link from biographical articles to the NPG&amp;#039;s list of portraits of that person.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
No parameters (uses data from Wikidata):&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One parameter:&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}} | &amp;#039;&amp;#039;ID&amp;#039;&amp;#039; }}&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}} | id= &amp;#039;&amp;#039;ID&amp;#039;&amp;#039; }}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Two parameters:&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}} | &amp;#039;&amp;#039;ID&amp;#039;&amp;#039; | &amp;#039;&amp;#039;NAME&amp;#039;&amp;#039; }}&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}} | id= &amp;#039;&amp;#039;ID&amp;#039;&amp;#039; | name= &amp;#039;&amp;#039;NAME&amp;#039;&amp;#039; }}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Instructions ==&lt;br /&gt;
# Go to {{URL|npg.org.uk}} and search for the person you want&lt;br /&gt;
# 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&lt;br /&gt;
# Below the picture and its details, the sitter and the artist should both be listed.&lt;br /&gt;
# Click on the link for the sitter&lt;br /&gt;
# The page [[URL]] should look like:&lt;br /&gt;
#: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;www.npg.org.uk/live/search/person.asp?LinkID=mp{{hilite|#####}}&amp;lt;/code&amp;gt;&lt;br /&gt;
#: where &amp;quot;#####&amp;quot; indicates a number.&lt;br /&gt;
# Copy ONLY that number (be sure to remove the &amp;quot;mp&amp;quot; and to keep all the zeros)&lt;br /&gt;
# Add to the external links section the text:&lt;br /&gt;
#: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{NPG name|id=#####|name=Name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#: where &amp;quot;#####&amp;quot; is the number you&amp;#039;ve copied, and &amp;quot;Name&amp;quot; is the person&amp;#039;s name&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
# Searching for &amp;quot;Harold Wilson&amp;quot;, you will reach this page:&lt;br /&gt;
#: &amp;lt;code&amp;gt;https://www.npg.org.uk/live/search/portList.asp?search=sp&amp;amp;sText=Harold+Wilson&amp;lt;/code&amp;gt;&lt;br /&gt;
# Click on the link for the first picture&lt;br /&gt;
# Below the thumbnail picture, you will see the hyperlinked text:&lt;br /&gt;
#: &amp;#039;&amp;#039;Sitter: (James) Harold Wilson, Baron Wilson of Rievaulx (1916-1995), Prime Minister.&amp;#039;&amp;#039;&lt;br /&gt;
# Click on the link&lt;br /&gt;
# The page URL should look like: &lt;br /&gt;
#: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://&amp;lt;/nowiki&amp;gt;www.npg.org.uk/collections/search/person.php?LinkID=mp{{hilite|04868}}&amp;lt;/code&amp;gt;&lt;br /&gt;
# Copy &amp;quot;04868&amp;quot; (be sure to remove the &amp;quot;mp&amp;quot; and to keep all the zeros)&lt;br /&gt;
# Add to the external links section the text: &lt;br /&gt;
#: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{NPG name|id=04868|name=Harold Wilson}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
=== One parameter ===&lt;br /&gt;
Usage:&lt;br /&gt;
: &amp;lt;code&amp;gt;{{((}}{{BASEPAGENAME}} {{!}} 04868 {{))}}&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;{{((}}{{BASEPAGENAME}} {{!}} id= 04868 {{))}}&amp;lt;/code&amp;gt;&lt;br /&gt;
Output:&lt;br /&gt;
: {{{{BASEPAGENAME}} | 04868 }}&lt;br /&gt;
: {{{{BASEPAGENAME}} | id= 04868 }}&lt;br /&gt;
&lt;br /&gt;
=== Two parameters ===&lt;br /&gt;
Usage:&lt;br /&gt;
: &amp;lt;code&amp;gt;{{((}}{{BASEPAGENAME}} {{!}} 04868 {{!}} Harold Wilson {{))}}&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;{{((}}{{BASEPAGENAME}} {{!}} id= 04868 {{!}} name= Harold Wilson {{))}}&amp;lt;/code&amp;gt;&lt;br /&gt;
Output:&lt;br /&gt;
: {{{{BASEPAGENAME}} | 04868 | Harold Wilson }}&lt;br /&gt;
: {{{{BASEPAGENAME}} | id= 04868 | name= Harold Wilson }}&lt;br /&gt;
&lt;br /&gt;
== Template data ==&lt;br /&gt;
{{TemplateDataHeader}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
        &amp;quot;description&amp;quot;: &amp;quot;This template generates an external link to the catalogue of the National Portrait Gallery (NPG) in London, England.&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;ID&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;ID number used in the URL, including any leading zeros.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [ &amp;quot;id&amp;quot; ]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Name displayed in the link text. If not specified it defaults to the article&amp;#039;s {{PAGENAME}}, without disambiguation.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
                        &amp;quot;required&amp;quot;: false,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [ &amp;quot;name&amp;quot; ]&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Tracking categories==&lt;br /&gt;
* {{clc|National Portrait Gallery (London) person ID not in Wikidata}}&lt;br /&gt;
* {{clc|National Portrait Gallery (London) person ID different from Wikidata}}&lt;br /&gt;
* {{clc|National Portrait Gallery (London) person ID same as Wikidata}}&lt;br /&gt;
* {{clc|NPG name template with no id set}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:People and person external link templates]]&lt;br /&gt;
[[Category:External link templates using Wikidata]]&lt;br /&gt;
[[Category:Templates that add a tracking category]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Neveselbert</name></author>
	</entry>
</feed>