Template:NHLE/doc: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
__NOTOC__
__NOTOC__
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
This template is used to provide a link to the [[English Heritage]] — National Heritage List for England database (http://list.english-heritage.org.uk/default.aspx) for a specified listed building or object in England.  
This template is used to provide a link to the [[Historic England]] — National Heritage List for England database (http://list.historicengland.org.uk/) for a specified listed building or object in England.  


For listed buildings, the database records ''all'' those in England unlike Images of England (IoE), which records a snapshot of those listed at the turn of the millennium. The National Heritage List for England has similar information and includes a map, but not the IoE photograph. The database also records changes made to database entries since the Images of England site was created.
For listed buildings, the database records ''all'' those in England unlike Images of England (IoE), which records a snapshot of those listed at the turn of the millennium. The National Heritage List for England has similar information and includes a map, but not the IoE photograph. The database also records changes made to database entries since the Images of England site was created.
Line 15: Line 15:
==Usage==
==Usage==
===Required parameter===
===Required parameter===
*'''num''': the List Entry Number from the database (not the same as the IoE Number used by Images of England).
*Parameter '''1''' is the List Entry Number from the NHLE database.
*Parameter '''2''' is the name of the entry. If this is omitted, it will assume the description is the page name


===Optional parameters===
===Optional parameters===
*'''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 identify the grade of a listed building. Enter as II, II* or I. Only appears if desc is also used.
*'''grade''': To identify the grade of a listed building. Enter as II, II* or I. Only appears if desc is also used.
 
*'''type''': to distinguish between "list" or "monument" etc (as a listed building or a scheduled ancient monument). If ''grade='' is used, then "type" is disregarded as it must be a listed buildung entry. The options include:
*'''accessdate''': The date information was retrieved from the database.
**''list''
 
**''battlefield''
*'''separator''': Defaults to a period (.); if the parameter is present, but blank, no separator punctuation will be used; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. Used in conjunction with the '''ps''' parameter it can provide consistency with [[Help:Citation Style 2|Citation style 2]], as produced by {{tlx|Citation}}.
**''monument''
 
**''world heritage site''
*'''ps''':  Using {{para|ps}} removes the final period; suppressing the default final period (full stop) ensures consistency with [[Help:Citation Style 2|Citation style 2]], as produced by {{tlx|Citation}}.
**''wreck''


==Examples==
==Examples==
<code><nowiki>{{NHLE |num=1188692}}</nowiki></code>
<code><nowiki>{{NHLE|1188692}}</nowiki></code>


Gives:
Gives:
{{NHLE |num=1188692}}
{{NHLE|1188692}}


<code><nowiki>{{NHLE |num=1188692 |desc=Southgate Underground station}}</nowiki></code>
<code><nowiki>{{NHLE|1188692|Southgate Underground station}}</nowiki></code>


Gives:
Gives:
{{NHLE |num=1188692 |desc=Southgate Underground station}}
{{NHLE|Southgate Underground station}}


<code><nowiki>{{NHLE |num=1188692 |desc=Southgate Underground station |grade=II* |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
<code><nowiki>{{NHLE|1188692|Southgate Underground station|grade=II*}}</nowiki></code>


Gives:
Gives:
{{NHLE|num=1188692 |desc=Southgate Underground station |grade=II* |accessdate={{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{NHLE|1188692|Southgate Underground station|grade=II*}}


<code><nowiki>{{NHLE |num=1162800|desc=Church of St Michael and All Angels, Ashton-under-Lyne|accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>|separator=,|ps=}}</nowiki></code>
<code><nowiki>{{NHLE|1012126|Vespasian's Camp|type=monument}}</nowiki></code>


Gives:
Gives:
{{NHLE |num=1162800|desc=Church of St Michael and All Angels, Ashton-under-Lyne|accessdate={{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}|separator=,|ps=}}
{{NHLE|1012126|Vespasian's Camp|type=monument}}
 
==See also==


== See also ==
*[[template:IoE]]
<includeonly>[[Category:Third parties' projects in templates|{{PAGENAME}}]]</includeonly>
<includeonly>[[Category:Third parties' projects in templates|{{PAGENAME}}]]</includeonly>

Latest revision as of 19:55, 2 July 2020

Template:Mbox

This template is used to provide a link to the Historic England — National Heritage List for England database (http://list.historicengland.org.uk/) for a specified listed building or object in England.

For listed buildings, the database records all those in England unlike Images of England (IoE), which records a snapshot of those listed at the turn of the millennium. The National Heritage List for England has similar information and includes a map, but not the IoE photograph. The database also records changes made to database entries since the Images of England site was created.

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

Required parameter

  • Parameter 1 is the List Entry Number from the NHLE database.
  • Parameter 2 is the name of the entry. If this is omitted, it will assume the description is the page name

Optional parameters

  • grade: To identify the grade of a listed building. Enter as II, II* or I. Only appears if desc is also used.
  • type: to distinguish between "list" or "monument" etc (as a listed building or a scheduled ancient monument). If grade= is used, then "type" is disregarded as it must be a listed buildung entry. The options include:
    • list
    • battlefield
    • monument
    • world heritage site
    • wreck

Examples

{{NHLE|1188692}}

Gives: National Heritage List 1188692: NHLE/doc

{{NHLE|1188692|Southgate Underground station}}

Gives: National Heritage List Southgate Underground station: Underground station NHLE/doc

{{NHLE|1188692|Southgate Underground station|grade=II*}}

Gives: National Heritage List 1188692: Southgate Underground station (Grade II* listing)

{{NHLE|1012126|Vespasian's Camp|type=monument}}

Gives: National Heritage List 1012126: Vespasian's Camp (Scheduled ancient monument entry)

See also