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

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎Harvard style referencing: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Debresser
m (Standardize.)
 
Line 2: Line 2:
 
{{For|the citation template for the American Heritage Dictionary|Template:Cite American Heritage Dictionary}}
 
{{For|the citation template for the American Heritage Dictionary|Template:Cite American Heritage Dictionary}}
  
==Usage==
+
== Usage ==
This template creates a {{tl|cite web}} citation to individual records at the ''[[Australian Heritage Database]]'', a useful [http://www.environment.gov.au/cgi-bin/ahdb/search.pl searchable] reference source on Australia's heritage places.
+
This template creates a {{Tl|Cite web}} citation to individual records at the ''[[Australian Heritage Database]]'', a useful [http://www.environment.gov.au/cgi-bin/ahdb/search.pl searchable] reference source on Australia's heritage places.
  
 
==Parameters==
 
==Parameters==
Line 12: Line 12:
 
For example, the Emery Point Lighthouse record can be referenced using
 
For example, the Emery Point Lighthouse record can be referenced using
  
<code><nowiki>{{cite AHD|16274|Emery Point Lighthouse}}</nowiki></code>
+
<code><nowiki>{{Cite AHD |16274 |Emery Point Lighthouse}}</nowiki></code>
  
 
resulting in:
 
resulting in:
  
{{cite AHD|16274|Emery Point Lighthouse}}
+
{{Cite AHD |16274 |Emery Point Lighthouse}}
  
 
Or, if one prefers not to mention the title:
 
Or, if one prefers not to mention the title:
  
<code><nowiki>{{cite AHD|16274}}</nowiki></code>
+
<code><nowiki>{{Cite AHD|16274}}</nowiki></code>
  
 
results in:
 
results in:
  
{{cite AHD|16274}}
+
{{Cite AHD|16274}}
  
 
* The date of registration can be specified using the <code>date</code> field.
 
* The date of registration can be specified using the <code>date</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 <code>access-date</code> fields.
 
* Error checking is not done at all. Specifying an incorrect ID will result in a link to a non-existing record.
 
* Error checking is not done at all. Specifying an incorrect ID will result in a link to a non-existing record.
  
==More examples==
+
== More examples ==
* Use of <code>date</code> and <code>accessdate</code> fields:
+
* Use of <code>date</code> and <code>access-date</code> fields:
  
<code><nowiki>{{cite AHD|105914|Sydney Opera House|date=28 July 2007|accessdate=2010-09-16}}</nowiki></code>
+
<code><nowiki>{{Cite AHD |105914 |Sydney Opera House |date=28 July 2007 |access-date=2010-09-16}}</nowiki></code>
  
 
result:
 
result:
  
{{cite AHD|105914|Sydney Opera House|date=28 July 2007|accessdate=2010-09-16}}
+
{{Cite AHD |105914 |Sydney Opera House |date=28 July 2007 |access-date=2010-09-16}}
  
==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>{{Sandbox other||
 
<includeonly>{{Sandbox other||

Latest revision as of 20:02, 30 August 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 access-date 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 access-date fields:

{{Cite AHD |105914 |Sydney Opera House |date=28 July 2007 |access-date=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.