Difference between revisions of "Template:Cite NSW HD/doc"
imported>Rangasyd (create page) |
imported>Vanisaac m (→Harvard style referencing: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 51: | Line 51: | ||
==Harvard style referencing== | ==Harvard style referencing== | ||
This template provides a simple Harvard style reference, using HD followed by the ID number. For example, to reference the Glover cottages, use {{tl2|sfn|HD2423504}} or {{tl2|harvnb|HD2423504}}, as appropriate. Year referencing is not supported at this time. | This template provides a simple Harvard style reference, using HD followed by the ID number. For example, to reference the Glover cottages, use {{tl2|sfn|HD2423504}} or {{tl2|harvnb|HD2423504}}, as appropriate. Year referencing is not supported at this time. | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
{{DEFAULTSORT:NSW HD}} | {{DEFAULTSORT:NSW HD}} | ||
[[Category:External link templates]] | [[Category:External link templates]] | ||
| Line 58: | Line 58: | ||
[[Category:Specific-source templates]] | [[Category:Specific-source templates]] | ||
[[Category:Citation Style 1 specific-source templates]] | [[Category:Citation Style 1 specific-source templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 14:18, 24 April 2020
| This is a documentation subpage for Template:Cite NSW HD. It contains usage information, categories and other content that is not part of the original template page. |
| 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. |
Contents
Usage
This template creates a {{cite web}} citation to New South Wales Heritage Database and the Heritage Office on the State Heritage Inventory, a searchable reference source on the heritage places that are not listed on any active international or Commonwealth register, or the New South Wales State Heritage Register in Australia.
{{cite NSW HD | "database id" | "title" | fn = "New South Wales Heritage Database (NSW HD) File number (optional)" | accessdate = 2025-12-14 }}
There is no error checking. Specifying an incorrect ID will result in a link to a non-existing record.
Mandatory Parameters
There are two mandatory unnamed parameters
- Place ID number. It is found at the end of the URL.
- A title. If empty it defaults to BASEPAGENAME.
Example
For example, the Glover cottages record can be referenced using
{{cite NSW HD|2423504|Terrace Group "Glover Cottages" Including Interiors}}
resulting in:
"Glover cottages". New South Wales Heritage Database. Office of Environment and Heritage.
Optional parameters
The optional parameters are:
- The New South Wales Heritage Database (NSW HD) File number can be specified using the optional
fnfield - In addition, the access date can be specified using the
|accessdate=parameter.
Examples
{{cite NSW HD|2423504|Terrace Group "Glover Cottages" Including Interiors|fn=S97/00190/007}}
resulting in:
"Terrace Group "Glover Cottages" Including Interiors, New South Wales Heritage Database (NSW HD) Number HS97/00190/007". New South Wales Heritage Database. Office of Environment and Heritage.
More examples
Use of |accessdate= parameter:
{{cite NSW HD|2423504|Terrace Group "Glover Cottages" Including Interiors|accessdate=2018-05-15}}
result:
"Terrace Group "Glover Cottages" Including Interiors". New South Wales Heritage Database. Office of Environment and Heritage. Retrieved 2018-05-15.
Harvard style referencing
This template provides a simple Harvard style reference, using HD followed by the ID number. For example, to reference the Glover cottages, use {{sfn|HD2423504}} or {{harvnb|HD2423504}}, as appropriate. Year referencing is not supported at this time.