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

From blackwiki
Jump to navigation Jump to search
blackwiki>John of Reading
m (Typo/general fixing, replaced: a Edmonton → an Edmonton using AWB (8853))
blackwiki>117Avenue
(example)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!--
 
<!--
     PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
+
     PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE
 
     YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
 
     YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
 
-->
 
-->
Line 7: Line 7:
  
 
==Parameters==
 
==Parameters==
[[image:Metro Edmonton Map.png|right|thumb|220px|Location map Edmonton]]
+
{{Location map|Canada Edmonton|lat=53.556|long=-113.480|caption=Location map Edmonton}}
 
{| class="wikitable" width="240"
 
{| class="wikitable" width="240"
 
|-
 
|-
 
| align="center" colspan="2" style="background-color:#DDD; color:#000" | '''Coordinates'''
 
| align="center" colspan="2" style="background-color:#DDD; color:#000" | '''Coordinates'''
 
|-
 
|-
| Top || 53.716
+
| Top || 53.720
 
|-
 
|-
| Bottom || 53.395
+
| Bottom || 53.392
 
|-
 
|-
| Left || -113.713
+
| Left || -113.719
 
|-
 
|-
| Right || -113.246
+
| Right || -113.240
 
|}
 
|}
  
Line 28: Line 28:
 
{{Location map
 
{{Location map
 
|Canada Edmonton   
 
|Canada Edmonton   
|lat_deg    =  
+
|lat_deg    = 53
|lat_min    =  
+
|lat_min    = 33
|lat_sec    =  
+
|lat_sec    = 22
 
|lat_dir    = N
 
|lat_dir    = N
|lon_deg    =  
+
|lon_deg    = 113
|lon_min    =  
+
|lon_min    = 28
|lon_sec    =  
+
|lon_sec    = 46
 
|lon_dir    = W   
 
|lon_dir    = W   
|caption    =  
+
|caption    = Location of {{subst:PAGENAME}} in [[Edmonton]]
 
|width      = 220
 
|width      = 220
 
}}
 
}}
Line 43: Line 43:
 
*Using decimal degrees
 
*Using decimal degrees
 
<pre>
 
<pre>
{{Location map|Canada Edmonton|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Edmonton]]}}
+
{{Location map|Canada Edmonton|lat=53.556|long=-113.480|caption=Location of {{subst:PAGENAME}} in [[Edmonton]]}}
 
</pre>
 
</pre>
  
 
<includeonly>
 
<includeonly>
 
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
[[Category:Canada location map templates|Edmonton]]
 
[[Category:Canada location map templates|Edmonton]]
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
 
 
</includeonly>
 
</includeonly>

Revision as of 05:53, 8 December 2014

This map templates is to be used in conjunction with {{Location map}} to display a dot on an Edmonton map when location is given. It can also be used as part of {{Infobox settlement}} using the "pushpin_map" parameters.

Parameters

Coordinates
Top 53.720
Bottom 53.392
Left -113.719
Right -113.240

Usage

See {{Location map}} for full syntax (e.g. button size, text, caption)

  • Using degree-minute-second
{{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
}}
  • Using decimal degrees
{{Location map|Canada Edmonton|lat=53.556|long=-113.480|caption=Location of {{subst:PAGENAME}} in [[Edmonton]]}}