Template:Location map+/doc

From Wikisource
Jump to navigation Jump to search

The Template Location map+ includes Location map and allows to mark more than one point on a map.

This template uses Location map~ to define the points to be shown on the map.

How to use[edit]

{{Location map+
|name of the Location map
|border     = color of the border or none
|caption    = title
|float      = left or right or center or none
|width      = width
|AlternativeMap = Alternative map file name (changes background map, border coordinates are determined based on the map name); this is only recommended for use in templates 
|places     = List of templates Location map~, which defines the points on the map
}}
{{Location map~
|label      = label
|label_size = label size in percent
|mark       = filename of the marker, default is Red pog.svg
|marksize   = marker size in px, default 8
|position   = left or right or top or bottom or none, default is right
|background = background color of the label, default transparent
|lon_dir    = W for western longitudes, default E (East)
|lat_dir    = S for southern latitudes, default N (North)
|lat_deg    = 56 | lat_min = | lat_sec = 
|lon_deg    = 16 | lon_min = | lon_sec = 
|lat        = longitude (decimale, negativ for western longitudes)
               (deprecated)
|long       = latitude (decimale, negativ for southern latitudes)
               (deprecated)
}}

See also Location map.

Example[edit]

Location map+/doc (Russia)
Khabarovsk
Khabarovsk
Vladivostok
Vladivostok
Krasnoyarsk
Krasnoyarsk
Tomsk
Tomsk
Novosibirsk
Novosibirsk
Samara
Samara
Moscow
Moscow
Saint Petersburg
Saint Petersburg
some russian cities
{{Location map+|Russia|width=800|float=center|caption=some russian cities|places=
  {{Location map~|Russia|lat_deg=48|lat_min=29|lon_deg=135|lon_min=04|position=left|background=#FFFFFF|label=Khabarovsk}}
  {{Location map~|Russia|lat_deg=43|lat_min=07|lon_deg=131|lon_min=54|position=right|background=#FFFFFF|label=Vladivostok}}
  {{Location map~|Russia|lat_deg=56|lat_min=00|lon_deg=92|lon_min=56|position=right|background=#FFFFFF|label=Krasnoyarsk}}
  {{Location map~|Russia|lat_deg=56|lat_min=30|lon_deg=84|lon_min=58|position=left|background=#FFFFFF|label=Tomsk}}
  {{Location map~|Russia|lat_deg=55|lat_min=02|lon_deg=82|lon_min=55|position=bottom|background=#FFFFFF|label=Novosibirsk}}
  {{Location map~|Russia|lat_deg=53|lat_min=11|lon_deg=50|lon_min=07|position=right|background=#FFFFFF|label=Samara}}
  {{Location map~|Russia|lat_deg=55|lat_min=45|lon_deg=37|lon_min=37|position=right|background=#FFFFFF|label=Moscow}}
  {{Location map~|Russia|lat_deg=59|lat_min=57|lon_deg=30|lon_min=19|position=right|background=#FFFFFF|label=Saint Petersburg}}
}}