Difference between revisions of "Module:Location map/data/Canada Ottawa/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 an [[Ottawa]] map when location is given. It can also be used as part of {{tl|Infobox Settlement}} using the "pushpin_map" parameters.
+
|image =[[image:Newottawamap.png|right|thumb|220px|Location map Ottawa]]
 
+
|examples=
==Parameters==
+
|see also =
[[image:Newottawamap.png|right|thumb|220px|Location map Ottawa]]
+
* [[Module:Location map/data/Canada]]
{| class="wikitable" width="240"
+
* [[Module:Location map/data/Canada Ontario]]
|-
 
| colspan="2" style="text-align:center;background-color:#DDD; color:#000" | '''Coordinates'''
 
|-
 
| Top || 45.57521
 
|-
 
| Bottom || 44.959
 
|-
 
| Left || -76.36398
 
|-
 
| Right || -75.169
 
|}
 
 
 
==Usage==
 
*Using degree-minute-second
 
<pre>
 
{{Location map
 
|Canada Ottawa
 
|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
 
<pre>
 
{{Location map|Canada Ottawa|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Ottawa]]}}
 
</pre>
 
 
==See also==
 
*{{tl|Location map}} - for full set of parameters
 
 
 
<includeonly>
 
<includeonly>
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Canada location map templates|Ottawa]]
 
[[Category:Canada location map templates|Ottawa]]
<!-- ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 
 
</includeonly>
 
</includeonly>

Revision as of 12:53, 12 March 2018


Location map of Ottawa
name Ottawa
border
coordinates
45.55
-76.36398 ←↕→ -75.169
44.959
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Newottawamap.png
400x400px
File:Newottawamap.png
Location map Ottawa

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

Map definition

  • name = Ottawa
    Name used in the default map caption
  • bottom = 44.959
    Latitude at bottom edge of map, in decimal degrees
  • left = -76.36398
    Longitude at left edge of map, in decimal degrees
  • right = -75.169
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions