Jump to content

Module:Location map/data/Lebanon/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
create documentation
(No difference)

Revision as of 19:00, 28 February 2013

Map of Lebanon

Template:Location map Lebanon is a location map definition used to overlay markers and labels on an equirectangular projection map of Lebanon. 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 "Lebanon":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Lebanon) 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/Lebanon) 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)

Beirut is located in Lebanon
Beirut
Beirut
Beirut (Lebanon)
{{Location map | Lebanon
| width   = 220
| lat_deg = 33.89
| lon_deg = 35.51
| label   = Beirut
}}

Location map many, using relief map (image1)

Location map/data/Lebanon/doc is located in Lebanon
Beirut
Beirut
El Mina
El Mina
Two locations in Lebanon
{{Location map many | Lebanon
| relief   = yes
| width    = 220
| caption  = Two locations in Lebanon
| lat1_deg = 33.89
| lon1_deg = 35.51
| label1   = Beirut
| lat2_deg = 34.45
| lon2_deg = 35.82
| label2   = El Mina
}}

Location map+, using AlternativeMap

Location map/data/Lebanon/doc is located in Lebanon
Beirut
Beirut
El Mina
El Mina
Two locations in Lebanon
{{Location map+ | Lebanon
| AlternativeMap = Lebanon location map Topographic.png
| width   = 220
| caption = Two locations in Lebanon
| places  =
  {{Location map~ | Lebanon
  | lat_deg = 33.89
  | lon_deg = 35.51
  | label   = Beirut
  }}
  {{Location map~ | Lebanon
  | lat_deg = 34.45
  | lon_deg = 35.82
  | label   = El Mina
  }}
}}

See also

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