Difference between revisions of "Module:Location map/data/Canada Edmonton/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. -->  
<!--
+
{{Module:Location map/data/doc
    PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE
+
|image =
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
+
|examples=
-->
+
|see also =  
This map templates is to be used in conjunction with {{tl|Location map}} to display a dot on an [[Edmonton]] map when location is given. It can also be used as part of {{tl|Infobox settlement}} using the "pushpin_map" parameters.
+
* [[Module:Location map/data/Canada]]
 
+
* [[Module:Location map/data/Canada Alberta]]
==Parameters==
 
{{Location map|Canada Edmonton|lat=53.556|long=-113.480|caption=Location map Edmonton}}
 
{| class="wikitable" width="240"
 
|-
 
| colspan="2" style="text-align:center;background-color:#DDD; color:#000" | '''Coordinates'''
 
|-
 
| Top || 53.720
 
|-
 
| Bottom || 53.392
 
|-
 
| Left || -113.719
 
|-
 
| Right || -113.240
 
|}
 
 
 
==Usage==
 
See {{tl|Location map}} for full syntax (e.g. button size, text, caption)
 
 
 
*Using degree-minute-second
 
<pre>
 
{{Location map
 
|Canada Edmonton 
 
|lat_deg    = 53
 
|lat_min    = 33
 
|lat_sec    = 22
 
|lat_dir    = N
 
|lon_deg    = 113
 
|lon_min    = 28
 
|lon_sec    = 46
 
|lon_dir    = W 
 
|caption    = Location of {{subst:PAGENAME}} in [[Edmonton]]
 
|width      = 220
 
 
}}
 
}}
</pre>
 
 
*Using decimal degrees
 
<pre>
 
{{Location map|Canada Edmonton|lat=53.556|long=-113.480|caption=Location of {{subst:PAGENAME}} in [[Edmonton]]}}
 
</pre>
 
 
 
<includeonly>
 
<includeonly>
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Canada location map templates|Edmonton]]
 
[[Category:Canada location map templates|Edmonton]]
 
</includeonly>
 
</includeonly>

Revision as of 12:58, 12 March 2018


Location map of Edmonton
name Edmonton
border
coordinates
53.72
-113.719 ←↕→ -113.24
53.392
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Edmonton agglomeration-blank.svg
400x400px


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

Map definition

  • name = Edmonton
    Name used in the default map caption
  • bottom = 53.392
    Latitude at bottom edge of map, in decimal degrees
  • left = -113.719
    Longitude at left edge of map, in decimal degrees
  • right = -113.24
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions