Difference between revisions of "Template:CensusAU/doc"

From blackwiki
Jump to navigation Jump to search
imported>AussieLegend
(update count)
imported>Cabayi
(templatedata)
Line 11: Line 11:
 
<nowiki>{{CensusAU|2011}}</nowiki> produces <nowiki>[[Census in Australia#2011|2011 census]]</nowiki>
 
<nowiki>{{CensusAU|2011}}</nowiki> produces <nowiki>[[Census in Australia#2011|2011 census]]</nowiki>
  
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {}
 +
},
 +
"description": "An Australian Census year"
 +
}
 +
</templatedata>
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Australia templates]]
 
[[Category:Australia templates]]
 
</includeonly>
 
</includeonly>

Revision as of 07:49, 24 September 2018

Purpose

This template provides a quick and easy method of directly linking to specific sections in Census in Australia, which is linked to from more than 4,500 predominantly Australian articles. In particular, the pop_year parameter of {{Infobox Australian place}} links to sections in Census in Australia dealing with specific census years.

Usage

{{CensusAU|section title}}

Examples

{{CensusAU|2011}} produces [[Census in Australia#2011|2011 census]]

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for CensusAU

An Australian Census year

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional