Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Mamrot/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template creates a citation, including external link, to the information page for a Quebec municipality at the Government of Quebec website. This website catalogs basic statistical information about each municipality in Quebec, including the name, population, surface area, administrative region, and regional county municipality (MRC).

(The name of this template reflects a previously used URL based on an earlier acronym of the ministry (Ministère des affaires municipales, des régions et de l’occupation du territoire). The acronym "mamh" (from Ministère des Affaires municipales et Habitation) can also be used).

{{mamrot|#####}}

{{mamrot|type=mrc|###}}

{{mamrot|type=region|##}}

{{mamrot|type=arrondissement|#####}}

Description of parameters

[edit]
  • first unnamed parameter: This is the geographic code, which can be:
    five-digit number, for a municipality
    three-digit number, for a regional county municipality (use with type=mrc)
    two-digit number, for an administrative region (use with type=region)
    five-character alphanumeric, for a borough (use with type=arrondissement)
To look it up:
  1. Go to the Répertoire des municipalités page, and type the name of the municipality in the Municipalité: field, then click on the "Chercher" button. If successful, the resulting page will show the Code géographique.
Example: {{mamrot|46078}} for Bromont, Quebec
Result: "Répertoire des municipalités: Geographic code 46078". www.quebec.ca (in French). Gouvernement du Québec.


Optional parameters
  • text : The linked text. By default, this is "Répertoire des municipalités: Geographic code #####"
Example: {{mamrot|46078|text=Bromont}} for Bromont, Quebec
Result: "Répertoire des municipalités: Bromont". www.quebec.ca (in French). Gouvernement du Québec.
  • type : Can be municipalite for a municipality (or omit, as this is the default); mrc for a regional county municipality; region for an administrative region; arrondissement for a borough.
Example: {{mamrot|type=mrc|460}} for Brome-Missisquoi Regional County Municipality
Result: "Répertoire des municipalités: Geographic code 460". www.quebec.ca (in French). Gouvernement du Québec.
Example: {{mamrot|type=region|16}} for Montérégie
Result: "Répertoire des municipalités: Geographic code 16". www.quebec.ca (in French). Gouvernement du Québec.
Example: {{mamrot|type=arrondissement|REM23}} for Ahuntsic-Cartierville
Result: "Répertoire des municipalités: Geographic code REM23". www.quebec.ca (in French). Gouvernement du Québec.
  • access-date : The date the reference was accessed or retrieved.
Example: {{mamrot|46078|access-date=1 January 2020}} for Bromont, Quebec
Result: "Répertoire des municipalités: Geographic code 46078". www.quebec.ca (in French). Gouvernement du Québec. Retrieved 1 January 2020.

Redirects

[edit]