Template:Cite QHR/sandbox
This is the template sandbox page for Template:Cite QHR (diff). |
This template is used on approximately 3,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
QHR is an abbreviation for the Queensland Heritage Register. This template Cite QHR was formerly known as {{Cite CHIMS}}, and the old template redirects to this one.
Usage
[edit]This template creates a {{cite web}} citation to individual records in the online database of the Queensland Heritage Register, a useful searchable reference source on heritage places in Queensland, Australia.
Parameters
[edit]- There are three unnamed parameters
- The old Place ID number (used as the primary key prior to July 2015). It was found at the end of the URLs retrieved from the Queensland Heritage Register before July 2015. If using this template after July 2015, you probably will not know this number and should leave the parameter empty.
- The title of the heritage listing (available from the Queensland Heritage Register entry)
- The Reference Number (used as the primary key from July 2015). It can be found at the end of URLs retrieved afrom the Queensland Heritage Register after July 2015.
- The access date should be specified using the
access-date
fields.
For example, the Cape Moreton Light record can be referenced using
{{Cite QHR|15032|Cape Moreton Lightstation|600257|access-date=13 July 2015}}
resulting in:
"Cape Moreton Lightstation (entry 600257)". Queensland Heritage Register. Queensland Heritage Council. Retrieved 13 July 2015.
- Error checking is not done at all. Specifying an incorrect Reference Number will result in a link to a non-existing record.
Post July 2015
[edit]- Leaving the old ID field empty
{{Cite QHR||Bellevue Homestead|600492|access-date=13 July 2015}}
result:
"Bellevue Homestead (entry 600492)". Queensland Heritage Register. Queensland Heritage Council. Retrieved 13 July 2015.
Confused between pre- and post- July 2015 numbering
[edit]If you have a number that is 5 or few digits, it is a pre-July 2015 number and goes in the 1st parameter. If you have a 6-digit number, you have a post-July 2015 number and it goes in the 3rd parameter. To successfully cite after July 2015, you need the post-July 2015 number. Or ask for help on the talk page.
templatedata
[edit]To cite an entry in the Queensland Heritage Register
Parameter | Description | Type | Status | |
---|---|---|---|---|
Pre-2015 Id | 1 | A 5-digit number used to identify webpages of the Queensland Heritage Register (up to 2015) | Number | deprecated |
Name | 2 | Name of heritage place as it appears on the Queensland Heritage Register | String | required |
Number | 3 | The reference number of the entry in the Queensland Heritage Register | Number | required |
Access date | access-date | Date of access to the entry in the Queensland Heritage Register | Date | suggested |