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

From blackwiki
Jump to navigation Jump to search
imported>Anthony Appleyard
imported>Vanisaac
m (→‎TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{cs1 wrapper |type=source |base=cite encyclopedia}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
__NOTOC__
 
__NOTOC__
This template provides a citation for the [[Australian Dictionary of Biography]] ([http://www.adb.online.anu.edu.au/copy.htm Home page]).
+
This template provides a citation for the ''[[Australian Dictionary of Biography]]''.
  
In August 2011 the ADB moved and reorganized the online dictionary. New references should use the id2 field in preference to the id field.
+
== Usage ==
 +
{{csdoc|usage}}
 +
{{csdoc|usage common}}
 +
<code><nowiki>{{cite AuDB |first= |last= |author-link= |title= |volume= |edition= |year= |id2= |access-date= }}</nowiki></code>
 +
{{end}}
 +
{{csdoc|usage vertical common}}
 +
<pre style="margin:0px; border:none; white-space:pre;">
 +
{{cite AuDB
 +
| first =
 +
| last =
 +
| author-link =
 +
| title =
 +
| volume =
 +
| edition =
 +
| year =
 +
| id2 =
 +
| access-date =
 +
}}
 +
</pre>
 +
{{end}}
  
== Usage ==
+
==Parameters==
 +
In August 2011 the ADB website moved and reorganized its structure. New references should use the <code>id2</code> field instead of the <code>id</code> field. For any fields not listed here, see {{tl|cite encyclopedia}} for documentation.
  
<nowiki>{{Australian Dictionary of Biography
+
* '''id''' (deprecated): Pre-August 2011 page ID. Extracted from ADB URL: <nowiki>http://www.adb.online.anu.edu.au/biogs/</nowiki>{{highlight|########}}.htm
|last= "author last name"
+
* '''id2''': New page ID, overrides '''id'''. Extracted from ADB URL: <nowiki>http://adb.anu.edu.au/biography/</nowiki>{{highlight|last-first-####}}
|first= "author first name"
 
|authorlink= "author article (optional)"
 
|year= "publish year"
 
|volume= volume
 
|id= "(old format – pre Aug 2011) htm page from http://www.adb.online.anu.edu.au/biogs/ (without .htm)"
 
|id2="(Preferred – Aug 2011, overrides id) Page at ADB excluding leading http://adb.anu.edu.au/biography/"
 
|title= "ADB article title"
 
|ref= ID for anchor </nowiki>(see {{Tl|Cite encyclopedia}})<nowiki>
 
|edition= edition
 
|accessdate= </nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>
 
}}</nowiki>
 
  
 
==Examples==
 
==Examples==
  
An example of the new post&ndash;August 2011 style with an authorlink
+
===Using author-link===
 +
{{markup2
 +
| m = <nowiki>{{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=</nowiki>{{date}}<nowiki>
 +
  }}</nowiki>
 +
| r = {{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={{date}}
 +
  }}
 +
}}
  
  <nowiki>{{Australian Dictionary of Biography
+
===Using multiple authors===
| last = Cowen
+
{{markup2
| first = Zelman
+
  | m = <nowiki>{{cite AuDB
| authorlink = Zelman Cowen
+
  |first=Marie
| year = 1983
+
  |last=Cuckson
| id2= isaacs-sir-isaac-alfred-6805
+
  |first2=H.
  | title= Isaacs, Sir Isaac Alfred (1855–1948)
+
  |last2=Reitterer
| accessdate= 21 November 2011
+
  |title=Bodenwieser, Gertrud (1890–1959)
}}</nowiki>
+
  |volume=13
 
+
  |year=1993
resulting in:
+
  |id2=bodenwieser-gertrud-9532
 +
  |access-date=</nowiki>{{date}}<nowiki>
 +
  }}</nowiki>
 +
  | r = {{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={{date}}
 +
  }}
 +
}}
  
{{Australian Dictionary of Biography
+
===Pre-August 2011 format===
  | last = Cowen
+
{{markup2
| first = Zelman
+
  | m = <nowiki>{{cite AuDB
| authorlink = Zelman Cowen
+
  |first=R.
| year = 1983
+
  |last=Norris
| id2= isaacs-sir-isaac-alfred-6805
+
  |title=Deakin, Alfred (1856–1919)
  | title= Isaacs, Sir Isaac Alfred (1855–1948)
+
  |year=1981
| accessdate= 21 November 2011
+
  |id=A080275b
 +
  |access-date=4 April 2011
 +
  }}</nowiki>
 +
  | r = {{cite AuDB
 +
  |first=R.
 +
  |last=Norris
 +
  |title=Deakin, Alfred (1856–1919)
 +
  |year=1981
 +
  |id=A080275b
 +
  |access-date=4 April 2011
 +
  }}
 
}}
 
}}
  
An example of the original pre&ndash;August 2011 style
+
==TemplateData==
 
 
<nowiki>{{Australian Dictionary of Biography
 
|last=Norris
 
|first= R.
 
|year=1981
 
|id=A080275b
 
|title= Deakin, Alfred (1856–1919)
 
|accessdate=16 September 2007
 
}}</nowiki>
 
 
 
resulting in:
 
  
{{Australian Dictionary of Biography
+
<templatedata>
|last=Norris
+
{
|first= R.
+
"params": {
|year=1981
+
"last": {
|id=A080275b
+
"description": "Last name of the entry's author.",
|title= Deakin, Alfred (1856–1919)
+
"type": "string",
|accessdate=16 September 2007}}
+
"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>
  
== See also ==
+
<includeonly>{{Sandbox other||<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
* [[Template:Dictionary of Australian Biography]]
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
[[Category:People and person external link templates|{{PAGENAME}}]]
 
[[Category:People and person external link templates|{{PAGENAME}}]]
 
[[Category:Australian source templates|{{PAGENAME}}]]
 
[[Category:Australian source templates|{{PAGENAME}}]]
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
  
[[de:Vorlage:AuDB]]
 
[[id:Templat:Australian Dictionary of Biography]]
 
[[ja:Template:Australian Dictionary of Biography]]
 
 
[[Category:Citation Style 1 specific-source templates]]
 
[[Category:Citation Style 1 specific-source templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 05:04, 24 April 2020

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=9 November 2025 }}
Cowen, Zelman (1983). "Isaacs, Sir Isaac Alfred (1855–1948)". Australian Dictionary of Biography. 9. Melbourne University Press. ISSN 1833-7538. Retrieved 9 November 2025 – 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=9 November 2025 }}
Cuckson, Marie; Reitterer, H. (1993). "Bodenwieser, Gertrud (1890–1959)". Australian Dictionary of Biography. 13. Melbourne University Press. ISSN 1833-7538. Retrieved 9 November 2025 – 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

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Lastlast

Last name of the entry's author.

Stringsuggested
Firstfirst

First name(s) of the entry's author.

Stringsuggested
Last2last2

Last name of the entry's second author.

Stringoptional
First2first2

First name(s) of the entry's second author.

Stringoptional
Author-linkauthor-link authorlink

Name of article on author.

Stringsuggested
Yearyear

Year.

Numbersuggested
Volumevolume

Volume number.

Numbersuggested
Id2id2

New page ID, overrides id. Extracted from ADB URL: http://adb.anu.edu.au/biography/last-first-####

Example
6805
Numbersuggested
Idid

Pre-August 2011 page ID. Extracted from ADB URL: http://www.adb.online.anu.edu.au/biogs/########.htm

Stringdeprecated
Titletitle

Title of entry.

Example
Isaacs, Sir Isaac Alfred (1855–1948)
Stringrequired
Access-dateaccess-date accessdate

Date entry was accessed.

Auto value
{{TODAY}}
Datesuggested