User:Mathglot/sandbox/Templates/Alberta templates/Cpmr
Name | Status | Incorporation date (current status) |
2016 Census of Population | ||||
---|---|---|---|---|---|---|---|
Population (2016) |
Population (2011) |
Change (%) |
Land area (km2) |
Population density (per km2) | |||
Airdrie | City | January 1, 1985 | 61,581 | 43,271 | +42.3% | 84.57 | 728.2/km2 |
Usage
{{cpmr|prov=Alberta|loc=Airdrie|type=City|inc=January 1, 1985|pop2=61581|pop1=43271|area=84.57}}
{{cpmr|Airdrie|City|January 1, 1985|61581|43271|84.57}}
Parameters
This template has two named only, and six positional parameters (with named aliases):
|1=
or|loc=
– municipality (e.g., 'Banff')|2=
or|type=
– type (e.g. 'City')|3=
or|inc=
– incorporation date (format: t.b.d.; currently: any)|4=
or|pop2=
– latest population (no punct.)|5=
or|pop1=
– previous population (no punct.)|6=
or|area=
– area (in km sq)
If one unnamed positional param is used, such as the first unnamed param for the municipality name, then all six must be used positionally. I.e., don't use |loc=
for municipality, and then switch to positional for 'type' and the others. Either all positional, or all named.
The two optional named parameters are:
|prov=
– province (default: 'Alberta')|muni-link=
– replaces the target article for the municipality (default: MunicipalityName +,
+ ProvinceName; e.g., 'Athabasca, Alberta')
Examples
This mixed-province example is merely illustrative of how to use the template, and not likely to exist in an article:
{{Draft:cpmh|prov=various provinces}} {{Draft:cpmr|prov=Quebec|Clermont|Township|January 1, 1985|61581|43271|84.57|muni-link=Clermont, Abitibi-Témiscamingue, Quebec}} {{Draft:cpmr|Edmonton|City|January 1, 1985|61581|43271|84.57|muni-link=Edmonton}} {{Draft:cpmr|prov=British Columbia|Langley|District municipality|January 1, 1985|61581|43271|84.57|muni-link=Langley, British Columbia (district municipality)}} {{Draft:cpmr|Lloydminster|City|January 1, 1985|61581|43271|84.57|suffix=(part)}} {{Draft:cpmr|Lesser Slave River|Municipal district|January 1, 1985|61581|43271|84.57|muni-link=Municipal District of Lesser Slave River No. 124|suffix=(dist. #124)}} {{Draft:cpmr|prov=Quebec|Plessisville|Parish|January 1, 1985|61581|43271|84.57|muni-link=Plessisville, Quebec (parish)}}
Tabular result for this example
|
---|
Note: Illustrative only; a table of municipalities in multiple provinces is not a recommended usage of this template. Draft:Cpmh Draft:Cpmr Draft:Cpmr Draft:Cpmr Draft:Cpmr Draft:Cpmr Draft:Cpmr |