User:Mathglot/sandbox/Templates/Alberta templates/Municipalities of Alberta/doc
This is a documentation subpage for User:Mathglot/sandbox/Templates/Alberta templates/Municipalities of Alberta. It may contain usage information, categories and other content that is not part of the original user template page. |
Generates a table of selected municipalities in Alberta, depending on given parameters.
Usage
edit{{Municipalities of Alberta|disp=cities}}
Parameters
edit|type=
– municipality status, e.g., 'City', 'Town', 'Village', etc. See valid values for positional param 2 (alias: |t=
)
|disp=
– controls conditional display of a row depending on its type
. For example, for |disp=cities
(or |disp=c
) the row is only displayed if its type
is 'City'. Possible values for |disp=
:
cities
orc
– displays a given row, only if it has type 'City'towns
ort
– if type = 'Town'villages
orv
– if type = 'Village'summer villages
orsv
– if type = 'Summer village'specialized municipalities
orsm
– if type = 'Specialized municipality'municipal districts
ormd
– if type = 'Municipal district'improvement districts
orid
– if type = 'Improvement district'special areas
orsa
– if type = 'Special area'Metis settlements
orms
– if type = 'Metis settlement'urban
– if type is is any of 'City', 'Town', 'Village' or 'Summer village'rural
– if|type=
is any of 'Municipal district', 'Improvement districts', or 'Special area'all
ora
– displays the row regardless of municipality type.
Example
edit{{Draft:cpmh13|caption=Sample list of village, city, summer village, and town in AB}} {{Draft:cpmr13|Acme|Village|Southern Alberta|5|Kneehill County|July 7, 1910|5| | |653|653|2.48}} {{Draft:cpmr13|Airdrie|City|Calgary Metropolitan Region|6|Rocky View County|January 1, 1985|7|70564|2019|61581|43271|84.57}} {{Draft:cpmr13|Argentia Beach|Summer village|Central Alberta|11|County of Wetaskiwin No. 10|January 1, 1967|3| | |27|15|0.73}} {{Draft:cpmr13|Athabasca|Town|Northern Alberta|13|Athabasca County|September 19, 1911|7| | |2965|2990|17.65}} {{Draft:cpmf13|t=yes|c=yes|v=yes|s=yes}}
Tabular result for this example
|
---|
Draft:Cpmh13 Draft:Cpmr13 Draft:Cpmr13 Draft:Cpmr13 Draft:Cpmr13 Draft:Cpmf13 |
See also
editNotes
editReferences