Difference between revisions of "Template:Census 2016 AUS/doc"
imported>ScottDavis m (→See also: {{tl|CensusAU}}) |
imported>Zyxw m (updates for Wikidata tracking) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> |
| + | {{Tracks Wikidata|P4093}} | ||
| + | {{Lua|Module:EditAtWikidata|Module:WikidataCheck}} | ||
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. | 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. | ||
| Line 35: | Line 37: | ||
=== As a bare link === | === As a bare link === | ||
* <nowiki>{{Census 2016 AUS|id=SSC13327|link=yes}}</nowiki> produces {{Census 2016 AUS|id=SSC13327|link=yes}} | * <nowiki>{{Census 2016 AUS|id=SSC13327|link=yes}}</nowiki> produces {{Census 2016 AUS|id=SSC13327|link=yes}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Tracking categories== | ==Tracking categories== | ||
| Line 46: | Line 42: | ||
* {{clc|Australian Statistical Geography Standard 2016 ID different from Wikidata}} | * {{clc|Australian Statistical Geography Standard 2016 ID different from Wikidata}} | ||
* {{clc|Australian Statistical Geography Standard 2016 ID same as Wikidata}} | * {{clc|Australian Statistical Geography Standard 2016 ID same as Wikidata}} | ||
| − | |||
== See also == | == See also == | ||
| Line 54: | Line 49: | ||
* {{tl|CensusAU}} | * {{tl|CensusAU}} | ||
| − | == | + | == TemplateData == |
| + | {{TemplateData header}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 100: | Line 96: | ||
</templatedata> | </templatedata> | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | <!-- Categories and interwikis | + | <!-- Categories below this line and interwikis at Wikidata --> |
[[Category:Australian source templates]] | [[Category:Australian source templates]] | ||
[[Category:Specific-source templates]] | [[Category:Specific-source templates]] | ||
| − | + | [[Category:Templates that add a tracking category]] | |
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 04:08, 10 May 2019
| 40px | This is a documentation subpage for Template:Census 2016 AUS. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
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.
Contents
Usage
General
{{Census 2016 AUS|id= |name= |accessdate= |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).
accessdate- Optional parameter to record date accessed in the form dd mmmm yyyy (e.g. 16 August 2026).
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=yesand 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 2016 AUS|id=SSC13327|name=Raymond Terrace (State Suburb)|accessdate=
- REDIRECT Template:Today (dmy)|quick=on}} produces:
- Australian Bureau of Statistics (27 June 2017). "Raymond Terrace (State Suburb)". 2016 Census QuickStats. Retrieved #REDIRECT Template:Today (dmy). Check date values in:
|accessdate=(help)Script error: No such module "EditAtWikidata".Template:WikidataCheck
As a citation (Census Community Profiles)
- {{Census 2016 AUS|id=SSC13327|name=Raymond Terrace (State Suburb)|accessdate=
- REDIRECT Template:Today (dmy)}} produces:
- Australian Bureau of Statistics (27 June 2017). "2016 Community Profiles: Raymond Terrace (State Suburb)". 2016 Census of Population and Housing. Retrieved #REDIRECT Template:Today (dmy). Check date values in:
|accessdate=(help)Script error: No such module "EditAtWikidata".Template:WikidataCheck
As a bare link
- {{Census 2016 AUS|id=SSC13327|link=yes}} produces [1]Script error: No such module "EditAtWikidata".Template:WikidataCheck
Tracking categories
- Category:Australian Statistical Geography Standard 2016 ID not in Wikidata (0)
- Category:Australian Statistical Geography Standard 2016 ID different from Wikidata (0)
- Category:Australian Statistical Geography Standard 2016 ID same as Wikidata (0)
See also
- {{Census 2001 AUS}}
- {{Census 2006 AUS}}
- {{Census 2011 AUS}}
- {{CensusAU}}
TemplateData
TemplateData for Census 2016 AUS
Creates a citation to the Australian Bureau of Statistics for the 2016 Census
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ABS ID | id | ABS ID for the region (called code on the page), please double-check as many have changed since 2011
| String | required |
| ABS Name | name | ABS Name for the region
| String | suggested |
| Access date | accessdate | Date the information was retrieved from the ABS
| Date | suggested |
| Quick stats? | quick | use on for Quick stats, omit for Community Profile
| String | suggested |
| Bare URL? | link | yes causes a bare UFL to be generated instead of a citation if link=yes and is for use in lists
| String | deprecated |