Template:Infobox Havana/doc

From Wikipedia, the free encyclopedia

This infobox is to be used for Cuban towns, cities and municipalities. See the Talk page for instructions and discussions.

[edit] Parameters

{{Infobox Havana
|name               = 
|name_local         = 
|image_skyline      = 
|caption_skyline    = 
|city_flag          = 
|city_seal          = 
|lat_deg            = 
|lat_min            = 
|lon_deg            = 
|lon_min            = 
|elevation_min      = 
|elevation_max      = 
|founded            = 
|province           = 
|municipality       =
|districts          = 
|mayor              = 
|party              = 
|since              = 
|population_as_of   = 
|population         = 
|area               = 
|population_metro   = 
|area_metro         = 
|pop_municipality   = 
|area_municipality  = 
|postal_code        = 
|area_code          =
|website            = 
}}

[edit] Parameters deliberatley left out

  • All the size fields such as size_flag, size_seal, size_skyline. They are all formatted by the infobox itself, so there is no need to keep adjusting them.

[edit] Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

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

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.