Template:Infobox frazione/doc

From MOASSpedia
Jump to navigation Jump to search

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

The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired. The time allocated for running scripts has expired. 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:The time allocated for running scripts has expired.|Category:The time allocated for running scripts has expired.]] (0)
  • [[:Category:The time allocated for running scripts has expired.|Category:The time allocated for running scripts has expired.]] (0)

TemplateData

TemplateData documentation used by VisualEditor and other tools
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox frazione

The time allocated for running scripts has expired.

An infobox for summarizing information about an Italian frazione.

Template parameters

ParameterDescriptionTypeStatus
Namename

For infobox title and map caption

Linerequired
Native Namenative_name

For infobox subtitle, just below name

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

Lineoptional
Image Captionimage_caption

Optional caption to display beneath image

Stringoptional
Coordinatescoordinates

Latitude and longitude. Use {{Coord}}. See the documentation for {{Coord}} for more details on usage.

Templatesuggested
Map Imageimage_map

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

Lineoptional
Map Captionmap_caption

Optional caption to display beneath map

Lineoptional
Pushpin Captionpushpin_map

The name of a location map. The coordinates information (from the coordinates parameter) position a pushpin coordinate marker and label on the map 'automatically'.

Lineoptional
pushpin_map_captionpushpin_map_caption

Fill out if a different caption from ''map_caption'' is desired.

Stringoptional
Regionregion

Name of region, wikilinked.

Example
[[Tuscany]]
Linerequired
Provinceprovince

Name of province (if applicable), wikilinked and piped, plus the two-letter abbreviation. Mutually exclusive with metropolitan_city. Required if applicable.

Example
[[Province of Benevento|Benevento]] (BN)
Lineoptional
Metropolitan citymetropolitan_city

Name of metropolitan city (if applicable), wikilinked and piped, plus the two-letter abbreviation. Mutually exclusive with province. Required if applicable.

Example
[[Metropolitan City of Naples|Naples]] (NA)
Lineoptional
Comunecomune

Name of commune, wikilinked.

Stringrequired
Elevation Footnoteselevation_footnotes

Place to put any references using <ref> </ref> tags

Stringoptional
Elevation (m)elevation_m

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

Numberoptional
Area Footnotesarea_footnotes

Place to put any references using <ref> </ref> tags

Stringoptional
Total Area (km²)area_total_km2

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

Numbersuggested
Population Footnotespopulation_footnotes

Place to put any references using <ref> </ref> tags

Stringoptional
Population as of ____population_as_of

Date for population.

Linesuggested
Total Populationpopulation_total

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

Numbersuggested
Population Density Footnotespop_density_footnotes

Place to put any references using <ref> </ref> tags

Stringoptional
Gentilicgentilic

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

Lineoptional
Area Codearea_code

Dialing code (number form).

Numbersuggested
Postal Codepostal_code

Postal code(s).

Stringsuggested
Patron Saintsaint

Name of patron saint.

Lineoptional
Day of Patron Saintday

Day of patron saint.

Lineoptional
Websitewebsite

Link to city's web site.

Lineoptional
Footnotesfootnotes

Any additional footnotes

Stringoptional

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

  • [[:Category:The time allocated for running scripts has expired.|Category:The time allocated for running scripts has expired.]] (0)

See also