Difference between revisions of "Template:Cite NSW SHR"
imported>MusikAnimal m (Changed protection level for "Template:Cite NSW SHR": High-risk template ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))) |
imported>Debresser m (Standardize.) |
||
| Line 1: | Line 1: | ||
<includeonly>{{Cite web | <includeonly>{{Cite web | ||
|url=http://www.environment.nsw.gov.au/heritageapp/ViewHeritageItemDetails.aspx?ID={{{1}}} | |url=http://www.environment.nsw.gov.au/heritageapp/ViewHeritageItemDetails.aspx?ID={{{1}}} | ||
| − | |work = [[New South Wales State Heritage Register]] | + | |work=[[New South Wales State Heritage Register]] |
| − | |publisher = [[Office of Environment and Heritage (New South Wales)|Office of Environment and Heritage]] | + | |publisher=[[Office of Environment and Heritage (New South Wales)|Office of Environment and Heritage]] |
| − | | | + | |access-date={{{access-date|{{{accessdate|}}}}}} |
|title={{#if: {{{2}}}|{{{2}}}|{{BASEPAGENAME}}}} | |title={{#if: {{{2}}}|{{{2}}}|{{BASEPAGENAME}}}} | ||
|id={{#if: {{{hr|}}}|H{{{hr}}}|}} | |id={{#if: {{{hr|}}}|H{{{hr}}}|}} | ||
Latest revision as of 22:18, 30 August 2020
| 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
This template creates a {{cite web}} citation to New South Wales State Heritage Register and the Heritage Office 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
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
fnfield (currently not displayed) - In addition, the access date can be specified using the
|access-date=parameter.
Example
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. Office of Environment and Heritage. H01849. Retrieved 3 November 2018.
| The above documentation is transcluded from Template:Cite NSW SHR/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |