Difference between revisions of "Template:Cite VHD/doc"
imported>Billingd (→Usage: and Victorian Heritage Inventory) |
imported>Billingd (→Mandatory Parameters: empty titlr defaults to BASEPAGENAME) |
||
| Line 18: | Line 18: | ||
There are two mandatory unnamed parameters | There are two mandatory unnamed parameters | ||
# Place ID number. It is found at the end of the URL. | # Place ID number. It is found at the end of the URL. | ||
| − | # A title | + | # A title. If empty it defaults to BASEPAGENAME. |
===Example=== | ===Example=== | ||
Revision as of 12:19, 29 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 and Victorian Heritage Inventory sites on the Victorian Heritage Database, a searchable reference source on Victoria's heritage places.
{{cite VHD
| "database id"
| "title"
| hr = "Victorian Heritage Register (VHR) Number (optional)"
| ho = "Heritage Overlay number (optional)"
| hi = "Heritage Inventory number (optional)"
| accessdate = 2025-12-26
}}
There is no error checking. Specifying an incorrect ID will result in a link to a non-existing record.
Mandatory Parameters
There are two mandatory unnamed parameters
- Place ID number. It is found at the end of the URL.
- A title. If empty it defaults to BASEPAGENAME.
Example
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 - A Heritage Inventory number, if any, can be specified using the optional
hifield - In addition, the access date can be specified using the
accessdatefields.
Examples
{{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 accessdate field:
{{cite VHD|99|London Tavern|accessdate=2011-03-27}}
result:
"London Tavern". Victorian Heritage Database. Heritage Victoria. Retrieved 2011-03-27.
Use of hi field:
{{cite VHD|10591|Big and Little Peninsula Tunnels|hi=8022-0044}}
result:
"Big and Little Peninsula Tunnels, Victorian Heritage Inventory Number H8022-0044". Victorian Heritage Database. Heritage Victoria.
Harvard style referencing
This template provides a simple Harvard style reference, using VHD followed by the ID number. For example, to reference the London Tavern use {{sfn|VHD99}} or {{harvnb|VHD99}}, as appropriate. However, year referencing is not supported at this time.