Difference between revisions of "Template:Infobox Portugal place/doc"
imported>Markussep m (→Usage) |
imported>Markussep m (→TemplateData) |
||
| Line 100: | Line 100: | ||
}, | }, | ||
"type": { | "type": { | ||
| − | "description": "type of subdivision", | + | "description": "type of subdivision: \"municipality\", \"parish\" or \"CIM\" (for intermunicipal communities)", |
| − | "example": "municipality, parish", | + | "example": "municipality, parish, CIM", |
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 108: | Line 108: | ||
"island": {}, | "island": {}, | ||
"established_date": {}, | "established_date": {}, | ||
| − | "map_caption": {} | + | "map_caption": {}, |
| + | "municipalities": {}, | ||
| + | "seat": {} | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
| Line 143: | Line 145: | ||
"island", | "island", | ||
"established_date", | "established_date", | ||
| − | "map_caption" | + | "map_caption", |
| + | "municipalities", | ||
| + | "seat" | ||
] | ] | ||
} | } | ||
Revision as of 15:18, 12 September 2019
| This is a documentation subpage for Template:Infobox Portugal place. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Infobox settlement
Contents
Usage
This is a dedicated infobox for administrative divisions of Portugal. The following subdivisions are currently supported:
Structure
{{Infobox Portuguese subdivision
|type = <!-- municipality, parish, ... -->
|official_name =
|image_flag =
|image_shield =
|image_skyline =
|image_caption =
|image_location =
|region = <!-- NUTS II region -->
|CIM = <!-- Intermunicipal community (NUTS III region) -->
|metro = <!-- Metropolitan area (NUTS III region) -->
|district = <!-- District (former) -->
|municipality = <!-- For parishes -->
|island = <!-- For subdivisions in the Azores and Madeira -->
|parishes = <!-- Link to list of parishes -->
|established_date =
|leader_name = <!-- President of the municipal chamber -->
|leader_party =
|coordinates = <!-- Use {{Coord}} -->
|elevation = <!-- elevations in meters -->
|elevation_min =
|elevation_max =
|area_total =
|population_as_of =
|population_total =
|patron =
|holiday =
|postal_code =
|area_code =
|website =
}}
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox Portugal place Infobox for municipalities in Portugal
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformat