Difference between revisions of "Template:Cite NSW SHR/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(CS1 wrapper)
imported>Jonesey95
(minor cleanup)
Line 4: Line 4:
 
This template creates a {{tl|cite web}} citation to [[New South Wales State Heritage Register]] and the [[Office of Environment and Heritage (New South Wales)|Heritage Office]] on the [http://www.environment.nsw.gov.au/heritageapp/ ''State Heritage Inventory''], a searchable reference source on the heritage places of [[New South Wales]], [[Australia]].
 
This template creates a {{tl|cite web}} citation to [[New South Wales State Heritage Register]] and the [[Office of Environment and Heritage (New South Wales)|Heritage Office]] on the [http://www.environment.nsw.gov.au/heritageapp/ ''State Heritage Inventory''], a searchable reference source on the heritage places of [[New South Wales]], [[Australia]].
  
<nowiki>{{cite NSW SHR
+
<nowiki>{{cite NSW SHR
 
   | "database id"
 
   | "database id"
 
   | "title"
 
   | "title"
Line 14: Line 14:
  
 
==Mandatory Parameters==
 
==Mandatory Parameters==
There are two mandatory unnamed parameters
+
There are two mandatory unnamed parameters
 
# Place ID number.  It is found at the end of the URL.
 
# Place ID number.  It is found at the end of the URL.
 
# A title.  If empty it defaults to BASEPAGENAME.
 
# A title.  If empty it defaults to BASEPAGENAME.
Line 30: Line 30:
 
The optional parameters are:
 
The optional parameters are:
 
* The New South Wales State Heritage Register (NSW SHR) File number can be specified using the optional <code>fn</code> field
 
* The New South Wales State Heritage Register (NSW SHR) File number can be specified using the optional <code>fn</code> field
* In addition, the access date can be specified using the <code>accessdate</code> fields.
+
* In addition, the access date can be specified using the {{para|accessdate}} parameter.
  
 
===Examples===
 
===Examples===
Line 40: Line 40:
  
 
==More examples==
 
==More examples==
Use of <code>accessdate</code> field:
+
Use of {{para|accessdate}} parameter:
  
 
<code><nowiki>{{cite NSW SHR|5060991|Conservatorium of Music|accessdate=2017-02-25}}</nowiki></code>
 
<code><nowiki>{{cite NSW SHR|5060991|Conservatorium of Music|accessdate=2017-02-25}}</nowiki></code>
Line 49: Line 49:
  
 
==Harvard style referencing==
 
==Harvard style referencing==
This template provides a simple Harvard style reference, using VHD followed by the ID number. For example, to reference the Conservatorium of Music use {{tl2|sfn|NSW SHR5060991}} or {{tl2|harvnb|NSW SHR5060991}}, as appropriate. However, year referencing is not supported at this time.
+
This template provides a simple Harvard style reference, using VHD followed by the ID number. For example, to reference the Conservatorium of Music, use {{tl2|sfn|VHD5060991}} or {{tl2|harvnb|VHD5060991}}, as appropriate. Year referencing is not supported at this time.
 
<includeonly>
 
<includeonly>
 
{{DEFAULTSORT:NSW SHR}}
 
{{DEFAULTSORT:NSW SHR}}

Revision as of 16:07, 26 February 2017

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.

{{cite NSW SHR | "database id" | "title" | fn = "New South Wales State Heritage Register (NSW SHR) File number (optional)" | accessdate = 2025-12-20 }}

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

  1. Place ID number. It is found at the end of the URL.
  2. A title. If empty it defaults to BASEPAGENAME.

Example

For example, the Sydney Conservatorium of Music record can be referenced using

{{cite NSW SHR|5060991|Conservatorium of Music}}

resulting in:

"Conservatorium of Music". New South Wales State Heritage Register. Office of Environment and Heritage.

Optional parameters

The optional parameters are:

  • The New South Wales State Heritage Register (NSW SHR) File number can be specified using the optional fn field
  • In addition, the access date can be specified using the |accessdate= parameter.

Examples

{{cite NSW SHR|5060991|Conservatorium of Music|fn=S97/00190/007}}

resulting in:

"Conservatorium of Music". New South Wales State Heritage Register. Office of Environment and Heritage. HS97/00190/007.

More examples

Use of |accessdate= parameter:

{{cite NSW SHR|5060991|Conservatorium of Music|accessdate=2017-02-25}}

result:

"Conservatorium of Music". New South Wales State Heritage Register. Office of Environment and Heritage. Retrieved 2017-02-25.

Harvard style referencing

This template provides a simple Harvard style reference, using VHD followed by the ID number. For example, to reference the Conservatorium of Music, use {{sfn|VHD5060991}} or {{harvnb|VHD5060991}}, as appropriate. Year referencing is not supported at this time.