Difference between revisions of "Template:Cite NSW HD"

From blackwiki
Jump to navigation Jump to search
imported>Rangasyd
(create page)
 
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 Heritage Database
+
  |work=New South Wales Heritage Database
  |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]]
  |accessdate={{{accessdate|}}}
+
  |access-date={{{access-date|{{{accessdate|}}}}}}
 
  |title={{#if: {{{2}}}|{{{2}}}|{{BASEPAGENAME}}}}{{#if: {{{hr|}}}|, New South Wales Heritage Database (NSW HD) Number H{{{hr}}}|}}{{#if: {{{ho|}}}|, Heritage Overlay HO{{{ho}}}|}}{{#if: {{{ho2|}}}|,HO{{{ho2}}}|}}{{#if: {{{hi|}}}|, New South Wales Heritage Database Number H{{{hi}}}|}}
 
  |title={{#if: {{{2}}}|{{{2}}}|{{BASEPAGENAME}}}}{{#if: {{{hr|}}}|, New South Wales Heritage Database (NSW HD) Number H{{{hr}}}|}}{{#if: {{{ho|}}}|, Heritage Overlay HO{{{ho}}}|}}{{#if: {{{ho2|}}}|,HO{{{ho2}}}|}}{{#if: {{{hi|}}}|, New South Wales Heritage Database Number H{{{hi}}}|}}
 
  |ref=CITEREFVHD{{{1}}}
 
  |ref=CITEREFVHD{{{1}}}

Latest revision as of 22:17, 30 August 2020

Template documentation[view] [edit] [history] [purge]

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)" | access-date = 2025-12-17 }}

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 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 fn field
  • In addition, the access date can be specified using the |access-date= 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 |access-date= parameter:

{{cite NSW HD|2423504|Terrace Group "Glover Cottages" Including Interiors|access-date=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.