User:Mathglot/sandbox/Templates/Alberta templates/Cpmrefs

Header content. City content.

Town content.

Summer village content.

Village content.

{{Documentation|content= Generates list defined references for Canadian municipality tables.

Parameters
There is one named parameter:


 * disp – conditional row transclusion type

This parameter may be used to control the emission of the reference definitions (LDR's) in the Notes and references section of the page where the table appears. The parameter may control references corresponding to:
 * the header row of the table, or
 * municipality rows of a given municipality type (e.g., town, city, village, etc.)

The value header emits the reference definitions for the sources required by the header row.

For municipality types, dispcontrols conditional transclusion of sources that apply to a given municipality. For example, for cities (or c) certain references are only transcluded if they apply to  = 'City'. Possible values for disp:
 * or – displays references for all 'City' type rows
 * or – displays refs for type 'Town'
 * or – for type 'Village'
 * or – for type 'Summer village'
 * or – for type 'Specialized municipality'
 * or – for type 'Municipal district'
 * or – for type 'Improvement district'
 * or – for type 'Special area'
 * or – for type'Metis settlement'
 * – for types 'City', 'Town', 'Village' and 'Summer village'
 * – for types 'Municipal district', 'Improvement districts', and 'Special area'.

Example

 * Header content.
 * City content.
 * Town content.
 * Village content.
 * Summer village content.

References:

Notes:

Gives:


 * Header content.
 * City content.
 * Town content.
 * Village content.
 * Summer village content.

References:

Notes: