Template:UK National Archives ID

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

"Archival material relating to UK National Archives ID". UK National Archives.

Template documentation[view] [edit] [history] [purge]

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[change source]

No parameters:

{{UK National Archives ID}}
The ID will be Wikidata:Property:P3029 if available.

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|access-date=ACCESS DATE}}

Instructions[change source]

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[change source]

One parameter[change source]

URL:

https://discovery.nationalarchives.gov.uk/details/c/F39029

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[change source]

URL:

https://discovery.nationalarchives.gov.uk/details/c/F39029

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.

Template data[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

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).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
IDid1

ID string used in the URL, defaults to value in Wikidata

Example
F39029
Stringoptional
Namename2

Name displayed in the link text. If not specified it defaults to the article's title, without disambiguation.

Example
George Orwell
Stringoptional