Jump to content

Module:Location map/data/Greece/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 16:36, 6 September 2014 (update transclusion count). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Map of Greece

Template:Location map Greece is a location map definition used to overlay markers and labels on an equirectangular projection map of Greece. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "Greece":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Greece) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/Greece) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates

Location map, using default map (image)

Athens is located in Greece
Athens
Athens
Athens (Greece)
{{Location map | Greece
| width   = 250
| lat_deg = 37.97
| lon_deg = 23.72
| label   = Athens
}}

Location map many, using relief map (image1)

Location map/data/Greece/doc is located in Greece
Athens
Athens
Corfu (Kérkyra)
Corfu (Kérkyra)
Alexandroupoli
Alexandroupoli
Heraklion (Iraklion)
Heraklion (Iraklion)
Four locations in Greece
{{Location map many | Greece
| relief   = yes
| width    = 250
| caption  = Four locations in Greece
| lat1_deg = 37.97
| lon1_deg = 23.72
| label1   = Athens
| lat2_deg = 39.67
| lon2_deg = 19.75
| label2   = Corfu (Kérkyra)
| lat3_deg = 40.85
| lon3_deg = 25.87
| label3   = Alexandroupoli
| lat4_deg = 35.33
| lon4_deg = 25.13
| label4   = Heraklion (Iraklion)
}}

Location map+, using AlternativeMap

Location map/data/Greece/doc is located in Greece
Athens
Athens
Corfu (Kérkyra)
Corfu (Kérkyra)
Alexandroupoli
Alexandroupoli
Heraklion (Iraklion)
Heraklion (Iraklion)
Four locations in Greece
{{Location map+ | Greece
| AlternativeMap = Greece relief location map.jpg
| width   = 250
| caption = Four locations in Greece
| places  =
  {{Location map~ | Greece
  | lat_deg = 37.97
  | lon_deg = 23.72
  | label   = Athens
  }}
  {{Location map~ | Greece
  | lat_deg = 39.67
  | lon_deg = 19.75
  | label   = Corfu (Kérkyra)
  }}
  {{Location map~ | Greece
  | lat_deg = 40.85
  | lon_deg = 25.87
  | label   = Alexandroupoli
  }}
  {{Location map~ | Greece
  | lat_deg = 35.33
  | lon_deg = 25.13
  | label   = Heraklion (Iraklion)
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List