Difference between revisions of "Module:Location map/data/Switzerland/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(create documentation)
 
blackwiki>Zyxw
(update)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<includeonly>{{high-use| 3,000+ }}</includeonly>
 +
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
 
 
[[File:Switzerland-CIA WFB Map.png|thumb|450px|Map of Switzerland]]
 
[[File:Switzerland-CIA WFB Map.png|thumb|450px|Map of Switzerland]]
  

Revision as of 07:07, 10 February 2013


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

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Switzerland) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/Switzerland) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates

Location map, using default map (image)

{{Location map | Switzerland
| width   = 300
| lat_deg = 46.95
| lon_deg = 7.45
| label   = Bern
}}

Location map many, using relief map (image1)

{{Location map many | Switzerland
| relief   = yes
| width    = 300
| caption  = Two locations in Switzerland
| lat1_deg = 46.95
| lon1_deg = 7.45
| label1   = Bern
| lat2_deg = 47.37
| lon2_deg = 8.55
| label2   = Zurich
}}

Location map+, using AlternativeMap

{{Location map+ | Switzerland
| AlternativeMap = Switzerland (no subdivisions) location map.svg
| width   = 300
| caption = Two locations in Switzerland
| places  =
  {{Location map~ | Switzerland
  | lat_deg = 46.95
  | lon_deg = 7.45
  | label   = Bern
  }}
  {{Location map~ | Switzerland
  | lat_deg = 47.37
  | lon_deg = 8.55
  | label   = Zurich
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List