Template:National Heritage List for England/sandbox
Historic England. "Details from listed building database ({{{num}}})". National Heritage List for England.
This is the template sandbox page for Template:National Heritage List for England (diff). See also the companion subpage for test cases. |
This template is used on approximately 24,000 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 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 Lua: |
This template is used to provide a link to the Historic England — National Heritage List for England (NHLE) database (https://HistoricEngland.org.uk/listing/the-list/)
for a specified listed building or object in England.
For listed buildings, the database records all those in England, and is updated as changes to entries are made, and new listings are added.
The database also contains the following registered historic locations or sites in England:
- Historic Parks and Gardens
- Scheduled monuments
- Protected wrecks
- Historic battlefields
- World Heritage sites
Usage
[edit]Required parameter
[edit]- num: the 'list entry number' from the database .
Optional parameters
[edit]Additional information for the title:
- desc: additional text description such as the name of the building or site; useful if there are several listed objects in an article. If this parameter is not used, default text 'Details from listed building database' will be displayed instead.
- grade: to display the Grade of a listed building; enter as II, II* or I. Only appears if
|desc=
is also used. - author: defaults to Historic England, but can be changed to another name if desired
- author-link: defaults to Historic England, but is not set by default if author is set to something other than Historic England
- date: the date provided by Historic England; can be a full or partial date
- year: the year provided by Historic England; use of
|date=
is recommended, see Template:Cite web/doc#Date for proper usage - orig-date: the year information was first provided by Historic England; only appears if
|date=
or|year=
is also used - access-date: the date a Wikipedia editor retrieved information from the Historic England list database.
- mode: defaults to
|mode=cs1
; set to|mode=cs2
to provide consistency with citation style 2, as produced by{{citation}}
- postscript: controls the closing punctuation for the citation; defaults to a period (
.
); for no terminating punctuation, set to|postscript=none
, however using|mode=cs2
does this automatically - fewer-links: use
|fewer-links=yes
to remove repeated wikilinks where the template is used more than once in an article - ref: defaults to author (Historic England) and the Historic England List Number, but can be reset to any value
- short: use
|short=yes
with|num=
to produce an external link with just the list number shown;|short=yes
suppresses the display of other parameters.
All {{Cite web}} parameters are available.
Examples
[edit]{{National Heritage List for England|num=1188692}}
displays as:
- Historic England. "Details from listed building database (1188692)". National Heritage List for England.
{{National Heritage List for England|num=1188692|short=yes}}
displays as:
{{National Heritage List for England|num=1188692|desc=Southgate Underground station}}
displays as:
{{National Heritage List for England|num=1188692|desc=Southgate Underground station|grade=II*|access-date=7 November 2024}}
displays as:
- Historic England. "Southgate Underground station (Grade II*) (1188692)". National Heritage List for England. Retrieved 7 November 2024.
{{National Heritage List for England|num=1162800|desc=Church of St Michael and All Angels, Ashton-under-Lyne|access-date=7 November 2024|mode=cs2}}
displays as:
- Historic England, "Church of St Michael and All Angels, Ashton-under-Lyne (1162800)", National Heritage List for England, retrieved 7 November 2024
If a short citation is required (not to be confused with |short=
) and one of the {{harv}} templates or {{sfn}} is used then {{harv|Historic England|Historic England list entry number}}
will link the short reference to the long one. For example, {{harv|Historic England|1162800}}
produces (Historic England & 1162800) that links to the 'Church of St Michael and All Angels' example above. This is different from the standard use of the {{harv}} that links using the parameters 'author' and 'date' or 'year'.
Some articles (e.g. Kingston upon Hull) have multiple entries. |fewer-links=yes
can be used to remove the repeated internal wikilinks from any additional and subsequent instances of the template:
{{National Heritage List for England|num=1001519|desc=East Park, Hull}}
{{National Heritage List for England|num=1001520|desc=Pearson Park|fewer-links=yes}}
displays as:
- Historic England. "East Park, Hull (1001519)". National Heritage List for England.
- Historic England. "Pearson Park (1001520)". National Heritage List for England.
Template data
[edit]TemplateData for National Heritage List for England
Provides an external link to an entry on Historic England's National Heritage List for England (NHLE) database of heritage assets
Parameter | Description | Type | Status | |
---|---|---|---|---|
num | num | the 'list entry number' from the database | Number | required |
desc | desc | Additional text description, such as the name of the building or site. Useful if there are several listed objects in an article. If this parameter is not used, default text 'Details from listed building database' will be displayed instead.
| String | suggested |
grade | grade | to display the Grade of a listed building: enter as 'II', 'II*' or 'I', only appears if desc is also used | String | optional |
author | author | defaults to 'Historic England', but can be changed to another name if desired
| String | optional |
author-link | author-link | defaults to 'Historic England', but is not set by default if author is set to something other than Historic England
| String | optional |
date | date | the date provided by Historic England; can be a full or partial date | String | optional |
year | year | the year provided by Historic England; use of date parameter is recommended | String | optional |
orig-date | orig-date origyear orig-year | the year information was first provided by Historic England; only appears if date or year parameter is also used | String | optional |
access-date | access-date accessdate | the date a Wikipedia editor retrieved and/or verified information from the Historic England list database
| String | suggested |
mode | mode | defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by {{citation}} | String | optional |
postscript | postscript | controls the closing punctuation for the citation; defaults to a period (.); for no terminating punctuation set to none, however using mode=cs2 does this automatically | String | optional |
fewer-links | fewer-links | set to 'yes' to remove repeated wikilinks to 'Historic England' and 'National Heritage List for England', where the template is used more than once in an article | String | optional |
ref | ref | defaults to author and the Historic England list number, but can be set to any value | String | optional |
short | short | use 'yes' with just the num parameter to produce an external link with just the list number shown; suppresses the display of other parameters | String | optional |
Tracking categories
[edit]- Category:Historic England citations needing attention (0)
- This tracks pages which have an empty
|num=
field.
- This tracks pages which have an empty
See also
[edit]- {{Historic England research records}} — provides a link to the Historic England research records available through the Heritage Gateway, which replaced the PastScape section of the Historic England Archive (HEA), formerly known as the National Monuments Record (NMR)
- {{National Historic Assets of Wales}} - provides a link to a Cadw National Historic Assets of Wales list entry.
- {{Historic Environment Scotland}} - provides a link to items on the Historic Environment Scotland database.