Difference between revisions of "Template:CensusAU/doc"
Jump to navigation
Jump to search
imported>Kerry Raymond (→TemplateData: removing the wikilinks in the desciption) |
imported>Kerry Raymond (experimenting) |
||
| Line 19: | Line 19: | ||
"label": "year", | "label": "year", | ||
"description": "Census year", | "description": "Census year", | ||
| − | "example": " | + | "example": "2016", |
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
| − | "description": "Link to an Australian Census year in the article | + | "description": "Link to an Australian Census year in the article \"Census in Australia\"" |
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 13:55, 24 September 2018
| This is a documentation subpage for Template:CensusAU. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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 7,600 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
Link to an Australian Census year in the article "Census in Australia"
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| year | 1 | Census year
| String | required |