Difference between revisions of "Template:Infobox Cape Verde place"
imported>Markussep m |
imported>TerraCyprus m (TerraCyprus moved page Template:Infobox Cape Verde settlement to Template:Infobox Cape Verde place: use "place" as is done by Australian place (since 2006) and UK place (since 2007) and as used in the first edit (2014) to describe the purpose) |
||
| (8 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox settlement | {{Infobox settlement | ||
| − | | name = {{{name| | + | | name = {{{name|}}} |
| settlement_type = {{#switch: {{str len|{{{key|51101}}}}} | | settlement_type = {{#switch: {{str len|{{{key|51101}}}}} | ||
| 1 = Island | | 1 = Island | ||
| Line 10: | Line 10: | ||
| image_size = {{{image_size|}}} | | image_size = {{{image_size|}}} | ||
| image_caption = {{{image_caption|}}} | | image_caption = {{{image_caption|}}} | ||
| − | | image_flag | + | | image_flag = {{{image_flag|}}} |
| image_seal = {{{image_seal|}}} | | image_seal = {{{image_seal|}}} | ||
| − | |||
| image_map = {{{image_map|}}} | | image_map = {{{image_map|}}} | ||
| pushpin_map = {{#if: {{{image_map|}}} | | {{#if: {{{coordinates|}}} | Cape Verde }} }} | | pushpin_map = {{#if: {{{image_map|}}} | | {{#if: {{{coordinates|}}} | Cape Verde }} }} | ||
| + | | coordinates = {{{coordinates|}}} | ||
| subdivision_type = Country | | subdivision_type = Country | ||
| subdivision_name = [[Cape Verde]] | | subdivision_name = [[Cape Verde]] | ||
| Line 31: | Line 31: | ||
}} | }} | ||
| subdivision_type2 = [[Administrative divisions of Cape Verde|Municipality]] | | subdivision_type2 = [[Administrative divisions of Cape Verde|Municipality]] | ||
| − | | subdivision_name2 = {{ | + | | subdivision_name2 = {{Str ≥ len|{{{key|51101}}}|3|{{#switch: {{str left|{{{key|51101}}}|2}} |
| 11 = [[Ribeira Grande, Cape Verde (municipality)|Ribeira Grande]] | | 11 = [[Ribeira Grande, Cape Verde (municipality)|Ribeira Grande]] | ||
| 12 = [[Paul, Cape Verde|Paul]] | | 12 = [[Paul, Cape Verde|Paul]] | ||
| Line 57: | Line 57: | ||
}} | }} | }} | }} | ||
| subdivision_type3 = [[Administrative divisions of Cape Verde|Civil parish]] | | subdivision_type3 = [[Administrative divisions of Cape Verde|Civil parish]] | ||
| − | | subdivision_name3 = {{ | + | | subdivision_name3 = {{Str ≥ len|{{{key|51101}}}|4|{{#switch: {{str left|{{{key|51101}}}|3}} |
| 111 = [[Nossa Senhora do Rosário (Ribeira Grande)|Nossa Senhora do Rosário]] | | 111 = [[Nossa Senhora do Rosário (Ribeira Grande)|Nossa Senhora do Rosário]] | ||
| 112 = [[Nossa Senhora do Livramento, Cape Verde|Nossa Senhora do Livramento]] | | 112 = [[Nossa Senhora do Livramento, Cape Verde|Nossa Senhora do Livramento]] | ||
| Line 65: | Line 65: | ||
| 131 = [[São João Baptista (Santo Antão)|São João Baptista]] | | 131 = [[São João Baptista (Santo Antão)|São João Baptista]] | ||
| 132 = [[Santo André (Porto Novo)|Santo André]] | | 132 = [[Santo André (Porto Novo)|Santo André]] | ||
| − | | 211 = [[São Vicente, Cape Verde | + | | 211 = [[São Vicente, Cape Verde|Nossa Senhora da Luz]] |
| 311 = [[Nossa Senhora da Lapa (Ribeira Brava)|Nossa Senhora da Lapa]] | | 311 = [[Nossa Senhora da Lapa (Ribeira Brava)|Nossa Senhora da Lapa]] | ||
| 312 = [[Nossa Senhora do Rosário (Ribeira Brava)|Nossa Senhora do Rosário]] | | 312 = [[Nossa Senhora do Rosário (Ribeira Brava)|Nossa Senhora do Rosário]] | ||
| 321 = [[Tarrafal de São Nicolau (municipality)|São Francisco de Assis]] | | 321 = [[Tarrafal de São Nicolau (municipality)|São Francisco de Assis]] | ||
| − | | 411 = [[Sal, Cape Verde | + | | 411 = [[Sal, Cape Verde|Nossa Senhora das Dores]] |
| 511 = [[São João Baptista (Boa Vista)|São João Baptista]] | | 511 = [[São João Baptista (Boa Vista)|São João Baptista]] | ||
| 512 = [[Santa Isabel (Boa Vista)|Santa Isabel]] | | 512 = [[Santa Isabel (Boa Vista)|Santa Isabel]] | ||
| − | | 611 = [[Maio, Cape Verde | + | | 611 = [[Maio, Cape Verde|Nossa Senhora da Luz]] |
| 711 = [[Tarrafal, Cape Verde (municipality)|Santo Amaro Abade]] | | 711 = [[Tarrafal, Cape Verde (municipality)|Santo Amaro Abade]] | ||
| 721 = [[Santa Catarina, Cape Verde|Santa Catarina]] | | 721 = [[Santa Catarina, Cape Verde|Santa Catarina]] | ||
| Line 92: | Line 92: | ||
| #default = | | #default = | ||
}} | }} | }} | }} | ||
| − | | seat = {{{seat|}}} | + | | seat = {{{seat|}}} |
| population_total = {{Population Cape Verde|key={{{key|51101}}} }} | | population_total = {{Population Cape Verde|key={{{key|51101}}} }} | ||
| population_footnotes = {{ns0| <ref name=census10>{{Population Cape Verde|key={{{key|0}}}|datref=SOURCE}}</ref> }} | | population_footnotes = {{ns0| <ref name=census10>{{Population Cape Verde|key={{{key|0}}}|datref=SOURCE}}</ref> }} | ||
| Line 98: | Line 98: | ||
| area_total_km2 = {{{area|}}} | | area_total_km2 = {{{area|}}} | ||
| population_density_km2 = auto | | population_density_km2 = auto | ||
| − | | elevation_m = {{{elevation|}}} | + | | elevation_m = {{{elevation|}}} |
| postal_code_type = Postal code | | postal_code_type = Postal code | ||
| postal_code = {{{postal_code|}}} | | postal_code = {{{postal_code|}}} | ||
| + | | code1_name = ID | ||
| + | | code1_info = {{{key|}}} | ||
| website = {{{website|}}} | | website = {{{website|}}} | ||
| footnotes = {{{footnotes|}}} | | footnotes = {{{footnotes|}}} | ||
Latest revision as of 14:04, 19 September 2020
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". | |
|---|---|
| Country | Cape Verde |
| Island | Boa Vista |
| Municipality | Template:Str ≥ len |
| Civil parish | Template:Str ≥ len |
| Population | |
| • Total | Template:Population Cape Verde |
| Script error: No such module "If empty". | |
| Script error: No such module "If empty". | |
[[Category:Infobox templates|Template:Remove first word]]
Template:Uses Infobox settlement
Usage
This infobox is meant for municipalities (concelhos), parishes (freguesias) and settlements in Cape Verde. It uses the official geographical codes of the Cape Verde institute of statistics (see here) to retrieve administration and population data.
Syntax
List of parameters (skip any unneeded fields):
{{Infobox Cape Verde place
| name = if different from the article title
| image_skyline = image file for skyline image (omit or "File:")
| image_caption = caption for skyline image
| image_map = image file for map image (omit or "File:")
| coordinates = {{Coord}}
| key = the official geographical code of the Cape Verde institute of statistics
| island = if different from the 9 main islands
| area = in square kilometers, omit the units
| elevation = in meters, omit the units
| postal_code = postal code of the settlement
| website = the municipality's official website
}}
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox Cape Verde place Infobox for French arrondissements
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The above documentation is transcluded from Template:Infobox Cape Verde place/doc. (edit | history) 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. |