Difference between revisions of "Template:Census 2006 AUS/doc"

From blackwiki
Jump to navigation Jump to search
imported>GoingBatty
(define accessdate as optional)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(8 intermediate revisions by 4 users not shown)
Line 5: Line 5:
  
 
== Usage ==
 
== Usage ==
 
+
=== General ===
 
<pre>
 
<pre>
 
{{ Census 2006 AUS
 
{{ Census 2006 AUS
Line 11: Line 11:
 
| name      =  
 
| name      =  
 
| accessdate =  
 
| accessdate =  
 +
}}
 +
</pre>
 +
 +
=== Lists only ===
 +
<pre>
 +
{{ Census 2006 AUS
 +
| id        =
 +
| link      = yes
 
}}
 
}}
 
</pre>
 
</pre>
Line 17: Line 25:
  
 
; <code>id</code>: ABS ID for the region (note: may be different from 2001, so don't convert across without checking.)
 
; <code>id</code>: ABS ID for the region (note: may be different from 2001, so don't convert across without checking.)
; <code>name</code>: ABS Name for the region: eg Caversham (State Suburb) or 5011202 (Census Collection District).
+
; <code>name</code>: ABS Name for the region: e.g. Caversham (State Suburb) or 5011202 (Census Collection District).
 
; <code>accessdate</code>: Optional parameter to define date accessed in the form yyyy-mm-dd (e.g. 2007-06-27)
 
; <code>accessdate</code>: Optional parameter to define date accessed in the form yyyy-mm-dd (e.g. 2007-06-27)
 +
; <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 Excel-format BCP.
 +
; <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.
 +
 +
== Examples ==
 +
 +
http://www.censusdata.abs.gov.au/census_services/getproduct/census/2006/communityprofile/SSC16159
 +
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)}}
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015}}
  
Adding <code>|quick=on</code> at the end forces QuickStats instead of a link to the Excel-format BCP.
+
http://www.censusdata.abs.gov.au/census_services/getproduct/census/2006/quickstat/SSC16159
 +
 
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|quick=on}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|quick=on}}
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015|quick=on}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015|quick=on}}
 +
# <code><nowiki>{{Census 2006 AUS|id=SSC16159|link=yes}}</nowiki></code>
 +
#: {{Census 2006 AUS|id=SSC16159|link=yes}}
 +
# <code><nowiki>{{Census 2006 AUS link|id=SSC16159}}</nowiki></code>
 +
#: {{Census 2006 AUS link|id=SSC16159}}
  
 
== See also ==
 
== See also ==
Line 27: Line 55:
 
* {{tl|Census 2006 AUS link}} - simply produces a URL link, for use in lists.
 
* {{tl|Census 2006 AUS link}} - simply produces a URL link, for use in lists.
 
* {{tl|Census 2011 AUS}}
 
* {{tl|Census 2011 AUS}}
 +
* {{tl|Census 2016 AUS}}
 +
 +
<includeonly>{{Sandbox other|
 +
| <!-- Categories below this line, please: -->
 +
[[Category:Australian source templates]]
 +
[[Category:Specific-source templates]]
  
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
[[Category:Australian specific-source templates]]
 
 
[[id:Templat:Census 2006 AUS]]
 
[[id:Templat:Census 2006 AUS]]
</includeonly>
+
}}</includeonly>

Latest revision as of 01:31, 24 April 2020

This template allows for the inclusion of direct web links to official 2006 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 2006 AUS
| id         = 
| name       = 
| accessdate = 
}}

Lists only

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

Parameters

id
ABS ID for the region (note: may be different from 2001, so don't convert across without checking.)
name
ABS Name for the region: e.g. Caversham (State Suburb) or 5011202 (Census Collection District).
accessdate
Optional parameter to define date accessed in the form yyyy-mm-dd (e.g. 2007-06-27)
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 Excel-format BCP.
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.

Examples

http://www.censusdata.abs.gov.au/census_services/getproduct/census/2006/communityprofile/SSC16159

  1. {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)}}
    Australian Bureau of Statistics (25 October 2007). "Community Profile Series : Narrandera (Urban Centre/Locality)". 2006 Census of Population and Housing.
  2. {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015}}
    Australian Bureau of Statistics (25 October 2007). "Community Profile Series : Narrandera (Urban Centre/Locality)". 2006 Census of Population and Housing. Retrieved 5 January 2015.

http://www.censusdata.abs.gov.au/census_services/getproduct/census/2006/quickstat/SSC16159

  1. {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|quick=on}}
    Australian Bureau of Statistics (25 October 2007). "Narrandera (Urban Centre/Locality)". 2006 Census QuickStats.
  2. {{Census 2006 AUS|id=SSC16159|name=Narrandera (Urban Centre/Locality)|accessdate=5 January 2015|quick=on}}
    Australian Bureau of Statistics (25 October 2007). "Narrandera (Urban Centre/Locality)". 2006 Census QuickStats. Retrieved 5 January 2015.
  3. {{Census 2006 AUS|id=SSC16159|link=yes}}
    [1]
  4. {{Census 2006 AUS link|id=SSC16159}}
    [2]

See also