Template:Census 2021 AUS/doc

< Template:Census 2021 AUS

This template allows for the inclusion of direct web links to official 2021 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

<syntaxhighlight lang="wikitext"> Australian Bureau of Statistics (28 June 2022). 2021 Census QuickStats https://www.abs.gov.au/census/find-census-data/quickstats/2021/. {{cite web}}: Missing or empty |title= (help) </syntaxhighlight>

Lists only

<syntaxhighlight lang="wikitext"> [1] </syntaxhighlight>

Parameters

id
ABS ID for the region (note: may be different from 2011, so don't convert across without checking.)
name
ABS Name for the region: e.g. Raymond Terrace.
access-date
Optional parameter to record date accessed in the form dd mmmm yyyy (e.g. 18 December 2024).
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 "Census Community Profiles" page.
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. This functionality is similar to that provided by {{Census 2006 AUS link}}.

Examples

As a citation (QuickStats)

  • {{Census 2021 AUS|id=SAL13340|name=Raymond Terrace|access-date=
  1. REDIRECT Template:Today (dmy)|quick=on}} produces:

As a citation (Census Community Profiles)

  • {{Census 2021 AUS|id=SAL13340|name=Raymond Terrace|access-date=
  1. REDIRECT Template:Today (dmy)}} produces:

As a bare link

  • {{Census 2021 AUS|id=SAL13340|link=yes}} produces [2]

Tracking categories

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Census 2021 AUS

<templatedata> { "description": "Creates a citation to the Australian Bureau of Statistics for the 2021 Census", "format": "inline", "params": { "id": { "label": "ABS ID", "description": "ABS ID for the region (called code on the page), please double-check as many have changed since 2011", "example": "SSC13327", "type": "string", "required": true }, "name": { "label": "ABS Name", "description": "ABS Name for the region", "example": "Raymond Terrace (State Suburb)", "type": "string", "suggested": true }, "access-date": { "label": "Access date", "description": "Date the information was retrieved from the ABS", "example": "29 June 2022", "type": "date", "suggested": true }, "quick": { "label": "Quick stats?", "description": "use on for Quick stats, omit for Community Profile", "example": "on", "type": "string", "default": "on", "suggested": true }, "link": { "label": "Bare URL?", "description": "yes causes a bare URL to be generated instead of a citation if link=yes and is for use in lists", "example": "yes", "type": "string", "deprecated": true } } } </templatedata>