Template:Census 2021 AUS
This template uses Lua: |
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. 17 November 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 isid
. 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=
- REDIRECT Template:Today (dmy)|quick=on}} produces:
- Australian Bureau of Statistics (28 June 2022). "Raymond Terrace". 2021 Census QuickStats. Retrieved #REDIRECT Template:Today (dmy).
{{cite web}}
: Check date values in:|access-date=
(help)
As a citation (Census Community Profiles)
- {{Census 2021 AUS|id=SAL13340|name=Raymond Terrace|access-date=
- REDIRECT Template:Today (dmy)}} produces:
- Australian Bureau of Statistics (28 June 2022). "2021 Community Profiles: Raymond Terrace". 2021 Census of Population and Housing. Retrieved #REDIRECT Template:Today (dmy).
{{cite web}}
: Check date values in:|access-date=
(help)
As a bare link
- {{Census 2021 AUS|id=SAL13340|link=yes}} produces [2]
Tracking categories
- Category:Australian Statistical Geography Standard 2021 ID not in Wikidata (13)
- Category:Australian Statistical Geography Standard 2021 ID different from Wikidata (0)
- Category:Australian Statistical Geography Standard 2021 ID same as Wikidata (0)
See also
- {{Census 2001 AUS}}
- {{Census 2006 AUS}}
- {{Census 2011 AUS}}
- {{Census 2016 AUS}}
- {{CensusAU}}
TemplateData
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>
The above documentation is transcluded from Template:Census 2021 AUS/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |