Jump to content

Module:Location map/data/Belarus/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 20:53, 20 August 2011 (create documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

Map definition

name
used in default map caption (Template:Location map/data/Belarus)
image
the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Belarus|Template:Location map/data/Belarus]])
image1
an alternative map image, usually a relief map ([[:File:Template:Location map/data/Belarus|Template:Location map/data/Belarus]])
top
latitude at top edge of map, in decimal degrees (Template:Location map/data/Belarus)
bottom
latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Belarus)
left
longitude at left edge of map, in decimal degrees (Template:Location map/data/Belarus)
right
longitude at right edge of map, in decimal degrees (Template:Location map/data/Belarus)

Alternative map

The map defined as image1 (Template:Location map/data/Belarus) can be displayed by using the AlternativeMap or relief parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. Further instructions can be found at Template:Location map#Using Alternative Map and Template:Location map#Relief, or see the examples below.

Examples

Location map, using default map (image)

Minsk is located in Belarus
Minsk
Minsk
Minsk (Belarus)
{{Location map | Belarus
| width = 180
| lat   = 53.90
| long  = 27.57
| label = Minsk
}}

Location map, using relief map (image1)

Minsk is located in Belarus
Minsk
Minsk
Minsk (Belarus)
{{Location map | Belarus
| relief = yes
| width  = 180
| lat    = 53.90
| long   = 27.57
| label  = Minsk
}}

Location map many, using default map

Location map/data/Belarus/doc is located in Belarus
Minsk
Minsk
Brest
Brest
Two locations in Belarus
{{Location map many | Belarus
| caption = Two locations in Belarus
| width   = 180
| lat     = 53.90
| long    = 27.57
| label   = Minsk
| lat2    = 52.13
| long2   = 23.67
| label2  = Brest
}}

Location map+, using AlternativeMap

Location map/data/Belarus/doc is located in Belarus
Minsk
Minsk
Brest
Brest
Two locations in Belarus
{{Location map+ | Belarus
| AlternativeMap = Relief Map of Belarus.png
| caption = Two locations in Belarus
| width   = 180
| places  =
  {{Location map~ | Belarus
  | lat   = 53.90
  | long  = 27.57
  | label = Minsk
  }}
  {{Location map~ | Belarus
  | lat   = 52.13
  | long  = 23.67
  | label = Brest
  }}
}}

See also