Difference between revisions of "Template:Census 2006 AUS/doc"

From blackwiki
Jump to navigation Jump to search
imported>AussieLegend
(→‎Usage: update)
imported>AussieLegend
(→‎Parameters: update parameters)
Line 27: Line 27:
 
; <code>name</code>: ABS Name for the region: e.g. Caversham (State Suburb) or 5011202 (Census Collection District).
 
; <code>name</code>: ABS Name for the region: e.g. Caversham (State Suburb) or 5011202 (Census Collection District).
 
; <code>accessdate</code>: Optional parameter to define date accessed in the form yyyy-mm-dd (e.g. 2007-06-27)
 
; <code>accessdate</code>: Optional parameter to define date accessed in the form yyyy-mm-dd (e.g. 2007-06-27)
 
+
; <code>|quick</code>: This is an optional but widely used parameter. When added at the end, generally as {{para|quick|on}}, it forces QuickStats instead of a link to the Excel-format BCP.
Adding <code>|quick=on</code> at the end forces QuickStats instead of a link to the Excel-format BCP.
+
; <code>link</code>: This is an optional parameter that causes a bare link to be generated instead of a citation if {{para|link|yes}} and is for use in lists such as [[List of cities in Australia by population#50 largest urban centres by population]]. When this is the case, the only necessary parameter is <code>id</code>. Other parameters will not be used.
  
 
== See also ==
 
== See also ==

Revision as of 10:39, 6 July 2016

This template allows for the inclusion of direct web links to official 2006 census data into Australian geographical articles. Due to periodic changes/redesigns on the ABS website, these links may change: the advantage of using the template is therefore that all articles using this template will migrate with it.

Usage

General

{{ Census 2006 AUS
| id         = 
| name       = 
| accessdate = 
}}

Lists only

{{ Census 2006 AUS
| id         = 
| link       = yes
}}

Parameters

id
ABS ID for the region (note: may be different from 2001, so don't convert across without checking.)
name
ABS Name for the region: e.g. Caversham (State Suburb) or 5011202 (Census Collection District).
accessdate
Optional parameter to define date accessed in the form yyyy-mm-dd (e.g. 2007-06-27)
|quick
This is an optional but widely used parameter. When added at the end, generally as |quick=on, it forces QuickStats instead of a link to the Excel-format BCP.
link
This is an optional parameter that causes a bare link to be generated instead of a citation if |link=yes and is for use in lists such as List of cities in Australia by population#50 largest urban centres by population. When this is the case, the only necessary parameter is id. Other parameters will not be used.

See also