Difference between revisions of "Template:Infobox Portugal place"
imported>Great Brightstar (Add a missing parameter) |
imported>Markussep (→Usage: Flag border) |
||
| Line 131: | Line 131: | ||
| extinct_date = {{{dissolved|}}} | | extinct_date = {{{dissolved|}}} | ||
| website = {{{website<includeonly>|</includeonly>}}} | | website = {{{website<includeonly>|</includeonly>}}} | ||
| − | }}{{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Portugal articles needing attention|U_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Portuguese subdivision]] with unknown parameter "_VALUE_"|ignoreblank=y| | area_code | area_total | area_total_km2 | CIM | coordinates | dissolved | district | elevation | elevation_m | elevation_max | elevation_min | established_date | holiday | image_caption | image_coat_of_arms | image_flag | image_location | image_map | image_shield | image_skyline | island | leader_name | leader_party | map_caption | metro | municipality | municipalities | name | official_name | parishes | patron | population_as_of | population_total | postal_code | region | seat | type | website | | + | }}{{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Portugal articles needing attention|U_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Portuguese subdivision]] with unknown parameter "_VALUE_"|ignoreblank=y| | area_code | area_total | area_total_km2 | CIM | coordinates | dissolved | district | elevation | elevation_m | elevation_max | elevation_min | established_date | flag_border | holiday | image_caption | image_coat_of_arms | image_flag | image_location | image_map | image_shield | image_skyline | island | leader_name | leader_party | map_caption | metro | municipality | municipalities | name | official_name | parishes | patron | population_as_of | population_total | postal_code | region | seat | type | website | |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 06:16, 7 June 2020
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". | |
|---|---|
| [[File:{{{image_skyline}}}|270x320px|{{{image_caption}}}]] {{{image_caption}}} | |
[[File:{{{image_flag}}}|100px|border|Flag of {{{official_name}}}]] Flag [[File:{{{image_shield}}}|100px|Coat of arms of {{{official_name}}}]] Coat of arms | |
| [[File:{{{image_map}}}|270x320px|{{{map_caption}}}]] {{{map_caption}}} | |
| Country | |
| Region | {{{region}}} |
| Intermunic. comm. | {{{CIM}}} |
| District | {{{district}}} |
| Established | {{{established_date}}} |
| Seat | {{{seat}}} |
| Parishes | {{{parishes}}} |
| Government | |
| • President | {{{leader_name}}} (Template:Polparty) |
| Area | |
| • Total | 1 km2 (Template:Round sq mi) |
| Elevation | 0 m (Template:Round ft) |
| Highest elevation | 0 m (Template:Round ft) |
| Lowest elevation | 0 m (Template:Round ft) |
| Population | |
| • Total | 0 |
| • Density | Template:Round/km2 (Template:Round/sq mi) |
| Script error: No such module "If empty". | |
| Time zone | UTC±00:00 (WET) |
| • Summer (DST) | UTC+01:00 (WEST) |
| Postal code | {{{postal_code}}} |
| Area code | Script error: No such module "If empty". |
| Patron | {{{patron}}} |
| Local holiday | {{{holiday}}} |
| Website | {{{website}}} |
[[Category:Infobox templates|Template:Remove first word]]
Template:Uses Infobox settlement
| This template uses Lua: |
Usage
This is a dedicated infobox for administrative divisions of Portugal. The following subdivisions are currently supported:
Structure
{{Infobox Portugal place
|type = <!-- municipality, parish, CIM -->
|official_name =
|image_flag =
|flag_border =
|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 administrative divisions of Portugal
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformat
Tracking category
| The above documentation is transcluded from Template:Infobox Portugal place/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |