Comune di {{{name}}} | |
---|---|
Country | Italy |
Time zone | UTC+1 (CET) |
• Summer (DST) | UTC+2 (CEST) |
|region=
is missing|province=
and |metropolitan_city=
are missing. One is required.This template is used on approximately 8,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
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. |
This template uses Lua: |
{{Infobox Italian comune}} can be used for adding at-a-glance information to articles about comuni in Italy. This template should be used instead of {{Infobox settlement}} in articles about Italian comuni. It should not be used for a subdivision of a comune, such as a frazione, quartiere, circoscrizione, località, terziere, sestiere, contrada, or historical location that was never a comune. These other divisions can use {{Frazione}} or the more general Infobox settlement.
This blank template includes all parameters, listed in the order they show in the infobox.
{{Infobox Italian comune
| name =
| official_name =
| native_name =
| settlement_type =
| image_skyline =
| image_caption =
| image_size =
| image_alt =
| image_flag =
| flag_size =
| flag_alt =
| image_shield =
| shield_size =
| shield_alt =
| nickname =
| motto =
| map =
| map_caption =
| mapsize =
| map_alt =
| pushpin_map =
| pushpin_mapsize =
| pushpin_label_position =
| pushpin_map_alt =
| coordinates = {{coord|}}
| coordinates_footnotes =
| region =
| metropolitan_city =
| province =
| established_title =
| established_date =
| frazioni =
| mayor =
| mayor_party =
| area_total_km2 =
| area_footnotes =
| elevation_m =
| elevation_max_m =
| elevation_min_m =
| elevation_footnotes =
| population_total =
| population_as_of =
| population_footnotes =
| population_demonym =
| postal_code =
| area_code =
| istat =
| saint =
| day =
| website =
| footnotes =
}}
|
Aliases:
| imagesize =
| img_coa =
| img_coa_small =
| nicknames =
| mottoes =
| image_map =
| locator_position =
| population_demonyms = | gentilic =
| postalcode =
| telephone =
|
Required parameters marked with an asterisk (*). Double asterisk (**) indicates that one of the two parameters is required, but not both; the exception to this is uses of the infobox on comuni in the Aosta Valley, which contains no provinces or metropolitan cities. Examples come mostly from Sorrento.
Name | Description | Example | Order |
---|---|---|---|
name * | For infobox title and map caption | Sorrento | 1 |
official_name | Title and name of city or comune, in Italian | Defaults to: Comune di {{{name}}} | 2 |
native_name | Enter a value only if it is different from |name= . |
3 | |
settlement_type | Defaults to Comune | 4 | |
image_skyline | Name of image (file). This need not be a sky-line image, but should be something characteristic of the commune | Monteu Roero 01.jpg | 5 |
image_caption | Optional caption to display beneath image | Piazza Grande | 6 |
image_size, imagesize | Image px size | Defaults to 250px | 7 |
image_alt | 8 | ||
image_flag | Flag image name (file) | 9 | |
flag_size | 10 | ||
flag_alt | 11 | ||
image_shield | Name of the image of coat of arms (alias: |img_coa= ) |
Sorrento Stemma.png | 12 |
shield_size | Defaults to 140px, can be set smaller for low resolution images | 13 | |
shield_alt | 14 | ||
nickname, nicknames | Any unofficial nicknames | 15 | |
motto, mottoes | The comune's motto | 16 | |
map, image_map | Name of a map image. Can be used in addition to the locator map | 17 | |
map_caption | 18 | ||
mapsize | 19 | ||
map_alt | 20 | ||
pushpin_map | Select a map other than the political map of Italy, e.g. "Italy Sardinia"; see Template:Infobox settlement#Maps, coordinates for details | 21 | |
pushpin_mapsize | 22 | ||
pushpin_label_position | Display native_name to right (default) or left of mark on map. | 23 | |
pushpin_map_alt | 24 | ||
coordinates | 25 | ||
coordinates_footnotes | 26 | ||
region * | Name of region, wikilinked. | [[Campania]] | 27 |
metropolitan_city ** | Name of metropolitan city (if applicable), wikilinked and piped, plus the two-letter abbreviation. Mutually exclusive with province . |
[[Metropolitan City of Naples|Naples]] (NA) | 28 |
province ** | Name of province (if applicable), wikilinked and piped, plus the two-letter abbreviation. Mutually exclusive with metropolitan_city . |
[[Province of Benevento|Benevento]] (BN) | 29 |
established_title | Label for foundation date | Defaults to Founded | 30 |
established_date | Date comune was founded | 31 | |
frazioni | Frazioni (a type subdivision of the comune). | Casarlano, Sorrento Capo, Sorrento Marina Grande | 32 |
mayor | Name of mayor. | Marco Fiorentino (since April 5, 2005) | 33 |
mayor_party | Name of mayor's party. | 34 | |
area_total_km2 * | Area in square kilometers (km2). | 9.1 (Numbers only in RAW format only; no commas or spaces) | 35 |
area_footnotes | Place to put any references using <ref> </ref> tags | 36 | |
elevation_m | Elevation in meters (m) | 50.2 (Numbers only in RAW format only; no commas or spaces) | 37 |
elevation_max_m | 50.8 (Numbers only in RAW format only; no commas or spaces) | 38 | |
elevation_min_m | 10.2 (Numbers only in RAW format only; no commas or spaces) | 39 | |
elevation_footnotes | Place to put any references using <ref> </ref> tags | 40 | |
population_total * | Population (number) | 16506 (Numbers only in RAW format only; not 16,506 or 16 506; no commas or spaces) | 41 |
population_as_of * | Date for population | December 31, 2004 | 42 |
population_footnotes | Any references wrt population, use <ref>...</ref> tags | <ref name=profilo>{{cite web | url = http://www.comune.casale-monferrato.al.it/IT/cityhall/profilo_citta.asp?pid=CH_PROFILO | title = Profilo della Città | publisher = Comune di Casale Monferrato | accessdate = 2007-10-03 }}</ref> | 43 |
population_demonym | Gentilic (name for inhabitants). Use masculine plural form with an initial capital. | Sorrentini | 44 |
postal_code, postalcode * | Postal code(s) | 80060 and 80067 | 45 |
telephone, area_code * | Dialing code | 081 | 46 |
istat * | National Institute of Statistics (ISTAT) code of the comune, unlinked. | 048017 | 47 |
saint | Name of patron saint | [[Antoninus of Sorrento|St. Antoninus]] | 48 |
day | Day of patron saint | February 14 | 49 |
website | Link to city's web site. | www.comune.sorrento.na.it | 50 |
footnotes | Any additional footnotes | 51 |
Parameter name synonyms:
|population_demonyms=
|
equals | |population_demonym=
|
|gentilic=
|
equals | |population_demonym=
|
|image_map=
|
equals | |map=
|
|imagesize=
|
equals | |image_size=
|
|img_coa=
|
equals | |image_shield=
|
|img_coa_small= (?)
|
equals | |shield_size=
|
|locator_position=
|
equals | |pushpin_label_position=
|
|mottoes=
|
equals | |motto=
|
|nicknames=
|
equals | |nickname=
|
|postalcode=
|
equals | |postal_code=
|
|telephone=
|
equals | |area_code=
|
Sample infobox for Sanremo:
Sanremo | |
---|---|
Comune di Sanremo | |
Coordinates: 43°49′N 7°47′E / 43.817°N 7.783°E | |
Country | Italy |
Region | Liguria |
Province | Imperia (IM) |
Frazioni | San Romolo, Poggio, Bussana, Bussana Vecchia, Coldirodi, (etcetera) |
Government | |
• Mayor | Claudio Borea |
Area | |
• Total | 54 km2 (21 sq mi) |
Elevation | 15 m (49 ft) |
Population (2008) | |
• Total | 56,592 |
• Density | 1,000/km2 (2,700/sq mi) |
Demonyms | Sanremesi or Sanremaschi |
Time zone | UTC+1 (CET) |
• Summer (DST) | UTC+2 (CEST) |
Postal code | 18038 |
Dialing code | 0184 |
ISTAT code | 008055 |
Patron saint | Saint Romolo |
Saint day | October 13 |
Website | comunedisanremo.it |
{{Infobox Italian comune
| name = Sanremo
| official_name = Comune di Sanremo
| native_name =
| image_skyline = Sanremo-P1010166.JPG
| image_caption =
| image_size =
| image_alt =
| pushpin_map = Italy Liguria
| coordinates = {{Coord|43|49|N|7|47|E|region:IT|display = inline}}
| coordinates_footnotes =
| region = [[Liguria]]
| province = [[Province of Imperia|Imperia]] (IM)
| frazioni = San Romolo, Poggio, Bussana, Bussana Vecchia, Coldirodi, (etcetera)
| mayor = Claudio Borea
| mayor_party =
| area_total_km2 = 54
| area_footnotes =
| elevation_m = 15
| elevation_footnotes =
| population_total = 56592
| population_as_of = 2008
| population_footnotes =
| population_demonyms = Sanremesi or Sanremaschi
| postal_code = 18038
| area_code = 0184
| istat = 008055
| saint = [[Romulus of Genoa|Saint Romolo]]
| day = October 13
| website = [http://www.comunedisanremo.it/ comunedisanremo.it]
| footnotes =
}}
For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
hCard uses HTML classes including:
Geo is produced by calling {{coord}}, and uses HTML classes:
Please do not rename or remove these classes nor collapse nested elements which use them.
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
TemplateData for Infobox Italian comune
Template:Infobox Italian comune, uses {{Infobox settlement}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Used for infobox title and map caption | String | required |
Official name | official_name | in English | String | optional |
Native name | native_name | in Italian | String | optional |
Settlement type | settlement_type | no description | String | optional |
Image | image_skyline | Preferably a characteristic picture (image) of the comune
| File | optional |
Image caption | image_caption | Caption, shown below the image | String | optional |
Image size | image_size imagesize | Image size in px
| String | optional |
Image alt text | image_alt | Alt text for image, see [[WP:ALT]]
| String | optional |
Flag image | image_flag | Flag image
| File | optional |
Flag size | flag_size | no description
| String | optional |
Flag alt text | flag_alt | Alt text (see [[WP:ALT]]) | String | optional |
Shield image | image_shield img_coa | Shield, coat of arms | File | optional |
Shield size | shield_size img_coa_small | size in px
| String | optional |
Shield alt text | shield_alt | Alt text for shield (see [[WP:ALT]]) | String | optional |
Nickname | nickname nicknames | Any unofficial nickname(s)
| String | optional |
Motto | motto mottoes | Motto(es) of the comune | String | optional |
Map | map image_map | Name of a map image. Can be used in addition to the locator map | File | optional |
Map caption | map_caption | Caption, shows below the map | String | optional |
Map size | mapsize | no description | String | optional |
Map alt text | map_alt | Map image alt text | String | optional |
Pushpin map | pushpin_map | no description | File | optional |
Pushpin map size | pushpin_mapsize | no description | String | optional |
Pushpin label position | pushpin_label_position locator_position | no description
| String | optional |
Pushpin alt text | pushpin_map_alt | Pushpin map alt text | String | optional |
Show mapframe map | mapframe | Specify yes or no to show or hide the map, overriding the default
| String | suggested |
Mapframe caption | mapframe-caption | Caption for the map. If mapframe-geomask is set, then the default is "Location in <<geomask's label>>" | String | optional |
Custom mapframe | mapframe-custom | Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, other mapframe parameters will be ignored. | Template | optional |
Mapframe Wikidata item | mapframe-id id qid | Id (Q-number) of Wikidata item to use.
| String | optional |
Mapframe coordinates | mapframe-coordinates mapframe-coord coordinates coord | Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.
| Template | optional |
Mapframe shapes from Wikidata | mapframe-wikidata | et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter
| String | optional |
Mapframe point feature | mapframe-point | Override display of mapframe point feature. Turn off display of point feature by setting to "none". Force point marker to be displayed by setting to "on" | String | optional |
Mapframe shape feature | mapframe-shape | Override display of mapframe shape feature. Turn off by setting to "none". Use an inverse shape (geomask) instead of a regular shape by setting to "inverse" | String | optional |
Mapframe width | mapframe-frame-width mapframe-width | Frame width in pixels
| Number | optional |
Mapframe height | mapframe-frame-height mapframe-height | Frame height in pixels
| Number | optional |
Mapframe shape fill | mapframe-shape-fill | Color used to fill shape features
| String | optional |
Mapframe shape fill opacity | mapframe-shape-fill-opacity | Opacity level of shape fill, a number between 0 and 1
| Number | optional |
Mapframe stroke color | mapframe-stroke-color mapframe-stroke-colour | Color of line features, and outlines of shape features
| String | optional |
Mapframe stroke width | mapframe-stroke-width | Width of line features, and outlines of shape features
| Number | optional |
Mapframe marker | mapframe-marker | Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options
| String | optional |
Mapframe marker color | mapframe-marker-color mapframe-marker-colour | Background color for the marker
| String | optional |
Mapframe geomask | mapframe-geomask | Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country, or P131 for located in the administrative territorial entity)
| Page name | optional |
Mapframe geomask stroke color | mapframe-geomask-stroke-color mapframe-geomask-stroke-colour | Color of outline of geomask shape
| String | optional |
Mapframe geomask stroke width | mapframe-geomask-stroke-width | Width of outline of geomask shape
| Number | optional |
Mapframe geomask fill | mapframe-geomask-fill | Color used to fill outside geomask features
| String | optional |
Mapframe geomask fill opacity | mapframe-geomask-fill-opacity | Opacity level of fill outside geomask features, a number between 0 and 1
| Number | optional |
Mapframe zoom | mapframe-zoom | Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area
| Number | optional |
Mapframe length (km) | mapframe-length_km | Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area | Number | optional |
Mapframe length (mi) | mapframe-length_mi | Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area | Number | optional |
Mapframe area (km^2) | mapframe-area_km2 | Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area | Number | optional |
Mapframe area (mi^2) | mapframe-area_mi2 | Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area | Number | optional |
Mapframe frame coordinates | mapframe-frame-coordinates mapframe-frame-coord | Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}
| Template | optional |
Mapframe switcher | mapframe-switcher | Set to "auto" or "geomasks" or "zooms" to enable Template:Switcher-style switching between multiple mapframes. IF SET TO auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country. IF SET TO geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter. IF SET TO zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average. | String | optional |
mapframe-line | mapframe-line | no description | Unknown | optional |
Coordinates | coordinates | Use {{coord|...}}
| Template | optional |
Coordinates footnotes | coordinates_footnotes | Shows right after the coordinates | String | optional |
Region | region | Name of region, wikilinked
| String | required |
Metropolitan city | metropolitan_city | no description | String | optional |
Province | province | no description | String | optional |
Established Title | established_title | no description
| String | optional |
Established date | established_date | no description | Unknown | optional |
Frazioni | frazioni | List of communities (parishes) | String | optional |
Mayor | mayor | no description | String | optional |
Mayor's party | mayor_party | no description | String | optional |
Area | area_total_km2 | Area in km2. The number, do not add 'km2'
| Number | required |
Area footnotes | area_footnotes | no description | String | optional |
Elevation | elevation_m | Average elevation in m | Number | optional |
Elevation, max | elevation_max_m | Maximum elevation, in m | Number | optional |
Elevation, min | elevation_min_m | Minimum elevation, in m | Number | optional |
Elevation footnotes | elevation_footnotes | no description | String | optional |
Population | population_total population | Total population | Number | required |
Population as of | population_as_of | Moment population was counted | String | required |
Population footnotes | population_footnotes | no description | String | optional |
Demonym | population_demonym population_demonyms gentilic | Name for inhabitants. Use masculine plural form with an initial capital | String | optional |
Postal code | postal_code postalcode | no description | String | required |
Area code | area_code telephone | no description | String | required |
ISTAT | istat | National Institute of Statistics (ISTAT) code of the comune, unlinked
| String | required |
Saint | saint | Name of patron saint | String | optional |
Saint's day | day | Day of patron saint | String | optional |
Website | website | Official website | URL | optional |
footnotes | footnotes | no description | Unknown | optional |