Bản mẫu:Mamrot/doc
Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Mamrot. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
Usage
sửaThis template creates an external link to the information page for a Quebec municipality at the Ministère des Affaires municipales et Habitation at mamh.gouv.qc.ca
). (The name of this template reflects a previously used URL based on an earlier acronym). The Ministry website catalogs basic statistical information about each municipality in Quebec, including the name, population, surface area, administrative region, and regional county municipality (MRC).
{{mamrot|#####}} {{mamrot|type=mrc|###}} {{mamrot|type=region|##}} {{mamrot|type=arrondissement|#####}}
Description of parameters
sửa- 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:
- 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: Mã địa lý 46078 trong Répertoire des municipalités (tiếng Pháp)
- Example:
{{mamrot|type=mrc|460}}
for Brome-Missisquoi Regional County Municipality- Result: Mã địa lý 460 trong Répertoire des municipalités (tiếng Pháp)
- Example:
{{mamrot|type=region|16}}
for Montérégie- Result: Mã địa lý 16 trong Répertoire des municipalités (tiếng Pháp)
- Example:
{{mamrot|type=arrondissement|REM23}}
for Ahuntsic-Cartierville- Result: Mã địa lý REM23 trong Répertoire des municipalités (tiếng Pháp)
- Example:
- Optional parameters
- text : The link text. By default, this is "Geographic code ##### in the official Répertoire des municipalités"
- 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