Difference between revisions of "Template:CensusAU/doc"

From blackwiki
Jump to navigation Jump to search
imported>Cabayi
(templatedata)
imported>Cabayi
(templatedata)
Line 16: Line 16:
 
{
 
{
 
"params": {
 
"params": {
"1": {}
+
"1": {
 +
"label": "1",
 +
"description": "Census year",
 +
"example": "2011",
 +
"type": "string",
 +
"required": true
 +
}
 
},
 
},
 
"description": "An Australian Census year"
 
"description": "An Australian Census year"

Revision as of 07:53, 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

Census year

Example
2011
Stringrequired