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

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
blackwiki>Frietjes
Line 1: Line 1:
{{Documentation subpage}}
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
{{Module:Location map/data/doc
This map templates is to be used in conjunction with {{tl|Location map}} to display a dot on a [[Saskatchewan]] map when location is given. It can also be used as part of {{tl|Infobox Settlement}} using the "pushpin_map" parameters.
+
|image=
 
+
|examples=
==Parameters==
+
| see also =  
[[Image:Canada Saskatchewan location map.svg|right|thumb|175px|Location map Saskatchewan]]
+
* [[Module:Location map/data/Canada]]
[[Image:Canada Saskatchewan relief location map.jpg|right|175px|Alternative relief map]]
 
{| class="wikitable" width="240"
 
|-
 
| colspan="2" style="text-align:center;background-color:#DDD; color:#000" | '''Coordinates'''
 
|-
 
| Top    || 60.3
 
|-
 
| Bottom  || 48.7
 
|-
 
| Left    || -114.0
 
|-
 
| Right  || -98.0
 
|}
 
 
 
==Usage==
 
See {{tl|Location map}} for full syntax (e.g. button size, text, caption)
 
 
 
*Using degree-minute-second
 
<pre>
 
{{Location map|Canada Saskatchewan
 
|width=220
 
|lon_dir=W|lat_dir=N
 
|lat_deg    = 56
 
|lat_min    = 29
 
|lat_sec    = 00
 
|lon_deg    = 109
 
|lon_min    = 26
 
|lon_sec    = 00
 
|caption    = La Loche in Saskatchewan
 
 
}}
 
}}
</pre>
 
 
*Using decimal degrees
 
<pre>
 
{{Location map|Canada Saskatchewan|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Saskatchewan]]}}
 
</pre>
 
 
 
<includeonly><!--
 
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. -->
[[Category:Canada location map templates|SK]]
+
[[Category:Canada location map templates|Saskatchewan]]
 
 
 
</includeonly>
 
</includeonly>

Revision as of 21:57, 5 March 2018


Location map of Saskatchewan
name Saskatchewan
border
coordinates
60.3
-114 ←↕→ -98
48.7
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Canada Saskatchewan location map.svg
Canada Saskatchewan location map.svg
image1 Canada Saskatchewan relief location map.jpg
Canada Saskatchewan relief location map.jpg


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

Map definition

  • name = Saskatchewan
    Name used in the default map caption
  • bottom = 48.7
    Latitude at bottom edge of map, in decimal degrees
  • left = -114
    Longitude at left edge of map, in decimal degrees
  • right = -98
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

Longitude: from West to East this map definition covers 16 degrees.

  • At an image width of 200 pixels, that is 0.08 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.016 degrees per pixel.

Latitude: from North to South this map definition covers 11.6 degrees.

  • At an image height of 200 pixels, that is 0.058 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0116 degrees per pixel.


See also

Location map templates

Creating new map definitions