Difference between revisions of "Template:Cite AHD/doc"
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 {{ | + | 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>{{ | + | <code><nowiki>{{Cite AHD |16274 |Emery Point Lighthouse}}</nowiki></code> |
resulting in: | resulting in: | ||
| − | {{ | + | {{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>{{ | + | <code><nowiki>{{Cite AHD|16274}}</nowiki></code> |
results in: | results in: | ||
| − | {{ | + | {{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> | + | * 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> | + | * Use of <code>date</code> and <code>access-date</code> fields: |
| − | <code><nowiki>{{ | + | <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 |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
| 40px | This is a documentation subpage for Template:Cite AHD. It contains usage information, categories and other content that is not part of the original template page. |
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 (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
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 (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.