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

From blackwiki
Jump to navigation Jump to search
imported>AussieLegend
(→‎See also: added new template)
imported>Zyxw
(add examples)
Line 29: Line 29:
 
; <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.
 
; <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.
 
; <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.
 
; <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.
 +
 +
== Examples ==
 +
 +
http://www.censusdata.abs.gov.au/census_services/getproduct/census/2006/communityprofile/SSC16159
 +
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)}}
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015}}
 +
 +
http://www.censusdata.abs.gov.au/census_services/getproduct/census/2006/quickstat/SSC16159
 +
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|quick=on}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|quick=on}}
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015|quick=on}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015|quick=on}}
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|link=yes}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|link=yes}}
 +
# <code><nowiki>{{Census 2006 AUS link|id=SSC16159}}</nowiki></code>
 +
#: {{Census 2006 AUS link|id=SSC16159}}
  
 
== See also ==
 
== See also ==

Revision as of 02:09, 10 May 2019

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.

Examples

http://www.censusdata.abs.gov.au/census_services/getproduct/census/2006/communityprofile/SSC16159

  1. {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)}}
    Australian Bureau of Statistics (25 October 2007). "Community Profile Series : Narrandera (Urban Centre/Locality)". 2006 Census of Population and Housing.
  2. {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015}}
    Australian Bureau of Statistics (25 October 2007). "Community Profile Series : Narrandera (Urban Centre/Locality)". 2006 Census of Population and Housing. Retrieved 5 January 2015.

http://www.censusdata.abs.gov.au/census_services/getproduct/census/2006/quickstat/SSC16159

  1. {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|quick=on}}
    Australian Bureau of Statistics (25 October 2007). "Narrandera (Urban Centre/Locality)". 2006 Census QuickStats.
  2. {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015|quick=on}}
    Australian Bureau of Statistics (25 October 2007). "Narrandera (Urban Centre/Locality)". 2006 Census QuickStats. Retrieved 5 January 2015.
  3. {{Census 2006 AUS|id=SSC16159|link=yes}}
    [1]
  4. {{Census 2006 AUS link|id=SSC16159}}
    [2]

See also