Difference between revisions of "Template:Infobox Parish PT"
Jump to navigation
Jump to search
Template documentation[create]
imported>Markussep (rm subregions, NUTS III regions now equal intermunicipal communities / metropolitan areas) |
imported>Markussep (switches for regions) |
||
| Line 13: | Line 13: | ||
| coordinates = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|region:PT|type:adm1st|dim:50000}}}} | | coordinates = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|region:PT|type:adm1st|dim:50000}}}} | ||
| image_map = {{{image_location|{{{image_map<includeonly>|</includeonly>}}}}}} | | image_map = {{{image_location|{{{image_map<includeonly>|</includeonly>}}}}}} | ||
| − | | pushpin_map = {{#if: {{{image_location|{{{image_map<includeonly>|</includeonly>}}}}}} || {{#if: {{{ | + | | pushpin_map = {{#if: {{{image_location|{{{image_map<includeonly>|</includeonly>}}}}}} || {{#if: {{{coordinates|}}} | {{#switch: {{unlink|{{{region|}}} }} |
| + | | Azores = Portugal Azores | ||
| + | | Madeira = Portugal Madeira | ||
| + | | #default = Portugal | ||
| + | }} }} }} | ||
| + | | pushpin_map_caption = {{#switch: {{unlink|{{{region|}}} }} | ||
| + | | Azores = Location in the Azores | ||
| + | | Madeira = Location in Madeira | ||
| + | | #default = Location in Portugal | ||
| + | }} | ||
| mapsize = | | mapsize = | ||
| map_alt = | | map_alt = | ||
| Line 19: | Line 28: | ||
| subdivision_type = Country | | subdivision_type = Country | ||
| subdivision_name = [[Portugal]] | | subdivision_name = [[Portugal]] | ||
| − | | subdivision_type1 = [[regions of Portugal|Region]] | + | | subdivision_type1 = {{#switch: {{unlink|{{{region|}}} }} |
| − | | subdivision_name1 = {{{Region|{{{region<includeonly>|</includeonly>}}}}}} | + | | Azores | Madeira = [[Autonomous Regions of Portugal|Auton. region]] |
| + | | #default = [[NUTS statistical regions of Portugal|Region]] | ||
| + | }} | ||
| + | | subdivision_name1 = {{#switch: {{unlink|{{{region|}}} }} | ||
| + | | Alentejo | Alentejo Region = [[Alentejo Region|Alentejo]] | ||
| + | | Algarve = [[Algarve]] | ||
| + | | Azores = [[Azores]] | ||
| + | | Centro | Central | Central Portugal = [[Centro Region, Portugal|Centro]] | ||
| + | | Lisboa | Lisbon | Lisboa Region = [[Lisboa Region|Lisboa]] | ||
| + | | Madeira = [[Madeira]] | ||
| + | | Norte | Norte Region = [[Norte Region, Portugal|Norte]] | ||
| + | | #default = {{{region<includeonly>|</includeonly>}}} {{main other|[[Category:Portugal articles needing attention|R{{PAGENAME}}]]}} | ||
| + | }} | ||
| subdivision_type2 = [[Intermunicipal communities of Portugal|Intermunic. comm.]] | | subdivision_type2 = [[Intermunicipal communities of Portugal|Intermunic. comm.]] | ||
| subdivision_name2 = {{{CIM<includeonly>|</includeonly>}}} | | subdivision_name2 = {{{CIM<includeonly>|</includeonly>}}} | ||
Revision as of 13:09, 23 August 2019
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". | |
|---|---|
| [[File:{{{image_skyline}}}|300px|{{{image_caption}}}]] {{{image_caption}}} | |
[[File:{{{image_flag}}}|100px|border|Flag of Template:PAGENAMEBASE]] Flag [[File:{{{image_shield}}}|100px|Coat of arms of Template:PAGENAMEBASE]] Coat of arms | |
| [[File:{{{image_map}}}|250px]] | |
| Country | Portugal |
| Region | {{{region}}} |
| Intermunic. comm. | {{{CIM}}} |
| Metropolitan area | {{{metro}}} |
| District | {{{district}}} |
| Municipality | {{{municipality}}} |
| Area | |
| • Total | 1 km2 (Template:Round sq mi) |
| Elevation | 0 m (Template:Round ft) |
| Population | |
| • Total | 0 |
| • Density | Template:Round/km2 (Template:Round/sq mi) |
| Script error: No such module "If empty". | |
| Postal code | {{{postal_code}}} |
| Area code | Script error: No such module "If empty". |
| Patron | {{{patron}}} |
| Website | {{{website}}} |
[[Category:Infobox templates|Template:Remove first word]]
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |