Difference between revisions of "Module:Location map/data/Canada Ontario/doc"
Jump to navigation
Jump to search
blackwiki>Qui1che m (Updated documentation to show image with inset of Ontario in Canada actually being used by the template) |
blackwiki>Qui1che m (Add text about background image used) |
||
| Line 44: | Line 44: | ||
{{Location map|Canada Ontario|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Ontario]]}} | {{Location map|Canada Ontario|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Ontario]]}} | ||
</pre> | </pre> | ||
| + | |||
| + | ==Location map image== | ||
| + | This template uses the image file [[commons:Canada Ontario location map 2.svg|Canada Ontario location map 2.svg]] as the background image. | ||
<includeonly><!-- | <includeonly><!-- | ||
Revision as of 00:48, 10 September 2011
| 40px | This is a documentation subpage for Module:Location map/data/Canada Ontario. It contains usage information, categories and other content that is not part of the original module page. |
This map templates is to be used in conjunction with {{Location map}} to display a dot on a Ontario map when location is given. It can also be used as part of {{Infobox Settlement}} using the "pushpin_map" parameters.
Parameters
File:Canada Ontario location map 2.svg
Location map Ontario
| Coordinates | |
| Top | 57.1 |
| Bottom | 41.3 |
| Left | -95.5 |
| Right | -74.0 |
Usage
See {{Location map}} for full syntax (e.g. button size, text, caption)
- Using degree-minute-second
{{Location map
|Canada Ontario
|lon_dir = W
|lat_dir = N
|lat_deg =
|lat_min =
|lat_sec =
|lon_deg =
|lon_min =
|lon_sec =
|label =
|position =
|caption =
|width = 180
}}
- Using decimal degrees
{{Location map|Canada Ontario|lat=|long=-|caption=Location of {{subst:PAGENAME}} in [[Ontario]]}}
Location map image
This template uses the image file Canada Ontario location map 2.svg as the background image.