Module:Location map/data/Albania/doc

From blackwiki
< Module:Location map‎ | data/Albania
Revision as of 13:13, 11 August 2011 by blackwiki>Zyxw (create documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/Albania

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

Map definition

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

Alternative map

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

{{Location map | Albania
| width  = 150
| lat    = 41.326
| long   = 19.816
| label  = Tirana
}}

Location map, using relief map (image1)

{{Location map | Albania
| relief = yes
| width  = 150
| lat    = 41.326
| long   = 19.816
| label  = Tirana
}}

Location map many, using default map

{{Location map many | Albania
| caption = Two locations in Albania
| width   = 150
| lat     = 41.326
| long    = 19.816
| label   = Tirana
| lat2    = 40.617
| long2   = 20.767
| label2  = Korçë
}}

Location map+, using AlternativeMap

{{Location map+ | Albania
| AlternativeMap = Albania relief location map.jpg
| caption = Two locations in Albania
| width   = 150
| places  =
  {{Location map~ | Albania
  | lat   = 41.326
  | long  = 19.816
  | label = Tirana
  }}
  {{Location map~ | Albania
  | lat   = 40.617
  | long  = 20.767
  | label = Korçë
  }}
}}

See also