Template:Cite NSW SHR/doc
This is a documentation subpage for Template:Cite NSW SHR. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,600 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. |
Usage
[edit]This template creates a {{cite web}} citation to New South Wales State Heritage Register and the Department of Planning & Environment on the State Heritage Inventory, a searchable reference source on the heritage places of New South Wales, Australia.
There is no error checking. Specifying an incorrect ID will result in a link to a non-existing record.
Parameters
[edit]There are two mandatory unnamed parameters and one mandatory named parameter
- Place ID number. It is found at the end of the URL.
- A title. If empty it defaults to BASEPAGENAME.
- hr: State Heritage Register (SHR) number
The optional parameters are:
- The New South Wales State Heritage Register (NSW SHR) File number can be specified using the optional
fn
field (currently not displayed) - In addition, the access date can be specified using the
|access-date=
parameter.
Example
[edit]For example, the Sydney Conservatorium of Music record can be referenced using
{{cite NSW SHR|5060991|Conservatorium of Music|hr=01849|access-date=3 November 2018}}
resulting in:
"Conservatorium of Music". New South Wales State Heritage Register. Department of Planning & Environment. H01849. Retrieved 3 November 2018. Text is licensed by State of New South Wales (Department of Planning and Environment) under CC BY 4.0 licence.