Difference between revisions of "Template:Cite AHD"
imported>Muhandes m (replace EL with wikilink) |
imported>Muhandes m (add AHD to title to make Harvard referencing style clearer) |
||
| Line 5: | Line 5: | ||
|accessdate={{{accessdate|}}} | |accessdate={{{accessdate|}}} | ||
|date={{{date|}}} | |date={{{date|}}} | ||
| − | |title={{#if:{{{2|}}}|{{{2}}} (entry {{{1}}})|Entry {{{1}}}}} | + | |title={{#if:{{{2|}}}|{{{2}}} (entry AHD{{{1}}})|Entry AHD{{{1}}}}} |
|ref=CITEREFAHD{{{1}}} | |ref=CITEREFAHD{{{1}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 18:52, 20 December 2010
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
- 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:
"Emery Point Lighthouse (entry AHD16274 )". Australian Heritage Database. Department of Sustainability, Environment, Water, Population and Communities.
Or, if one prefers not to mention the title:
{{Cite AHD|16274}}
results in:
"Entry AHD16274". Australian Heritage Database. Department of Sustainability, Environment, Water, Population and Communities.
- 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
- Use of
dateandaccess-datefields:
{{Cite AHD |105914 |Sydney Opera House |date=28 July 2007 |access-date=2010-09-16}}
result:
"Sydney Opera House (entry AHD105914 )". Australian Heritage Database. Department of Sustainability, Environment, Water, Population and Communities. 28 July 2007.
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.
| The above documentation is transcluded from Template:Cite AHD/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |