Difference between revisions of "Template:Cite VHD/doc"
imported>Billingd (New and incomplete) |
imported>Billingd (→Parameters: Add examples) |
||
| Line 4: | Line 4: | ||
==Parameters== | ==Parameters== | ||
| − | * There are two unnamed parameters | + | |
| − | # Place ID number. | + | ===Mandatory Parameters=== |
| + | * There are two mandatory unnamed parameters | ||
| + | # Place ID number. It can be found at the end of the URL | ||
# A title | # A title | ||
| − | For example, the | + | For example, the Former Convent of the Good Shepherd record can be referenced using |
| − | <code><nowiki>{{cite | + | <code><nowiki>{{cite VHD|1|Former Convent of the Good Shepherd}}</nowiki></code> |
resulting in: | resulting in: | ||
| − | {{cite | + | {{cite VHD|1|Former Convent of the Good Shepherd}} |
| − | * The VHR | + | ===Optional Parameters=== |
| + | The optional parameters are: | ||
| + | * The Victorian Heritage Register (VHR) Number can be specified using the optional <code>hr</code> field | ||
* A [[Heritage Overlay]] number, if any, can be specified using the optional <code>ho</code> field | * A [[Heritage Overlay]] number, if any, can be specified using the optional <code>ho</code> field | ||
* 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>accessdate</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. | ||
| + | |||
| + | <code><nowiki>{{cite VHD|1|Former Convent of the Good Shepherd|hr=0951}}</nowiki></code> | ||
| + | |||
| + | resulting in: | ||
| + | |||
| + | {{cite VHD|1|Former Convent of the Good Shepherd|hr=0951}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{cite VHD|1|Former Convent of the Good Shepherd|hr=0951|ho=9}}</nowiki></code> | ||
| + | |||
| + | resulting in: | ||
| + | |||
| + | {{cite VHD|1|Former Convent of the Good Shepherd|hr=0951|ho=9}} | ||
==More examples== | ==More examples== | ||
Revision as of 13:00, 28 March 2011
| This is a documentation subpage for Template:Cite VHD. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
This template creates a {{cite web}} citation to Victorian Heritage Register sites on the Victorian Heritage Database, a searchable reference source on Victoria's heritage places.
Parameters
Mandatory Parameters
- There are two mandatory unnamed parameters
- Place ID number. It can be found at the end of the URL
- A title
For example, the Former Convent of the Good Shepherd record can be referenced using
{{cite VHD|1|Former Convent of the Good Shepherd}}
resulting in:
"Former Convent of the Good Shepherd". Victorian Heritage Database. Heritage Victoria.
Optional Parameters
The optional parameters are:
- The Victorian Heritage Register (VHR) Number can be specified using the optional
hrfield - A Heritage Overlay number, if any, can be specified using the optional
hofield - The date of registration can be specified using the
datefield. - In addition, the access date can be specified using the
accessdatefields. - Error checking is not done at all. Specifying an incorrect ID will result in a link to a non-existing record.
{{cite VHD|1|Former Convent of the Good Shepherd|hr=0951}}
resulting in:
"Former Convent of the Good Shepherd, Victorian Heritage Register (VHR) Number H0951". Victorian Heritage Database. Heritage Victoria.
{{cite VHD|1|Former Convent of the Good Shepherd|hr=0951|ho=9}}
resulting in:
"Former Convent of the Good Shepherd, Victorian Heritage Register (VHR) Number H0951, Heritage Overlay HO9". Victorian Heritage Database. Heritage Victoria.
More examples
- Use of
dateandaccessdatefields:
{{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 VHD 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.