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

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (28 revisions imported)
 
(4 intermediate revisions by one other user not shown)
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==
+
{{col-float-begin|width=330px}}
[[Image:Canada Saskatchewan location map.svg|right|thumb|175px|Location map Saskatchewan]]
+
{{Location map |Saskatchewan|width=300|float=none
[[Image:Canada Saskatchewan relief location map.jpg|right|175px|Alternative relief map]]
+
|coordinates={{coord|50.45|-104.616667}}
{| class="wikitable" width="240"
+
|label=Regina
|-
+
|caption= Regina<br>{{coord|50.45|-104.616667|format=dms}}
| 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>
+
{{col-float-break|width=330px}}
 
+
{{Location map |Saskatchewan|width=300|float=none
*Using decimal degrees
+
|coordinates={{coord|52.116667|-106.633333}}
<pre>
+
|label=Saskatoon
{{Location map|Canada Saskatchewan|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Saskatchewan]]}}
+
|marksize=9 |mark=Blue_pog.svg
</pre>
+
|caption= Saskatoon<br>{{coord|52.116667|-106.633333|format=dms}}
 
+
}}
<includeonly><!--
+
{{col-float-break|width=330px}}
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
{{Location map |Saskatchewan|width=300|float=none
[[Category:Canada location map templates|SK]]
+
|coordinates={{coord|59.058333|-108.716667}}
 
+
|label=Athabasca Sand Dunes Provincial Park|background=yellow
 +
|marksize=7 |mark=Locator_Dot.png
 +
|relief=1
 +
|caption= Athabasca Sand Dunes Provincial Park<br>{{coord|59.058333|-108.716667|format=dms}}
 +
}}
 +
{{col-float-break|width=330px}}
 +
{{Location map |Saskatchewan |width=300|float=none
 +
|label=Prince Albert
 +
|coordinates={{coord|53.20679|-105.75439}}
 +
|mark=<!--dot-->Green pog.svg
 +
|caption= Prince Albert<br>{{coord|53.20679|-105.75439|format=dms}}
 +
}}
 +
{{col-float-break|width=330px}}
 +
{{Location map|width=300|float=none
 +
|Saskatchewan
 +
|label=Qu'Appelle
 +
|coordinates={{coord|50.541|-103.874}}
 +
|background=#FFFFDD
 +
|caption=Qu'Appelle<br>{{coord|50.541|-103.874|format=dms}}
 +
}}
 +
{{col-float-break|width=330px}}
 +
{{Location map|Saskatchewan|width=300|float=none
 +
|coordinates={{coord|52.333333|-106.766667}}
 +
|label=Dalmeny|label_size=100|background=#FFFFFF
 +
|marksize=14
 +
|caption= Dalmeny, Saskatchewan<br>{{coord|52.333333|-106.766667|format=dms}}
 +
}}
 +
{{col-float-end}}
 +
| see also =
 +
* [[Module:Location map/data/Canada]]
 +
}}
 +
<includeonly>
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Canada location map templates|Saskatchewan]]
 
</includeonly>
 
</includeonly>

Latest revision as of 06:33, 27 September 2020


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.

Examples using location map templates

Lua error in Module:Location_map at line 399: Malformed coordinates value.

Lua error in Module:Location_map at line 399: Malformed coordinates value.

Lua error in Module:Location_map at line 399: Malformed coordinates value.

Lua error in Module:Location_map at line 399: Malformed coordinates value.

Lua error in Module:Location_map at line 399: Malformed coordinates value.

Lua error in Module:Location_map at line 399: Malformed coordinates value.

See also

Location map templates

Creating new map definitions