Jump to content

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

From Wikipedia, the free encyclopedia
Content deleted Content added
create documentation
 
m Examples using location map templates: adjust width for example text box
Line 72: Line 72:
| label = Kiev
| label = Kiev
}}
}}
<pre style="width:30em">
<pre style="width:25em">
{{Location map | Ukraine
{{Location map | Ukraine
| width = 250
| width = 250
Line 94: Line 94:
| label2 = Odessa
| label2 = Odessa
}}
}}
<pre style="width:35em">
<pre style="width:30em">
{{Location map many | Ukraine
{{Location map many | Ukraine
| relief = yes
| relief = yes
Line 126: Line 126:
}}
}}
}}
}}
<pre style="width:40em">
<pre style="width:35em">
{{Location map+ | Ukraine
{{Location map+ | Ukraine
| AlternativeMap = Ukraine relief location map.jpg
| AlternativeMap = Ukraine relief location map.jpg

Revision as of 20:09, 17 August 2012

Map of Ukraine

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

Map definition

Alternative map

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

Kiev is located in Ukraine
Kiev
Kiev
Kiev (Ukraine)
{{Location map | Ukraine
| width   = 250
| lat_deg = 50.45
| lon_deg = 30.523
| label   = Kiev
}}

Location map many, using relief map (image1)

Location map/data/Ukraine/doc is located in Ukraine
Kiev
Kiev
Odessa
Odessa
Two locations in Ukraine
{{Location map many | Ukraine
| relief   = yes
| width    = 250
| caption  = Two locations in Ukraine
| lat1_deg = 50.45
| lon1_deg = 30.523
| label1   = Kiev
| lat2_deg = 46.467
| lon2_deg = 30.733
| label2   = Odessa
}}

Location map+, using AlternativeMap

Location map/data/Ukraine/doc is located in Ukraine
Kiev
Kiev
Odessa
Odessa
Two locations in Ukraine
{{Location map+ | Ukraine
| AlternativeMap = Ukraine relief location map.jpg
| width   = 250
| caption = Two locations in Ukraine
| places  =
  {{Location map~ | Ukraine
  | lat_deg = 50.45
  | lon_deg = 30.523
  | label   = Kiev
  }}
  {{Location map~ | Ukraine
  | lat_deg = 46.467
  | lon_deg = 30.733
  | label   = Odessa
  }}
}}

See also

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