Jump to content

Template:Cite VHD/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
 
(5 intermediate revisions by 5 users not shown)
Line 2: Line 2:


==Usage==
==Usage==
This template creates a {{tl|cite web}} citation to [[Victorian Heritage Register]] and [[Victorian Heritage Inventory]] sites on the [http://vhd.heritage.vic.gov.au/ ''Victorian Heritage Database''], a searchable reference source on Victoria's heritage places.
This template creates a {{tl|cite web}} citation to [[Victorian Heritage Register]] and [[Victorian Heritage Inventory]] sites on the [http://vhd.heritage.vic.gov.au/ ''Victorian Heritage Database''], a searchable reference source on the heritage places of Victoria, Australia.


<nowiki>{{cite VHD
<nowiki>{{cite VHD
Line 11: Line 11:
| ho2 = "Second Heritage Overlay number (optional)"
| ho2 = "Second Heritage Overlay number (optional)"
| hi = "Heritage Inventory number (optional)"
| hi = "Heritage Inventory number (optional)"
| accessdate = </nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}<nowiki>
| access-date = </nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}<nowiki>
}}</nowiki>
}}</nowiki>


Line 36: Line 36:
* A second Heritage Overlay number can be specified using the optional <code>ho2</code> field
* A second Heritage Overlay number can be specified using the optional <code>ho2</code> field
* A Heritage Inventory number, if any, can be specified using the optional <code>hi</code> field
* A Heritage Inventory number, if any, can be specified using the optional <code>hi</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>access-date</code> fields.


===Examples===
===Examples===
Line 53: Line 53:


==More examples==
==More examples==
Use of <code>accessdate</code> field:
Use of <code>access-date</code> field:


<code><nowiki>{{cite VHD|99|London Tavern|accessdate=2011-03-27}}</nowiki></code>
<code><nowiki>{{cite VHD|99|London Tavern|access-date=2011-03-27}}</nowiki></code>


result:
result:


{{cite VHD|99|London Tavern|accessdate=2011-03-27}}
{{cite VHD|99|London Tavern|access-date=2011-03-27}}




Line 84: Line 84:
==See also==
==See also==
*[[:Template:Cite VHD shipwreck]], a templates for shipwrecks in the Victorian Heritage Database
*[[:Template:Cite VHD shipwreck]], a templates for shipwrecks in the Victorian Heritage Database
<includeonly>
<includeonly>{{Sandbox other||
[[Category:External link templates]]
[[Category:External link templates]]
[[Category:Australian specific-source templates]]
[[Category:Australian source templates|VHD]]
[[Category:Citation Style 1 specific-source templates]]
[[Category:Specific-source templates]]
</includeonly>
}}</includeonly>

Latest revision as of 02:38, 24 December 2021

Usage

[edit]

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 the heritage places of Victoria, Australia.

{{cite VHD
  | "database id"
  | "title"
  | hr = "Victorian Heritage Register (VHR) Number (optional)"
  | ho = "Heritage Overlay number (optional)"
  | ho2 = "Second Heritage Overlay number (optional)"
  | hi = "Heritage Inventory number (optional)"
  | access-date = 2024-09-16
 }}

There is no error checking. Specifying an incorrect ID will result in a link to a non-existing record.

Mandatory Parameters

[edit]

There are two mandatory unnamed parameters

  1. Place ID number. It is found at the end of the URL.
  2. A title. If empty it defaults to BASEPAGENAME.

Example

[edit]

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

[edit]

The optional parameters are:

  • The Victorian Heritage Register (VHR) Number can be specified using the optional hr field (omit the "H", using only the number; the template will add the "H" for you)
  • A Heritage Overlay number, if any, can be specified using the optional ho field (omit the "HO", using only the number; the template will add the "HO" for you)
  • A second Heritage Overlay number can be specified using the optional ho2 field
  • A Heritage Inventory number, if any, can be specified using the optional hi field
  • In addition, the access date can be specified using the access-date fields.

Examples

[edit]

{{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

[edit]

Use of access-date field:

{{cite VHD|99|London Tavern|access-date=2011-03-27}}

result:

"London Tavern". Victorian Heritage Database. Heritage Victoria. Retrieved 2011-03-27.


Use of ho2 field:

{{cite VHD|2|Dights Mill site|hr=1522|ho=48|ho2=488}}

result:

"Dights Mill site, Victorian Heritage Register (VHR) Number H1522, Heritage Overlay HO48,HO488". Victorian Heritage Database. Heritage Victoria.


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

[edit]

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}} oder {{harvnb|VHD99}}, as appropriate. However, year referencing is not supported at this time.

See also

[edit]