Difference between revisions of "Template:Cite Australian Dictionary of Biography/doc"

From blackwiki
Jump to navigation Jump to search
imported>NSH001
(update to show canonical parms + rm interwiki links)
imported>Kb.au
(added TemplateData)
Line 103: Line 103:
 
}}
 
}}
  
 +
==TemplateData==
 +
 +
<templatedata>
 +
{
 +
"params": {
 +
"last": {
 +
"description": "Last name of the entry's author.",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"first": {
 +
"description": "First name(s) of the entry's author.",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"last2": {
 +
"description": "Last name of the entry's second author.",
 +
"type": "string"
 +
},
 +
"first2": {
 +
"description": "First name(s) of the entry's second author.",
 +
"type": "string"
 +
},
 +
"author-link": {
 +
"aliases": [
 +
"authorlink"
 +
],
 +
"description": "Name of article on author.",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"year": {
 +
"description": "Year.",
 +
"type": "number",
 +
"suggested": true
 +
},
 +
"volume": {
 +
"description": "Volume number.",
 +
"type": "number",
 +
"suggested": true
 +
},
 +
"id2": {
 +
"description": "New page ID, overrides id. Extracted from ADB URL: http://adb.anu.edu.au/biography/last-first-####",
 +
"example": "6805",
 +
"type": "number",
 +
"suggested": true
 +
},
 +
"id": {
 +
"description": "Pre-August 2011 page ID. Extracted from ADB URL: http://www.adb.online.anu.edu.au/biogs/########.htm",
 +
"type": "string",
 +
"deprecated": "In August 2011 the ADB website moved and reorganized its structure. New references should use the id2 field instead of the id field."
 +
},
 +
"title": {
 +
"description": "Title of entry.",
 +
"example": "Isaacs, Sir Isaac Alfred (1855–1948)",
 +
"type": "string",
 +
"required": true
 +
},
 +
"access-date": {
 +
"aliases": [
 +
"accessdate"
 +
],
 +
"description": "Date entry was accessed.",
 +
"type": "date",
 +
"suggested": true,
 +
"autovalue": "{{TODAY}}"
 +
},
 +
},
 +
"description": "This template provides a citation for the ''Australian Dictionary of Biography''.",
 +
"format": "inline"
 +
}
 +
</templatedata>
  
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

Revision as of 02:20, 20 February 2018

This template provides a citation for the Australian Dictionary of Biography.

Usage

Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then Script error: No such module "Purge". the page.

Most commonly used parameters in horizontal format

{{cite AuDB |first= |last= |author-link= |title= |volume= |edition= |year= |id2= |access-date= }}

Most commonly used parameters in vertical format
{{cite AuDB
 | first = 
 | last = 
 | author-link = 
 | title = 
 | volume = 
 | edition = 
 | year = 
 | id2 = 
 | access-date = 
}}

Parameters

In August 2011 the ADB website moved and reorganized its structure. New references should use the id2 field instead of the id field. For any fields not listed here, see {{cite encyclopedia}} for documentation.

  • id (deprecated): Pre-August 2011 page ID. Extracted from ADB URL: http://www.adb.online.anu.edu.au/biogs/########.htm
  • id2: New page ID, overrides id. Extracted from ADB URL: http://adb.anu.edu.au/biography/last-first-####

Examples

Using author-link

  • {{cite AuDB |first=Zelman |last=Cowen |author-link=Zelman Cowen |title=Isaacs, Sir Isaac Alfred (1855–1948) |volume=9 |year=1983 |id2=isaacs-sir-isaac-alfred-6805 |access-date=25 March 2026 }}
Cowen, Zelman (1983). "Isaacs, Sir Isaac Alfred (1855–1948)". Australian Dictionary of Biography. 9. Melbourne University Press. ISSN 1833-7538. Retrieved 25 March 2026 – via National Centre of Biography, Australian National University.

Using multiple authors

  • {{cite AuDB |first=Marie |last=Cuckson |first2=H. |last2=Reitterer |title=Bodenwieser, Gertrud (1890–1959) |volume=13 |year=1993 |id2=bodenwieser-gertrud-9532 |access-date=25 March 2026 }}
Cuckson, Marie; Reitterer, H. (1993). "Bodenwieser, Gertrud (1890–1959)". Australian Dictionary of Biography. 13. Melbourne University Press. ISSN 1833-7538. Retrieved 25 March 2026 – via National Centre of Biography, Australian National University.

Pre-August 2011 format

  • {{cite AuDB |first=R. |last=Norris |title=Deakin, Alfred (1856–1919) |year=1981 |id=A080275b |access-date=4 April 2011 }}
Norris, R. (1981). "Deakin, Alfred (1856–1919)". Australian Dictionary of Biography. Melbourne University Press. ISSN 1833-7538. Retrieved 4 April 2011 – via National Centre of Biography, Australian National University.

TemplateData

Syntax error in JSON.