User:ClemRutter/sandbox3/doc

This template is to provide simple links inline or as a hat note to the English Heritage — National Heritage List for England database (http://list.english-heritage.org.uk/default.aspx). It provides a optional reference that is compatible to and should be used with. Used with no optional parameters it act identically to allowing the Wikimedia commons Template:Listed building England to be cut and pasted directly into an article, and raw numbers in infoboxes to be replaced using the same text.

For historical reasons,English Heritage maintains several databases for Listed buildings- each with different index numbers. The index number used here is the definitive that lists all listed buildings, scheduled monuments and battlefields. This is the number used here. Images of England (IoE), which uses a different number, records a snapshot of those listed at the turn of the millennium, but does include a photograph.

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

Required parameter

 * : the List Entry Number from the database (not the same as the IoE Number used by Images of England). If used alone it just displays the number, which is linked to the National Heritage List for England database entry.

Optional parameters
Additional information for the title:


 * grade: To identify the grade of a listed building. Enter as II, II* or I.
 * title: Used solely if make-ehle is used, to add text to a if the page name does not suffice.
 * location: To identify the location of a listed building. It will usually be a county. It appears in the generated category.
 * display: defaults to "inline" but can be changed "hatnote" if desired.
 * grade: To identify the grade of a listed building. Enter as II, II* or I.
 * no-cat: if called, stops a Category being generated. Use any value or none.
 * no-ref: if called, stops a reference being generated. Use any value or none.


 * make-ehle: is a developer option to generate the to include in the bibliography. Switch off before publishing.

Examples

 * To generate a number

displays as:


 * Reference


 * To generate a standard in-line reference

displays as:


 * Reference


 * To generate a standard in-line reference but with no category

displays as:


 * Reference


 * To generate a standard in-line reference but with no sfn reference

displays as:


 * Reference


 * To generate a hatnote

displays as:


 * Reference


 * To generate text for the author to cut and paste when building the Bibliography section. It provides the correct #CITEREF link for the reference. It will not be used in the published article.

displays as:


 * Reference