Jump to content

Template:Census 2011 AUS/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
use syntaxhighlight
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Tracks Wikidata|P4014}}
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}


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

=== General ===
=== General ===
<syntaxhighlight lang="wikitext">
<pre>
{{Census 2011 AUS|id= |name= |accessdate= |quick=on}}
{{Census 2011 AUS|id= |name= |accessdate= |quick=on}}
</psyntaxhighlightre>
</pre>


=== Lists only ===
=== Lists only ===
<syntaxhighlight lang="wikitext">
<pre>
{{Census 2011 AUS|id= |link=yes}}
{{Census 2011 AUS|id= |link=yes}}
</syntaxhighlight>
</pre>


== Parameters ==
== Parameters ==


; <code>id</code>: ABS ID for the region (note: may be different from 2006, so don't convert across without checking.)
; <code>id</code>: ABS ID for the region (note: may be different from 2006, so don't convert across without checking.)
; <code>name</code>: ABS Name for the region: eg Raymond Terrace (State Suburb) or SSC11952 (Census Collection District).
; <code>name</code>: ABS Name for the region: e.g. Raymond Terrace (State Suburb) or SSC11952 (Census Collection District).
; <code>accessdate</code>: Date accessed in the form dd mmmm yyyy eg {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}.
; <code>accessdate</code>: Optional parameter to record date accessed in the form dd mmmm yyyy (e.g. {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}).
; <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 "Census Community Profiles" page.
; <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 "Census Community Profiles" page.
; <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. This functionality is similar to that provided by {{tl|Census 2006 AUS link}}.
; <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. This functionality is similar to that provided by {{tl|Census 2006 AUS link}}.


== Examples ==
== Examples ==

=== As a citation (QuickStats) ===
=== As a citation (QuickStats) ===
* <nowiki>{{Census 2011 AUS|id=SSC11952|name=Raymond Terrace (State Suburb)|accessdate=</nowiki>{{Currentdaymonthyear}}<nowiki>|quick=on}}</nowiki> produces:
* <nowiki>{{Census 2011 AUS|id=SSC11952|name=Raymond Terrace (State Suburb)|accessdate=</nowiki>{{Currentdaymonthyear}}<nowiki>|quick=on}}</nowiki> produces:
Line 34: Line 38:
=== As a bare link ===
=== As a bare link ===
* <nowiki>{{Census 2011 AUS|id=SSC11952|link=yes}}</nowiki> produces {{Census 2011 AUS|id=SSC11952|link=yes}}
* <nowiki>{{Census 2011 AUS|id=SSC11952|link=yes}}</nowiki> produces {{Census 2011 AUS|id=SSC11952|link=yes}}

==Tracking categories==
* {{clc|Australian Statistical Geography Standard 2011 ID not in Wikidata}}
* {{clc|Australian Statistical Geography Standard 2011 ID different from Wikidata}}
* {{clc|Australian Statistical Geography Standard 2011 ID same as Wikidata}}


== See also ==
== See also ==
* {{tl|Census 2001 AUS}}
* {{tl|Census 2001 AUS}}
* {{tl|Census 2006 AUS}}
* {{tl|Census 2006 AUS}}
* {{tl|Census 2016 AUS}}
* {{tl|Census 2021 AUS}}


<includeonly>
<includeonly>{{Sandbox other||
<!-- Categories and interwikis go here: -->
<!-- Categories below this line and interwikis at Wikidata -->
[[Category:Specific-source templates|{{PAGENAME}}]]
[[Category:Australian source templates]]
[[Category:Specific-source templates]]

[[Category:Templates that add a tracking category]]
</includeonly>
}}</includeonly>

Latest revision as of 13:36, 28 February 2024

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

[edit]

Allgemein

[edit]
{{Census 2011 AUS|id= |name= |accessdate= |quick=on}}
</psyntaxhighlightre>

=== Lists only ===
<syntaxhighlight lang="wikitext">
{{Census 2011 AUS|id= |link=yes}}

Parameters

[edit]
id
ABS ID for the region (note: may be different from 2006, so don't convert across without checking.)
name
ABS Name for the region: e.g. Raymond Terrace (State Suburb) or SSC11952 (Census Collection District).
accessdate
Optional parameter to record date accessed in the form dd mmmm yyyy (e.g. 3 September 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

[edit]

As a citation (QuickStats)

[edit]
  • {{Census 2011 AUS|id=SSC11952|name=Raymond Terrace (State Suburb)|accessdate=3 September 2024|quick=on}} produces:
  • Australian Bureau of Statistics (31 October 2012). "Raymond Terrace (State Suburb)". 2011 Census QuickStats. Retrieved 3 September 2024.

As a citation (Census Community Profiles)

[edit]
[edit]
  • {{Census 2011 AUS|id=SSC11952|link=yes}} produces [1]

Tracking categories

[edit]

See also

[edit]