Module talk:Location map/data/Sweden/doc: Difference between revisions

Content deleted Content added
cat
m Removed protection from "Module talk:Location map/data/Sweden/doc": reset old inherited protection from prior moves
 
(66 intermediate revisions by 34 users not shown)
Line 1:
{{Attribution history|Module:Location map/data/Sweden}}
{{#switch:{{{1}}}
|name = Sweden
|top = 70
|bottom = 55
|left = 11
|right = 25
|image = Sweden-eq.png
}}<noinclude>
==Template:Location_map_Sweden==
: This 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: <nowiki>{{Location map | Sweden | ...}}</nowiki>.
 
::: See: {{tl|Location map}} for description of parameters, or Examples below.
 
[[image:Sweden-eq.png|left|thumb|170px|Location map Sweden]]
[[image:Sweden-locator.png|right|thumb|170px|Sweden-locator.png as Alternative map]]
{| class="wikitable" width="140"
|-
| align="center" colspan="2" style="background-color:#DDD; color:#000" | '''Coordinates'''
|-
| Top || 70
|-
| Bottom || 55
|-
| Left || 11
|-
| Right || 25
|}
{{-}}<!-- force separation break -->
==Examples==
{{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
}}
Example labeling "[[Gotland]] island":
:<nowiki>{{Location map</nowiki>
:<nowiki>| Sweden</nowiki>
:<nowiki>| label = Gotland island</nowiki>
:<nowiki>| label_size = 90 <--percent 0-900%</nowiki>
:<nowiki>| caption = Show "Gotland island" on map</nowiki>
:<nowiki>| lat_deg=57</nowiki>&nbsp;<nowiki> | lat_min=30</nowiki>
:<nowiki>| lon_deg=18 | lon_min=33</nowiki>
:<nowiki>| background = #FFFF99</nowiki>
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 270</nowiki>
:<nowiki>}}</nowiki>
<!-- ------------------------- -->
{{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 (use default map) -->
}}
Example for orange "[[Malmö]]" at bottom:
:<nowiki>{{Location map</nowiki>
:<nowiki>| Sweden</nowiki>
:<nowiki>| label = Malmö</nowiki>
:<nowiki>| label_size = 90 <--percent 0-900%</nowiki>
:<nowiki>| caption = Show "Malmö" on map</nowiki>
:<nowiki>| lat_deg=55</nowiki>&nbsp;<nowiki> | lat_min=35</nowiki>
:<nowiki>| lon_deg=13 | lon_min=2</nowiki>
:<nowiki>| background = <!--orange-->#FFCC66</nowiki>
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 270</nowiki>
:<nowiki>| AlternativeMap = <!-- none (default)--></nowiki>
:<nowiki>}}</nowiki>
<!-- ------------------------- -->
{{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
}}
Example labeling "[[Gotland]]" on wrong-scale map:
:<nowiki>{{Location map</nowiki>
:<nowiki>| Sweden</nowiki>
:<nowiki>| label = Gotland | position = top</nowiki>
:<nowiki>| label_size = 78 <!-- percent 0-900% --></nowiki>
:<nowiki>| caption = "Gotland" on wrong-scale map</nowiki>
:<nowiki>| lat_deg=57</nowiki>&nbsp;<nowiki> | lat_min=30</nowiki>
:<nowiki>| lon_deg=18 | lon_min=33</nowiki>
:<nowiki>| background = #FFFF99</nowiki>
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 220</nowiki>
:<nowiki>| AlternativeMap = Sweden_CIA_map_extended.gif</nowiki>
:<nowiki>}}</nowiki><br/>
 
[[de:Vorlage:Positionskarte Schweden]]
[[fr:Modèle:Géolocalisation/Suède]]
[[ru:Шаблон:ПозКарта Швеция]]
[[sv:Mall:Kartposition Svenska]]
 
[[Category:Maps of Sweden]]
</noinclude><noinclude>[[Category:Location map by country templates|{{PAGENAME}}]]</noinclude>