Template:Infobox Italian comune/doc

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.


 * 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 show in the infobox.

Parameters
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.

Alias parameters
Parameter name synonyms:

Example
Sample infobox for Sanremo:



TemplateData
{	"params": { "name": { "label": "Name", "description": "Used for infobox title and map caption", "type": "string", "required": true },		"official_name": { "label": "Official name", "description": "in English", "type": "string" },		"native_name": { "label": "Native name", "description": "in Italian", "type": "string" },		"region": { "label": "Region", "description": "Name of region, wikilinked", "example": "Tuscany", "type": "string", "required": true },		"settlement_type": { "label": "Settlement type", "type": "string" },		"image_skyline": { "label": "Image", "description": "Preferably a characteristic picture (image) of the comune", "example": "Altofonte2.JPG", "type": "wiki-file-name" },		"image_size": { "aliases": [ "imagesize" ],			"label": "Image size", "description": "Image size in px", "example": "300px", "type": "string", "default": "250px" },		"image_alt": { "label": "Image alt text", "description": "Alt text for image, see WP:ALT", "example": "Altofonte seen from Moharda", "type": "string" },		"image_caption": { "label": "Image caption", "description": "Caption, shown below the image", "type": "string" },		"image_flag": { "label": "Flag image", "description": "Flag image", "example": "Flag of Genoa.svg", "type": "wiki-file-name" },		"flag_size": { "label": "Flag size", "example": "75px", "type": "string", "default": "85px or 100px" },		"flag_alt": { "label": "Flag alt text", "description": "Alt text (see WP:ALT)", "type": "string" },		"image_shield": { "label": "Shield image", "type": "wiki-file-name", "aliases": [ "img_coa" ],			"description": "Shield, coat of arms" },		"shield_size": { "label": "Shield size", "description": "size in px", "type": "string", "default": "85px or 100px", "aliases": [ "img_coa_small" ]		},		"shield_alt": { "label": "Shield alt text", "description": "Alt text for shield (see WP:ALT)", "type": "string" },		"nickname": { "aliases": [ "nicknames" ],			"label": "Nickname", "description": "Any unofficial nickname(s)", "example": "Città dei Mille (\"City of the Thousand\")", "type": "string" },		"motto": { "aliases": [ "mottoes" ],			"label": "Motto", "description": "Motto(es) of the comune", "type": "string" },		"mapsize": { "label": "Map size", "type": "string" },		"map_alt": { "label": "Map alt text", "description": "Map image alt text", "type": "string" },		"map_caption": { "label": "Map caption", "description": "Caption, shows below the map", "type": "string" },		"area_total_km2": { "label": "Area", "description": "Area in km2. The number, do not add 'km2'", "example": "450", "type": "number", "required": true },		"pushpin_label_position": { "label": "Pushpin label position", "aliases": [ "locator_position" ],			"example": "left", "type": "string", "default": "right" },		"pushpin_map_alt": { "label": "Pushpin alt text", "description": "Pushpin map alt text", "type": "string" },		"pushpin_mapsize": { "label": "Pushpin map size", "type": "string" },		"pushpin_map": { "label": "Pushpin map", "type": "wiki-file-name" },		"coordinates": { "label": "Coordinates", "description": "Use °N, °W", "example": "38.05°N, 13.3°W", "type": "wiki-template-name" },		"coordinates_footnotes": { "label": "Coordinates footnotes", "description": "Shows right after the coordinates", "type": "string" },		"metropolitan_city": { "label": "Metropolitan city", "type": "string" },		"province": { "label": "Province", "type": "string" },		"frazioni": { "label": "Frazioni", "description": "List of communities (parishes)", "type": "string" },		"established_date": { "label": "Established date" },		"established_title": { "label": "Established Title", "type": "string", "default": "Founded" },		"mayor_party": { "label": "Mayor's party", "type": "string" },		"mayor": { "label": "Mayor", "type": "string" },		"area_footnotes": { "label": "Area footnotes", "type": "string" },		"population_footnotes": { "label": "Population footnotes", "type": "string" },		"population_total": { "aliases": [ "population" ],			"label": "Population", "description": "Total population", "type": "number", "required": true },		"population_as_of": { "label": "Population as of", "description": "Moment population was counted", "type": "string", "required": true },		"population_demonym": { "aliases": [ "population_demonyms", "gentilic" ],			"label": "Demonym", "description": "Name for inhabitants. Use masculine plural form with an initial capital", "type": "string" },		"elevation_footnotes": { "label": "Elevation footnotes", "type": "string" },		"elevation_m": { "label": "Elevation", "description": "Average elevation in m", "type": "number" },		"elevation_min_m": { "label": "Elevation, min", "description": "Minimum elevation, in m", "type": "number" },		"elevation_max_m": { "label": "Elevation, max", "description": "Maximum elevation, in m", "type": "number" },		"istat": { "label": "ISTAT", "description": "National Institute of Statistics (ISTAT) code of the comune, unlinked", "type": "string", "example": "048017", "required": true },		"saint": { "label": "Saint", "description": "Name of patron saint", "type": "string" },		"day": { "label": "Saint's day", "description": "Day of patron saint", "type": "string" },		"postal_code": { "aliases": [ "postalcode" ],			"label": "Postal code", "type": "string", "required": true },		"area_code": { "label": "Area code", "type": "string", "aliases": [ "telephone" ],			"required": true },		"website": { "label": "Website", "description": "Officla website", "type": "url" },		"footnotes": {}, "map": { "aliases": [ "image_map" ],			"label": "Map", "description": "Name of a map image. Can be used in addition to the locator map", "type": "wiki-file-name" }	},	"description": "Template:Infobox Italian comune, uses .", "paramOrder": [ "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", "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" ] }