Difference between revisions of "Template:Cite AHD/doc"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
(hatnote)
imported>Vanisaac
m (→‎Harvard style referencing: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 41: Line 41:
 
==Harvard style referencing==
 
==Harvard style referencing==
 
This template provides a simple Harvard style reference, using AHD followed by the ID number. For example, to reference the Emery Point Lighthouse use {{tl2|sfn|AHD16274}} or {{tl2|harvnb|AHD16274}}, as appropriate. However, year referencing is not supported at this time.
 
This template provides a simple Harvard style reference, using AHD followed by the ID number. For example, to reference the Emery Point Lighthouse use {{tl2|sfn|AHD16274}} or {{tl2|harvnb|AHD16274}}, as appropriate. However, year referencing is not supported at this time.
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Citation Style 1 specific-source templates]]
 
[[Category:Citation Style 1 specific-source templates]]
 
[[Category:External link templates]]
 
[[Category:External link templates]]
Line 47: Line 47:
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
 
[[Category:Heritage citation templates|Australia]]
 
[[Category:Heritage citation templates|Australia]]
</includeonly>
+
}}</includeonly>

Revision as of 05:02, 24 April 2020

Usage

This template creates a {{cite web}} citation to individual records at the Australian Heritage Database, a useful searchable reference source on Australia's heritage places.

Parameters

  • There are two unnamed parameters
  1. Place ID number. This is the only mandatory parameter. It can be found at the end of the URL
  2. An optional title

For example, the Emery Point Lighthouse record can be referenced using

{{cite AHD|16274|Emery Point Lighthouse}}

resulting in:

"Emery Point Lighthouse (Place ID 16274)". Australian Heritage Database. Department of the Environment.

Or, if one prefers not to mention the title:

{{cite AHD|16274}}

results in:

"Place ID 16274". Australian Heritage Database. Department of the Environment.

  • The date of registration can be specified using the date field.
  • In addition, the access date can be specified using the accessdate fields.
  • Error checking is not done at all. Specifying an incorrect ID will result in a link to a non-existing record.

More examples

  • Use of date and accessdate fields:

{{cite AHD|105914|Sydney Opera House|date=28 July 2007|accessdate=2010-09-16}}

result:

"Sydney Opera House (Place ID 105914)". Australian Heritage Database. Department of the Environment. 28 July 2007. Retrieved 2010-09-16.

Harvard style referencing

This template provides a simple Harvard style reference, using AHD followed by the ID number. For example, to reference the Emery Point Lighthouse use {{sfn|AHD16274}} or {{harvnb|AHD16274}}, as appropriate. However, year referencing is not supported at this time.