User:Mathglot/sandbox/Templates/Alberta templates/Municipalities of Alberta/doc

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 or c – displays a given row, only if it has type 'City'
  • towns or t – if type = 'Town'
  • villages or v – if type = 'Village'
  • summer villages or sv – if type = 'Summer village'
  • specialized municipalities or sm – if type = 'Specialized municipality'
  • municipal districts or md – if type = 'Municipal district'
  • improvement districts or id – if type = 'Improvement district'
  • special areas or sa – if type = 'Special area'
  • Metis settlements or ms – 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 or a – 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}}

See also

edit

Notes

edit

References