Module:Location map/data/Croatia/doc

From blackwiki
< Module:Location map‎ | data/Croatia
Revision as of 10:29, 11 August 2011 by blackwiki>Zyxw (update documentation and add example using Template:Location map+)
Jump to navigation Jump to search

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

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

Map definition

name
used in default map caption (Template:Location map/data/Croatia)
image
the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Croatia|Template:Location map/data/Croatia]])
top
latitude at top edge of map, in decimal degrees (Template:Location map/data/Croatia)
bottom
latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Croatia)
left
longitude at left edge of map, in decimal degrees (Template:Location map/data/Croatia)
right
longitude at right edge of map, in decimal degrees (Template:Location map/data/Croatia)
skew
skew to narrow longitudes (Template:Location map/data/Croatia)
lat_skew
skew to arc latitudes at edges (Template:Location map/data/Croatia)

Examples

Location map

Zagreb is located in Croatia
Zagreb
Zagreb
Zagreb (Croatia)
{{Location map | Croatia
| width  = 250
| lat    = 45.82
| long   = 15.98
| label  = Zagreb
}}

Location map many

Location map/data/Croatia/doc is located in Croatia
Zagreb
Zagreb
Split
Split
Two locations in Croatia
{{Location map many | Croatia
| caption = Two locations in Croatia
| width   = 250
| lat     = 45.82
| long    = 15.98
| label   = Zagreb
| lat2    = 43.5
| long2   = 16.43
| label2  = Split
}}

Location map+

Location map/data/Croatia/doc is located in Croatia
Zagreb
Zagreb
Split
Split
Two locations in Croatia
{{Location map+ | Croatia
| caption = Two locations in Croatia
| width   = 250
| places  =
  {{Location map~ | Croatia
  | lat   = 45.82
  | long  = 15.98
  | label = Zagreb
  }}
  {{Location map~ | Croatia
  | lat   = 43.5
  | long  = 16.43
  | label = Split
  }}
}}

See also