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

Content deleted Content added
narrowed table to fit between map-images; enlarged final example
noted "mark" & "marksize"; revised example for orange "Malmo"
Line 8:
}}<noinclude>
==Template:Location_map_Sweden==
: This is a map locator for the Sweden blank map, allowing a specified symbolmarker-image and(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 similara given image when specified).
 
: 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>.
Line 45:
:<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>
Line 61:
| lat_deg=55 | lat_min=35
| lon_deg=13 | lon_min=2
| background = <!--orange-->#FFFF99FFCC66
| float = right
| width = 270
| AlternativeMap = <!-- none (use default map) -->
}}
Example labelingfor 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-->#FFFF99FFCC66</nowiki>
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 270</nowiki>
Line 90:
| float = right
| width = 220
| AlternativeMap = Sweden_from_ciaSweden_CIA_map_extended.pnggif
}}
Example labeling "[[Gotland]]" on wrong-scale map:
Line 103:
:<nowiki>| float = right</nowiki>
:<nowiki>| width = 220</nowiki>
:<nowiki>| AlternativeMap = Sweden_from_ciaSweden_CIA_map_extended.pnggif</nowiki>
:<nowiki>}}</nowiki><br/>