Permanently protected template

Template:Infobox Italian comune

From Wikipedia, the free encyclopedia
  (Redirected from Template:Infobox CityIT)
Jump to: navigation, search
Comune di {{{name}}}
Comune
Country Italy
Time zone CET (UTC+1)
 • Summer (DST) CEST (UTC+2)
Template documentation[view] [edit] [history] [purge]
Important
Please enter all numeric values in a raw, unformatted fashion. References are to be included in their respective section footnotes field. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.

Blank template

This blank template includes all parameters, listed in the order they appear in the infobox.

{{Infobox Italian comune
| name                    = 
| official_name           = 
| native_name             = 
| image_skyline           = 
| imagesize               = 
| image_alt               = 
| image_caption           = 
| image_shield            = 
| shield_size             = 
| shield_alt              = 
| nickname                =
| motto                   =
| image_map               = 
| mapsize                 = 
| map_alt                 = 
| map_caption             = 
| pushpin_map             = 
| pushpin_map_caption     = 
| pushpin_label_position  = 
| pushpin_map_alt         = 
| coordinates             = {{Coord}}
| coordinates_footnotes   = 
| region                  = 
| province                = 
| frazioni                = 
| adjacentcomuni          = 
| established_date        =
| mayor_party             = 
| mayor                   = 
| area_footnotes          = 
| area_total_km2          = 
| population_footnotes    = 
| population_total        = 
| population_as_of        = 
| pop_density_footnotes   = 
| population_demonym      = 
| elevation_footnotes     = 
| elevation_m             = 
| elevation_min_m         = 
| elevation_max_m         = 
| saint                   = 
| day                     = 
| postal_code             = 
| area_code               = 
| website                 = 
| footnotes               = 
}}

Parameters

Required parameters marked with an asterisk (*). Examples come mostly from infobox for Sorrento.

Name Description Example
* name For infobox title and map caption Sorrento
native_name For infobox subtitle, just below name. Enter a value only if it is different from |name=.
official_name Title and name of city or comune, in Italian. Enter a value only if it is different from Comune di {{{name}}}. Comune di Firenze
  Defaults to: Comune di {{{name}}}
image_skyline Name of image, displayed at width 240px. This need not be a sky-line image, but should be something characteristic of the commune Monteu Roero 01.jpg
image_caption Optional caption to display beneath image Piazza Grande
image_shield Name of the image of coat of arms Sorrento Stemma.png
shield_size Defaults to 140px, can be set smaller for low resolution images
image_map Name of a map image. Can be used in addition to the locator map
nickname Any unofficial nicknames
motto The comune's motto
coordinates Latitude and longitude. Use {{Coord}}.
pushpin_map Select a map other than the political map of Italy, e.g. "Italy Sardinia"; see Template:Infobox settlement#Maps, coordinates for details
pushpin_label_position Display native_name to right (default) or left of mark on map.
* region Name of region, wikilinked. [[Campania]]
* province Name of province or metropolitan city, wikilinked and piped, plus the two-letter province code for provinces. [[Province of Naples|Naples]] (NA)
frazioni Frazioni (a type subdivision of the comune). Casarlano, Sorrento Capo, Sorrento Marina Grande
adjacentcomuni Neighboring comuni Massa Lubrense, Sant'Agnello
established_date Date comune was founded
mayor Name of mayor. Marco Fiorentino (since April 5, 2005)
mayor_party Name of mayor's party.
elevation_footnotes Place to put any references using <ref> </ref> tags
elevation_m Elevation in meters (m). 50.2 (Numbers only in RAW format only; no commas or spaces)
area_footnotes Place to put any references using <ref> </ref> tags
* area_total_km2 Area in square kilometers (km²). 9.1 (Numbers only in RAW format only; no commas or spaces)
population_footnotes Place to put any references using <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>
* population_as_of Date for population. December 31, 2004
* population_total Population (number). 16506 (Numbers only in RAW format only; not 16,506 or 16 506; no commas or spaces)
pop_density_footnotes Place to put any references using <ref> </ref> tags
population_demonym Gentilic (name for inhabitants). Use masculine plural form with an initial capital. Sorrentini
* telephone Dialing code. 081
* postalcode Postal code(s). 80060 and 80067
saint Name of patron saint. St. Antoninus
day Day of patron saint. February 14
website Link to city's web site. www.comune.sorrento.na.it
footnotes Any additional footnotes

