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

Revision as of 12:09, 22 March 2018


Location map of Quebec City
name Quebec City
border
coordinates
46.979
-71.549 ←↕→ -71.141
46.732
map center Lua error: callParserFunction: function "#coordinates" was not found.
image QuebecCity location map.png
400x400px
File:QuebecCity location map.png
Location map Quebec City

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

Map definition

  • name = Quebec City
    Name used in the default map caption
  • bottom = 46.732
    Latitude at bottom edge of map, in decimal degrees
  • left = -71.549
    Longitude at left edge of map, in decimal degrees
  • right = -71.141
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions