Template:Infobox Italian frazione
This template is a customized wrapper for {{Infobox settlement}}. Any field from
|
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.
This template uses Lua: |
Blank template
{{{native_name}}} | |
---|---|
[[File:{{{image_skyline}}}|250px]] | |
[[File:{{{image_map}}}|250px|{{{map_caption}}}]] | |
Coordinates: 42°5′N 12°27′E / 42.083°N 12.450°E | |
Country | Italy |
Region | {{{region}}} |
Province | {{{province}}} |
Comune | {{{comune}}} |
Area {{{area_footnotes}}} | |
• Total | 1 km2 (0.4 sq mi) |
Elevation {{{elevation_footnotes}}} | 0 m (0 ft) |
Population ({{{population_as_of}}}){{{population_footnotes}}}{{{pop_density_footnotes}}} | |
• Total | 0 |
• Density | 0/km2 (0/sq mi) |
Time zone | UTC+1 (CET) |
• Summer (DST) | UTC+2 (CEST) |
Postal code | {{{postal_code}}} |
Patron saint | {{{saint}}} |
Saint day | {{{day}}} |
Website | {{{website}}} |
{{{footnotes}}} |
This blank template includes all parameters, listed in the order they appear in the infobox.
{{Infobox frazione | name = | native_name = | image_skyline = | image_caption = | image_size = | image_map = | image_caption = | coordinates = {{Coord}} | region = | province = | metropolitan_city = | comune = | elevation_footnotes = | elevation_m = | area_footnotes = | area_total_km2 = | population_footnotes = | population_total = | population_as_of = | pop_density_footnotes = | gentilic = | saint = | day = | postal_code = | area_code = | website = | footnotes = }} |
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.
Name | Description | Example |
---|---|---|
name | Title and name of the frazione | Guidonia |
native_name | Title and name of frazione in Italian (if different from English) | |
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_size | as either pixels or upright=0.90 for smaller as 90% size. | 260px or "frameless{{!}}upright=1.10" as 10% larger than the user's image-size preference. |
image_map | Name of image, displayed at width 240px. It may contain a most detailed map than the one showing Italy | Guidonia locator map RM.svg |
map_caption | Optional caption to display beneath image | Guidonia within the Province of Rome |
coordinates | Latitude and longitude coordinates in degrees, minutes, seconds | See {{Coord}} for usage information. |
* region | Name of region, wikilinked. | [[Lazio]] |
** province | Name of province (if applicable), wikilinked and piped, plus the two-letter abbreviation. Mutually exclusive with metropolitan_city . |
[[Province of Benevento|Benevento]] (BN) |
** 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) |
* comune | Name of commune, wikilinked. | [[Guidonia Montecelio]] |
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 | Put area references as <ref> tags | |
area_total_km2 | Area in square kilometers (km²). | 9.1 (Numbers only in RAW format only; no commas or spaces) |
population_footnotes | Put any references using <ref> </ref> tags | <ref name=profilo>{{cite web | url= http://www.treccani.it/enciclopedia/porto-santo-stefano/ | title = Porto Santo Stefano | publisher = Enciclopedia Treccani | accessdate = 2011-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 | |
* gentilic | Gentilic (name for inhabitants). Use masculine plural form with an initial capital. | guidoniani |
saint | Name of patron saint. | Mary of Loreto |
day | Day of patron saint. | December 10 |
area_code | Dialing code. | 0774 |
postal_code | Postal code(s). | 00012 |
website | Link to frazione's web site (if any). | http://www.guidonia.org |
footnotes | Any additional footnotes |
Tracking categories
- Category:Pages using infobox frazione with unknown parameters (1)
- Category:Pages using infobox frazione with administrative division issues (0)
TemplateData
TemplateData documentation used by VisualEditor and other tools
|
---|
See the monthly parameter usage report for this template.
TemplateData for Infobox Italian frazione <templatedata>
{
"description": "An infobox for summarizing information about an Italian frazione.",
"params": {
"name": {
"required": true,
"label": "Name",
"type": "string/line",
"description": "For infobox title and map caption"
},
"native_name": {
"type": "string/line",
"label": "Native Name",
"description": "For infobox subtitle, just below name"
},
"image_skyline": {
"type": "string/line",
"label": "Image (Skyline)",
"description": "Name of image, displayed at width 240px. This need not be a sky-line image, but should be something characteristic of the commune."
},
"image_caption": {
"type": "string",
"label": "Image Caption",
"description": "Optional caption to display beneath image"
},
"coordinates": {
"type": "string/line",
"label": "Coordinates",
"description": "Latitude and longitude. Use Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value).. See the documentation for Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value). for more details on usage.",
"type": "wiki-template-name",
"suggested": true
},
"image_map": {
"type": "string/line",
"label": "Map Image",
"description": "Name of a map image. Can be used in addition to the locator map"
},
"map_caption": {
"type": "string/line",
"label": "Map Caption",
"description": "Optional caption to display beneath map"
},
"pushpin_map": {
"type": "string/line",
"label": "Pushpin Caption",
"description": "The name of a location map. The coordinates information (from the coordinates parameter) position a pushpin coordinate marker and label on the map 'automatically'."
},
"pushpin_map_caption": {
"label": "pushpin_map_caption",
"description": "Fill out if a different caption from map_caption is desired.",
"type": "string",
"required": false
},
"region": {
"required": true,
"type": "string/line",
"label": "Region",
"description": "Name of region, wikilinked.",
"example": "Tuscany"
},
"province": {
"required": false,
"type": "string/line",
"label": "Province",
"description": "Name of province (if applicable), wikilinked and piped, plus the two-letter abbreviation. Mutually exclusive with metropolitan_city. Required if applicable.",
"example": "Benevento (BN)"
},
"metropolitan_city": {
"required": false,
"type": "string/line",
"label": "Metropolitan city",
"description": "Name of metropolitan city (if applicable), wikilinked and piped, plus the two-letter abbreviation. Mutually exclusive with province. Required if applicable.",
"example": "Naples (NA)"
},
"comune": {
"required": true,
"type": "string",
"label": "Comune",
"description": "Name of commune, wikilinked."
},
"elevation_footnotes": {
"type": "string",
"label": "Elevation Footnotes",
"description": "Place to put any references using Invalid |
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 "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.
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.
Tracking category
See also
The above documentation is transcluded from Template:Infobox Italian frazione/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. |