Template:Infobox Cape Verde settlement: Difference between revisions
remove {{PAGENAMEBASE}} which is set by Infobox settlement |
m Pppery moved page Template:Infobox Cape Verde place to Template:Infobox Cape Verde settlement over redirect: Rv sockpuppet move |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox settlement |
{{Infobox settlement |
||
| name = {{{name|}}} |
| name = {{{name|}}} |
||
| settlement_type = {{#switch: {{ |
| settlement_type = {{#switch: {{#invoke:String|len|{{{key|51101}}}}} |
||
| 1 = Island |
| 1 = Island |
||
| 2 = Municipality |
| 2 = Municipality |
||
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_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 }} }} |
||
⚫ | |||
| subdivision_type = Country |
| subdivision_type = Country |
||
| subdivision_name = [[Cape Verde]] |
| subdivision_name = [[Cape Verde]] |
||
| subdivision_type1 = [[List of islands of Cape Verde|Island]] |
| subdivision_type1 = [[List of islands of Cape Verde|Island]] |
||
| subdivision_name1 = {{#switch: {{ |
| subdivision_name1 = {{#switch: {{#invoke:String|sub|{{{key|51101}}}|1|1}} |
||
| 1 = [[Santo Antão, Cape Verde|Santo Antão]] |
| 1 = [[Santo Antão, Cape Verde|Santo Antão]] |
||
| 2 = [[São Vicente, Cape Verde|São Vicente]] |
| 2 = [[São Vicente, Cape Verde|São Vicente]] |
||
Line 31: | Line 31: | ||
}} |
}} |
||
| subdivision_type2 = [[Administrative divisions of Cape Verde|Municipality]] |
| subdivision_type2 = [[Administrative divisions of Cape Verde|Municipality]] |
||
| subdivision_name2 = {{Str ≥ len|{{{key|51101}}}|3|{{#switch: {{ |
| subdivision_name2 = {{Str ≥ len|{{{key|51101}}}|3|{{#switch: {{#invoke:String|sub|{{{key|51101}}}|1|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 = {{Str ≥ len|{{{key|51101}}}|4|{{#switch: {{ |
| subdivision_name3 = {{Str ≥ len|{{{key|51101}}}|4|{{#switch: {{#invoke:String|sub|{{{key|51101}}}|1|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 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 04:06, 7 November 2021
Infobox Cape Verde settlement | |
---|---|
Settlement | |
Country | Cape Verde |
Island | Boa Vista |
Municipality | Boa Vista |
Civil parish | São João Baptista |
Population (2010) | |
• Total | 52 |
This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}} . Questions? Just ask here or over at Template talk:Infobox settlement. |
Usage
[edit]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
[edit]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
[edit]TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox Cape Verde settlement in articles based on its TemplateData.
TemplateData for Infobox Cape Verde settlement Infobox for French arrondissements
|