Difference between revisions of "Module:Location map/data/Canada Montreal/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 [[Montreal]] map when location is given. It can also be used as part of {{tl|Infobox Settlement}} using the "pushpin_map" parameters.
+
|image =[[image:Montréal-blank.png|right|thumb|220px|Location map Montreal]]
==Parameters==
+
|examples=
[[image:Montréal-blank.png|right|thumb|220px|Location map Montreal]]
+
|see also =
{| class="wikitable" width="240"
+
* [[Module:Location map/data/Canada]]
|-
+
* [[Module:Location map/data/Canada Quebec]]
| colspan="2" style="text-align:center;background-color:#DDD; color:#000" | '''Coordinates'''
 
|-
 
| Top || 45.7070
 
|-
 
| Bottom || 45.4000
 
|-
 
| Left || -73.9980
 
|-
 
| Right || -73.4700
 
|}
 
 
 
==Usage==
 
*Using degree-minute-second
 
<pre>
 
{{Location map
 
|Canada Montreal
 
|lon_dir    = W   
 
|lat_dir    = N
 
|lat_deg    =
 
|lat_min    =
 
|lat_sec    =
 
|lon_deg    =
 
|lon_min    =
 
|lon_sec    =
 
|caption    =
 
|width      = 220
 
 
}}
 
}}
</pre>
+
<includeonly>
 
+
<!-- Categories below this line, please; interwikis at Wikidata -->
*Using decimal degrees
 
<pre>
 
{{Location map|Canada Montreal|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Montreal]]}}
 
</pre>
 
 
 
<includeonly><!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 
 
[[Category:Canada location map templates|Montreal]]
 
[[Category:Canada location map templates|Montreal]]
 +
</includeonly>

Revision as of 12:57, 12 March 2018


Location map of Montreal
name Montreal
border
coordinates
45.707
-73.998 ←↕→ -73.47
45.4
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Montréal-blank.png
Montréal-blank.png
Location map Montreal

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

Map definition

  • name = Montreal
    Name used in the default map caption
  • bottom = 45.4
    Latitude at bottom edge of map, in decimal degrees
  • left = -73.998
    Longitude at left edge of map, in decimal degrees
  • right = -73.47
    Longitude at right edge of map, in decimal degrees

Precision

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

  • At an image width of 200 pixels, that is 0.0026 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.307 degrees.

  • At an image height of 200 pixels, that is 0.0015 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