Template:Infobox Greek Dimos

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
{{{name}}}
{{{name_local}}}
Placeholder.png
Flag of {{{name}}}
Seal of {{{name}}}
Location

No coordinates given

Coordinates
Time zone: EET/EEST (UTC+2/3)
Elevation (min-max): {{{elevation_min}}} - 100 m (164 - 328 ft)
Government
Country: Greece
Periphery: {{{periph}}}
Prefecture: {{{prefec}}}
Municipality: {{{municipality}}}
Established
 - City: {{{established_c}}}
 - Municipality: {{{established_m}}}
Districts: {{{districts}}}
Mayor: {{{mayor}}}
Population statistics (as of {{{population_as_of}}}[1])
City Proper
 - Population: 0
 - Area:[2] {{{area}}} km² (0 sq mi)
 - Density: 0 /km² (0 /sq mi)
Metropolitan
 - Population: 0
 - Area: {{{area_metro}}} km² (0 sq mi)
 - Density: 0 /km² (0 /sq mi)
Village
 - Population: 0
 - Area: {{{area_village}}} km² (0 sq mi)
 - Density: 0 /km² (0 /sq mi)
Municipality
 - Population: 0
 - Area: {{{area_municipality}}} km² (0 sq mi)
 - Density: 0 /km² (0 /sq mi)
Codes
Postal: {{{postal_code}}}
Telephone: {{{area_code}}}
Auto: {{{licence}}}
Website
{{{website}}}
Flag of Greece.svg
Template documentation[view] [edit] [history] [purge]

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

Parameters[change source]

{{Infobox Greek Dimos
|name               =
|name_local         =
|image_skyline      =
|caption_skyline    =
|city_flag          =
|city_seal          =
|lat_deg            =
|lat_min            =
|lon_deg            =
|lon_min            =
|elevation_min      =
|elevation_max      =
|periph             =
|prefec             =
|municipality       =
|established_c      =
|established_m      =
|districts          =
|mayor              =
|party              =
|since              =
|demonym            =
|population_as_of   =
|population         =
|area               =
|population_metro   =
|area_metro         =
|population_village =
|area_village       =
|pop_municipality   =
|area_municipality  =
|postal_code        =
|area_code          =
|licence            =
|website            =
}}

Parameters deliberatley left out[change source]

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

Microformat[change source]

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[change source]

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[change source]

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[change source]

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

References[change source]

  1. "(875 KB) 2001 Census" (PDF). National Statistical Service of Greece (ΕΣΥΕ) (in Greek). www.statistics.gr. Retrieved 2007-10-30.
  2. (Greek) "Basic Characteristics". Ministry of the Interior. www.ypes.gr. Retrieved 2007-08-07.