Template:Census 2016 AUS/doc

From MOASSpedia
Jump to navigation Jump to search

This template allows for the inclusion of direct web links to official 2016 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 2016 AUS|id= |name= |access-date= |quick=on}}

Lists only

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

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 (State Suburb).
access-date
Optional parameter to record date accessed in the form dd mmmm yyyy (e.g. 30 March 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 2016 AUS|id=SSC13327|name=Raymond Terrace (State Suburb)|access-date=30 March 2024|quick=on}} produces:
  • Australian Bureau of Statistics (27 June 2017). "Raymond Terrace (State Suburb)". 2016 Census QuickStats. Retrieved 30 March 2024.Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

As a citation (Census Community Profiles)

As a bare link

  • {{Census 2016 AUS|id=SSC13327|link=yes}} produces [1]Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

Tracking categories

See also

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Census 2016 AUS

Creates a citation to the Australian Bureau of Statistics for the 2016 Census

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
ABS IDid

ABS ID for the region (called code on the page), please double-check as many have changed since 2011

Example
SSC13327
Stringrequired
ABS Namename

ABS Name for the region

Example
Raymond Terrace (State Suburb)
Stringsuggested
Access dateaccess-date

Date the information was retrieved from the ABS

Example
17 October 2017
Datesuggested
Quick stats?quick

use on for Quick stats, omit for Community Profile

Default
on
Example
on
Stringsuggested
Bare URL?link

yes causes a bare UFL to be generated instead of a citation if link=yes and is for use in lists

Example
yes
Stringdeprecated