Difference between revisions of "Template:Cite VHD shipwreck/doc"
imported>Rangasyd |
imported>Debresser m (Add dash to "access-date".) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 7: | Line 7: | ||
| "database id" | | "database id" | ||
| "name" | | "name" | ||
| − | | | + | | access-date = </nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}<nowiki> |
}}</nowiki> | }}</nowiki> | ||
| Line 28: | Line 28: | ||
==Optional Parameters== | ==Optional Parameters== | ||
The optional parameters are: | The optional parameters are: | ||
| − | * the access date can be specified using the <code> | + | * the access date can be specified using the <code>access-date</code> field. |
===Examples=== | ===Examples=== | ||
| − | <code><nowiki>{{cite VHD shipwreck|2|Achilles| | + | <code><nowiki>{{cite VHD shipwreck|2|Achilles|access-date=2012-02-05}}</nowiki></code> |
resulting in: | resulting in: | ||
| − | {{cite VHD shipwreck|2|Achilles| | + | {{cite VHD shipwreck|2|Achilles|access-date=2012-02-05}} |
==Harvard style referencing== | ==Harvard style referencing== | ||
| Line 43: | Line 43: | ||
*[[:Template:Cite VHD]] | *[[:Template:Cite VHD]] | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Australian source templates|VHD shipwreck]] | [[Category:Australian source templates|VHD shipwreck]] | ||
[[Category:Specific-source templates]] | [[Category:Specific-source templates]] | ||
[[Citation Style 1 specific-source templates]] | [[Citation Style 1 specific-source templates]] | ||
[[Category:Citation Style 1 specific-source templates]] | [[Category:Citation Style 1 specific-source templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 21:24, 30 August 2020
| This is a documentation subpage for Template:Cite VHD shipwreck. 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 shipwrecks in the Victorian Heritage Database, a searchable reference source on Victoria's heritage places.
{{cite VHD shipwreck
| "database id"
| "name"
| access-date = 2025-12-21
}}
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
- Shipwreck ID number. It is found at the end of the Victorian Heritage Database URL.
- Ship name
Example
For example, the Abstainer record can be referenced using
{{Cite VHD shipwreck|1|Abstainer}}
resulting in:
"Abstainer Victorian Heritage Register (VHR) Number S1". Victorian Heritage Database. Heritage Victoria.
Optional Parameters
The optional parameters are:
- the access date can be specified using the
access-datefield.
Examples
{{cite VHD shipwreck|2|Achilles|access-date=2012-02-05}}
resulting in:
"Achilles Victorian Heritage Register (VHR) Number S2". Victorian Heritage Database. Heritage Victoria. Retrieved 2012-02-05.
Harvard style referencing
This template provides a simple Harvard style reference, using VHD followed by the ID number. Year referencing is not supported at this time.
See also