Example

Sanremo
Comune
Comune di Sanremo
Sanremo-P1010166.JPG
Sanremo is located in Liguria
Sanremo
Sanremo
Location of Sanremo in Liguria
Coordinates: 43°49′N 7°47′E / 43.817°N 7.783°E / 43.817; 7.783
Country Italy
Region Liguria
Province / Metropolitan city Imperia (IM)
Frazioni San Romolo, Poggio, Bussana, Bussana Vecchia, Coldirodi, Verezzo, San Bartolomeo, Gozzo Superiore, Gozzo Inferiore, Verezzo San Donato, Verezzo Sant'Antonio, San Giacomo, San Giovanni, Borello
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)
Demonym(s) Sanremesi or Sanremaschi
Time zone CET (UTC+1)
 • Summer (DST) CEST (UTC+2)
Postal code 18038
Dialing code 0184
Patron saint Saint Romolo
Saint day October 13
Website comunedisanremo.it

Sample infobox for Sanremo:

{{Infobox Italian comune
| name                = Sanremo
| official_name       = Comune di Sanremo
| native_name         = 
| image_skyline       = Sanremo-P1010166.JPG
| imagesize           = 
| image_alt           = 
| image_caption       = 
| 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, Verezzo, San Bartolomeo, Gozzo Superiore, Gozzo Inferiore, Verezzo San Donato, Verezzo Sant'Antonio, San Giacomo, San Giovanni, Borello
| mayor_party         = 
| mayor               = Claudio Borea
| area_footnotes      = 
| area_total_km2      = 54
| population_footnotes = 
| population_total    = 56592
| population_as_of    = 2008
| pop_density_footnotes = 
| population_demonym  = Sanremesi or Sanremaschi
| elevation_footnotes = 
| elevation_m         = 15
| saint               = [[Romulus of Genoa|Saint Romolo]]
| day                 = October 13
| postal_code         = 18038
| area_code           = 0184
| website             = [http://www.comunedisanremo.it/ comunedisanremo.it]
| footnotes           = 
}}

Coordinates

For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

Microformat

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.

Sub-templates

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Infobox Italian comune

An infobox for summarizing information about an Italian commune.

Template parameters

Parameter Description Type Status
Name name

For infobox title and map caption

Default
empty
Example
empty
Auto value
empty
Line required
Native Name native_name

For infobox subtitle, just below name

Default
empty
Example
empty
Auto value
empty
Line optional
Official Name official_name

Title and name of city or comune, in Italian.

Default
Comune di {{{name}}}
Example
empty
Auto value
empty
Line optional
Image (Skyline) image_skyline

Name of image, displayed at width 240px. This need not be a sky-line image, but should be something characteristic of the commune.

Default
empty
Example
empty
Auto value
empty
Line optional
Image Caption image_caption

Optional caption to display beneath image

Default
empty
Example
empty
Auto value
empty
String optional
Coat of Arms Image image_shield

Name of the image of coat of arms

Default
empty
Example
empty
Auto value
empty
Line optional
Coat of Arms Image Size shield_size

Defaults to 140px, can be set smaller for low resolution images

Default
140px
Example
empty
Auto value
empty
Line optional
Map Image image_map

Name of a map image. Can be used in addition to the locator map

Default
empty
Example
empty
Auto value
empty
Line optional
Nickname nickname

Any unofficial nicknames

Default
empty
Example
empty
Auto value
empty
String optional
Motto motto

The comune's motto

Default
empty
Example
empty
Auto value
empty
String optional
Latitude (degrees) latd

Latitude coordinates

Default
empty
Example
empty
Auto value
empty
Number optional
Latitude (minutes) latm

Latitude coordinates

Default
empty
Example
empty
Auto value
empty
Number optional
Latitude (North or South) latNS

Latitude coordinates (either 'N' or 'S')

Default
empty
Example
empty
Auto value
empty
Line optional
Longitude (degrees) longd

Longitude coordinates

Default
empty
Example
empty
Auto value
empty
Number optional
Longitude (minutes) longm

Longitude coordinates

Default
empty
Example
empty
Auto value
empty
Number optional
Longitude (East or West) longEW

Longitude coordinates (either 'E' or 'W')

Default
empty
Example
empty
Auto value
empty
Line optional
Pushpin Label Position pushpin_label_position

Display the Native Name to the "right" (default) or "left" of the marker on the map.

Default
right
Example
empty
Auto value
empty
Line optional
Region region

Name of region, wikilinked.

Default
empty
Example
empty
Auto value
empty
Line required
Province province

Name of province,wikilinked and piped, plus the two-letter province code e.g. [[Province of Naples|Naples]] (NA)

Default
empty
Example
empty
Auto value
empty
Line required
Frazioni frazioni

Frazioni (a type subdivision of the comune).

Default
empty
Example
empty
Auto value
empty
String optional
Adjacent Comuni adjacentcomuni

Neighboring comuni

Default
empty
Example
empty
Auto value
empty
String optional
Date of Establishment established_date

Date comune was founded

Default
empty
Example
empty
Auto value
empty
String optional
Mayor mayor

Name of mayor.

Default
empty
Example
empty
Auto value
empty
Line optional
Political Party of Mayor mayor_party

Name of mayor's party.

Default
empty
Example
empty
Auto value
empty
Line optional
Elevation Footnotes elevation_footnotes

Place to put any references using tags

Default
empty
Example
empty
Auto value
empty
String optional
Elevation (m) elevation_m

Elevation in meters (number in raw format only, without commas, spaces, etc.).

Default
empty
Example
empty
Auto value
empty
Number optional
Area Footnotes area_footnotes

Place to put any references using tags

Default
empty
Example
empty
Auto value
empty
String optional
Total Area (km²) area_total_km2

Area in square kilometers (number in raw format only, without commas, spaces, etc.).

Default
empty
Example
empty
Auto value
empty
Number required
Population Footnotes population_footnotes

Place to put any references using tags

Default
empty
Example
empty
Auto value
empty
String optional
Population as of ____ population_as_of

Date for population.

Default
empty
Example
empty
Auto value
empty
Line required
Total Population population_total

Population (number in raw format only, without commas, spaces, etc.).

Default
empty
Example
empty
Auto value
empty
Number required
Population Density Footnotes pop_density_footnotes

Place to put any references using tags

Default
empty
Example
empty
Auto value
empty
String optional
Population Demonym population_demonym

Gentilic (name for inhabitants). Use masculine plural form with an initial capital.

Default
empty
Example
empty
Auto value
empty
Line optional
Dialing Code telephone

Dialing code (number form).

Default
empty
Example
empty
Auto value
empty
Number required
Postal Code postalcode

Postal code(s).

Default
empty
Example
empty
Auto value
empty
String required
Patron Saint saint

Name of patron saint.

Default
empty
Example
empty
Auto value
empty
Line optional
Day of Patron Saint day

Day of patron saint.

Default
empty
Example
empty
Auto value
empty
Line optional
Website website

Link to city's web site.

Default
empty
Example
empty
Auto value
empty
Line optional
Footnotes footnotes

Any additional footnotes

Default
empty
Example
empty
Auto value
empty
String optional