Template:UK National Archives ID
"Archival material relating to {{{name}}}". UK National Archives.
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template generates an external link to a page listing associated archival material at the UK National Register of Archives (NRA).
This template supersedes {{NRA}}, which uses an old-style NRA ID.
Usage
One parameter:
{{UK National Archives ID | ID }}
{{UK National Archives ID | id= ID }}
Two parameters:
{{UK National Archives ID | ID | NAME }}
{{UK National Archives ID | id= ID | name= NAME }}
Three parameters:
{{UK National Archives ID | ID | NAME | ACCESS DATE }}
{{UK National Archives ID | id= ID | name= NAME | accessdate= ACCESS DATE }}
Using Wikidata property (P3029):
{{UK National Archives ID}}
{{UK National Archives ID | name= NAME }}
{{UK National Archives ID | name= NAME | accessdate= ACCESS DATE }}
Instructions
Add the template to the "external links" section of the article, or use it in <ref></ref>
tags.
To use this template, first search for the NRA page relating to the organisation, person, family or place.
This will often lead to a list of possible matches. If the one you want (e.g. that for George Orwell) is there, click through to the relevant page. The id is the string with which the URL ends, after ID=, e.g. here F39029.
- This template replaces {{NRA}}, which uses a deprecated form of ID.
Examples
https://discovery.nationalarchives.gov.uk/details/c/F39029
One parameter
Usage:
{{UK National Archives ID | F39029 }}
{{UK National Archives ID | id= F39029 }}
Output:
- "Archival material relating to UK National Archives ID". UK National Archives.
- "Archival material relating to UK National Archives ID". UK National Archives.
Two parameters
Usage:
{{UK National Archives ID | F39029 | George Orwell }}
{{UK National Archives ID | id= F39029 | name= George Orwell }}
Output:
- "Archival material relating to George Orwell". UK National Archives.
- "Archival material relating to George Orwell". UK National Archives.
Three parameters
Usage:
{{UK National Archives ID | F39029 | George Orwell | 13 August 2018 }}
{{UK National Archives ID | id= F39029 | name= George Orwell | accessdate= 13 August 2018 }}
Output:
- "Archival material relating to George Orwell". UK National Archives. Retrieved 13 August 2018.
- "Archival material relating to George Orwell". UK National Archives. Retrieved 13 August 2018.
No ID in template or Wikidata
Usage:
{{UK National Archives ID}}
Output:
- "Archival material relating to UK National Archives ID". UK National Archives.Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
TemplateData for UK National Archives ID
This template generates an external link to a page listing associated archival material at the UK National Register of Archives (NRA).
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | ID string used in the URL, defaults to value in Wikidata
| String | optional |
Name | name 2 | Name displayed in the link text. If not specified it defaults to the article's title, without disambiguation.
| String | optional |
Access date | accessdate 3 | Access date for citation template.
| Date | optional |
Tracking category
- Pages with script errors
- Templates that wrap Cite web
- Templates using data from Wikidata
- Templates tracking Wikidata
- Templates using TemplateData
- The National Archives (United Kingdom) templates
- People and person external link templates
- External link templates using Wikidata
- Templates that add a tracking category