Jump to content

Module:Location map/data/Belgium/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 21:18, 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 Belgium is a location map definition used to overlay markers and labels on an equirectangular projection map of Belgium. 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 "Belgium":

Map definition

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

Alternative map

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

Brussels is located in Belgium
Brussels
Brussels
Brussels (Belgium)
{{Location map | Belgium
| width = 200
| lat   = 50.85
| long  = 4.35
| label = Brussels
}}

Location map, using relief map (image1)

Brussels is located in Belgium
Brussels
Brussels
Brussels (Belgium)
{{Location map | Belgium
| relief = yes
| width  = 200
| lat    = 50.85
| long   = 4.35
| label  = Brussels
}}

Location map many, using default map

Location map/data/Belgium/doc is located in Belgium
Brussels
Brussels
Antwerp
Antwerp
Two locations in Belgium
{{Location map many | Belgium
| caption = Two locations in Belgium
| width   = 200
| lat     = 50.85
| long    = 4.35
| label   = Brussels
| lat2    = 51.22
| long2   = 4.40
| label2  = Antwerp
}}

Location map+, using AlternativeMap

Location map/data/Belgium/doc is located in Belgium
Brussels
Brussels
Antwerp
Antwerp
Two locations in Belgium
{{Location map+ | Belgium
| AlternativeMap = Belgium relief location map.jpg
| caption = Two locations in Belgium
| width   = 200
| places  =
  {{Location map~ | Belgium
  | lat   = 50.85
  | long  = 4.35
  | label = Brussels
  }}
  {{Location map~ | Belgium
  | lat   = 51.22
  | long  = 4.40
  | label = Antwerp
  }}
}}

See also