Difference between revisions of "Module:Location map/data/Canada Lethbridge/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
−
==Usage==
+
|image =
−
This map templates is to be used in conjunction with {{tl|Location map}} to display a dot on a [[Lethbridge]] map when location is given. It can also be used as part of {{tl|Infobox Settlement}} using the "pushpin_map" parameters.
+
|examples=
−
 
+
|see also =  
−
==Parameters==
+
* [[Module:Location map/data/Canada]]
−
[[image:Lethbridge map.gif|right|thumb|220px|Location map Lethbridge]]
+
* [[Module:Location map/data/Canada Alberta]]
−
{| class="wikitable" width="240"
 
−
|-
 
−
| colspan="2" style="text-align:center;background-color:#DDD; color:#000" | '''Coordinates'''
 
−
|-
 
−
| Top || 49.75826
 
−
|-
 
−
| Bottom || 49.61866
 
−
|-
 
−
| Left || -112.93705
 
−
|-
 
−
| Right || -112.73397
 
−
|}
 
−
 
 
−
==Usage==
 
−
See {{tl|Location map}} for full syntax (e.g. button size, text, caption)
 
−
 
 
−
*Using degree-minute-second
 
−
<pre>
 
−
{{Location map
 
−
|Canada Lethbridge
 
−
|lat_deg    =
 
−
|lat_min    =
 
−
|lat_sec    =
 
−
|lat_dir    = N
 
−
|lon_deg    =
 
−
|lon_min    =
 
−
|lon_sec    =
 
−
|lon_dir    = W 
 
−
|caption    =
 
−
|width      = 220
 
 
}}
 
}}
−
</pre>
+
<includeonly>
−
 
+
<!-- Categories below this line, please; interwikis at Wikidata -->
−
*Using decimal degrees
 
−
<pre>
 
−
{{Location map|Canada Lethbridge|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Lethbridge]]}}
 
−
</pre>
 
−
 
 
−
<includeonly><!--
 
−
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 
 
[[Category:Canada location map templates|Lethbridge]]
 
[[Category:Canada location map templates|Lethbridge]]
 
</includeonly>
 
</includeonly>

Revision as of 12:58, 12 March 2018


Location map of Lethbridge
name Lethbridge
border
coordinates
49.75826
-112.93705 ←↕→ -112.73397
49.61866
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Lethbridge map.gif
400x400px


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

Map definition

  • name = Lethbridge
    Name used in the default map caption
  • bottom = 49.61866
    Latitude at bottom edge of map, in decimal degrees
  • left = -112.93705
    Longitude at left edge of map, in decimal degrees
  • right = -112.73397
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions