Jump to content

Module talk:Location map/data/Sweden

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Usage

[edit]

The map definition, Template:Location_map_Sweden, is intended for overlaying markers and labels on similar maps of Sweden. It is a map locator for the Sweden blank map, allowing a specified marker-image (parameter "mark=") of set size (defaults "marksize=8") plus an optional name-label to be placed by latitude and longitude coordinates on the default map (or a given image).

This template is used by the parent "Template:Location map" which must be invoked with parameter "Sweden" to process the options before it uses this template. Specify each of the individual parameters by using vertical bars: {{Location map | Sweden | ...}}.
See: {{Location map}} for description of parameters, or Examples below.
Location map Sweden
Sweden-locator.png as Alternative map
Coordinates
Top 70
Bottom 55
Left 11
Right 25

Examples

[edit]
Gotland island is located in Sweden
Gotland island
Gotland island
Show "Gotland island" on map

Example labeling "Gotland island":

{{Location map
| Sweden
| label = Gotland island
| label_size = 90 <--percent 0-900%
| caption = Show "Gotland island" on map
| lat_deg=57  | lat_min=30
| lon_deg=18 | lon_min=33
| background = #FFFF99
| float = right
| width = 270
}}
Malmö is located in Sweden
Malmö
Malmö
Show "Malmö" on map

Example for orange "Malmö" at bottom:

{{Location map
| Sweden
| label = Malmö
| label_size = 90 <--percent 0-900%
| caption = Show "Malmö" on map
| lat_deg=55  | lat_min=35
| lon_deg=13 | lon_min=2
| background = <!--orange-->#FFCC66
| float = right
| width = 270
| AlternativeMap = <!-- none (default)-->
}}
Gotland is located in Sweden
Gotland
Gotland
"Gotland" on wrong-scale map

Example labeling "Gotland" on wrong-scale map:

{{Location map
| Sweden
| label = Gotland | position = top
| label_size = 78 <!-- percent 0-900% -->
| caption = "Gotland" on wrong-scale map
| lat_deg=57  | lat_min=30
| lon_deg=18 | lon_min=33
| background = #FFFF99
| float = right
| width = 220
| AlternativeMap = Sweden_CIA_map_extended.gif
}}


For the Sweden CIA-extended map, use template Template:Location_map_skew with map name "SwedenCIAx" to place markers with coodinates at converging longitudes. Map "SwedenCIAx" has different boundaries than "Location map Sweden" and aligns top positions closer together.