Difference between revisions of "Template:Cite VHD/doc"

From blackwiki
Jump to navigation Jump to search
imported>Billingd
imported>Billingd
(More examples)
Line 3: Line 3:
 
This template creates a {{tl|cite web}} citation to [[Victorian Heritage Register]] sites on the ''Victorian Heritage Database'', a [http://vhd.heritage.vic.gov.au/ searchable] reference source on Victoria's heritage places.
 
This template creates a {{tl|cite web}} citation to [[Victorian Heritage Register]] sites on the ''Victorian Heritage Database'', a [http://vhd.heritage.vic.gov.au/ searchable] reference source on Victoria's heritage places.
  
==Parameters==
+
==Mandatory Parameters==
 
 
===Mandatory Parameters===
 
 
* There are two mandatory  unnamed parameters
 
* There are two mandatory  unnamed parameters
 
# Place ID number.  It can be found at the end of the URL
 
# Place ID number.  It can be found at the end of the URL
 
# A title
 
# A title
  
 +
==Example==
 
For example, the Former Convent of the Good Shepherd record can be referenced using
 
For example, the Former Convent of the Good Shepherd record can be referenced using
  
Line 18: Line 17:
 
{{cite VHD|1|Former Convent of the Good Shepherd}}
 
{{cite VHD|1|Former Convent of the Good Shepherd}}
  
===Optional Parameters===
+
==Optional Parameters==
 
The optional parameters are:
 
The optional parameters are:
 
* The Victorian Heritage Register (VHR) Number can be specified using the optional <code>hr</code> field
 
* 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.
 
 
* 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.
 
 
  
 +
===Examples==
 
<code><nowiki>{{cite VHD|1|Former Convent of the Good Shepherd|hr=0951}}</nowiki></code>
 
<code><nowiki>{{cite VHD|1|Former Convent of the Good Shepherd|hr=0951}}</nowiki></code>
  
Line 41: Line 39:
  
 
==More examples==
 
==More examples==
* Use of <code>date</code> and <code>accessdate</code> fields:
+
* Use of <code>accessdate</code> fields:
  
<code><nowiki>{{cite AHD|105914|Sydney Opera House|date=28 July 2007|accessdate=2010-09-16}}</nowiki></code>
+
<code><nowiki>{{cite VHD|99|London Tavern|accessdate=2011-03-27}}</nowiki></code>
  
 
result:
 
result:
  
{{cite AHD|105914|Sydney Opera House|date=28 July 2007|accessdate=2010-09-16}}
+
{{cite VHD|99|London Tavern|accessdate=2011-03-27}}
  
 
==Harvard style referencing==
 
==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 {{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 VHD followed by the ID number. For example, to reference the London Tavern use {{tl2|sfn|VHD99}} or {{tl2|harvnb|VHD99}}, as appropriate. However, year referencing is not supported at this time.
 
<includeonly>
 
<includeonly>
 
[[Category:External link templates]]
 
[[Category:External link templates]]
 
[[Category:Australian specific-source templates]]
 
[[Category:Australian specific-source templates]]
 
</includeonly>
 
</includeonly>

Revision as of 13:05, 28 March 2011

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.

Mandatory Parameters

  • There are two mandatory unnamed parameters
  1. Place ID number. It can be found at the end of the URL
  2. A title

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 hr field
  • A Heritage Overlay number, if any, can be specified using the optional ho field
  • In addition, the access date can be specified using the accessdate fields.

Error checking is not done at all. Specifying an incorrect ID will result in a link to a non-existing record.

=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 fields:

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

result:

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

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.