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

From blackwiki
Jump to navigation Jump to search
imported>Anthony Appleyard
imported>Quoth-22
(Updated documentation)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- 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= |authorlink= |title= |volume= |edition= |year= |id2= |accessdate= }}</nowiki></code>
 +
{{end}}
 +
{{csdoc|usage vertical common}}
 +
<pre style="margin:0px; border:none; white-space:pre;">
 +
{{cite AuDB
 +
| first =
 +
| last =
 +
| authorlink =
 +
| title =
 +
| volume =
 +
| edition =
 +
| year =
 +
| id2 =
 +
| accessdate =
 +
}}
 +
</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
+
===The new, post-August 2011, style with authorlink===
 +
{{markup2
 +
| m = <nowiki>{{cite AuDB
 +
  |first=Zelman
 +
  |last=Cowen
 +
  |authorlink=Zelman Cowen
 +
  |title=Isaacs, Sir Isaac Alfred (1855–1948)
 +
  |year=1983
 +
  |id2=isaacs-sir-isaac-alfred-6805
 +
  |accessdate=</nowiki>{{date}}<nowiki>
 +
  }}</nowiki>
 +
| r = {{cite AuDB
 +
  |first=Zelman
 +
  |last=Cowen
 +
  |authorlink=Zelman Cowen
 +
  |title=Isaacs, Sir Isaac Alfred (1855–1948)
 +
  |year=1983
 +
  |id2=isaacs-sir-isaac-alfred-6805
 +
  |accessdate={{date}}
 +
  }}
 +
}}
  
  <nowiki>{{Australian Dictionary of Biography
+
===The old, pre-August 2011, style===
| 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
}}</nowiki>
+
  |accessdate=4 April 2011
 
+
  }}</nowiki>
resulting in:
+
  | r = {{cite AuDB
 
+
  |first=R
{{Australian Dictionary of Biography
+
  |last=Norris
  | last = Cowen
+
  |title=Deakin, Alfred (1856–1919)
| first = Zelman
+
  |year=1981
| authorlink = Zelman Cowen
+
  |id=A080275b
| year = 1983
+
  |accessdate=4 April 2011
| id2= isaacs-sir-isaac-alfred-6805
+
  }}
| title= Isaacs, Sir Isaac Alfred (1855–1948)
 
| accessdate= 21 November 2011
 
 
}}
 
}}
  
An example of the original pre&ndash;August 2011 style
 
 
<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
 
|last=Norris
 
|first= R.
 
|year=1981
 
|id=A080275b
 
|title= Deakin, Alfred (1856–1919)
 
|accessdate=16 September 2007}}
 
  
== See also ==
 
* [[Template:Dictionary of Australian Biography]]
 
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:People and person external link templates|{{PAGENAME}}]]
 
[[Category:People and person external link templates|{{PAGENAME}}]]

Revision as of 18:32, 6 April 2016

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= |authorlink= |title= |volume= |edition= |year= |id2= |accessdate= }}

Most commonly used parameters in vertical format
{{cite AuDB
 | first = 
 | last = 
 | authorlink = 
 | title = 
 | volume = 
 | edition = 
 | year = 
 | id2 = 
 | accessdate = 
}}

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

The new, post-August 2011, style with authorlink

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

The old, pre-August 2011, style

  • {{cite AuDB |first=R |last=Norris |title=Deakin, Alfred (1856–1919) |year=1981 |id=A080275b |accessdate=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.