Template:Cite AHD/doc
| This is a documentation subpage for Template:Cite AHD. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]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
[edit source]- There are two unnamed parameters
- Place ID number. This is the only mandatory parameter. It can be found at the end of the URL
- An optional title
For example, the Emery Point Lighthouse record can be referenced using
{{Cite AHD |16274 |Emery Point Lighthouse}}
resulting in:
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Or, if one prefers not to mention the title:
{{Cite AHD|16274}}
results in:
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- The date of registration can be specified using the
datefield. - In addition, the access date can be specified using the
access-datefields. - Error checking is not done at all. Specifying an incorrect ID will result in a link to a non-existing record.
More examples
[edit source]- Use of
dateandaccess-datefields:
{{Cite AHD |105914 |Sydney Opera House |date=28 July 2007 |access-date=2010-09-16}}
result:
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Harvard style referencing
[edit source]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.