Difference between revisions of "Template:Coord"
Jaspattack (talk | contribs) m |
(-) Cleanup :^) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Coordinates|coord}}</includeonly><noinclude> | <includeonly>{{#invoke:Coordinates|coord}}</includeonly><noinclude> | ||
− | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 03:52, 19 December 2020
![]() | Parts of this documentation were copied from the English Wikipedia article on this module. Note that the documentation could have been edited since copying. |
The Coord template provides a standard notation for encoding locations by their latitude and longitude coordinates.
Parameters
1
- the latitude of the location2
- the longitude of the location
Optional parameters
Reference wikipedia's documentation for additional parameters.
Finding Coordinates
Do you not know how to find coordinates for an object? This should help:
- Understand that for coordinates in North America, longitude should generally be between -130 and -60 and latitude should generally be between 50 and 20
- Use a search engine to find the coordinates. For example, "Boca Raton Community High School coordinates".
- Get the coordinates from a search result.
- Make sure longitude (the bigger number) is negative and latitude (the smaller number) is positive
- Discard anything regarding "N", "E", "S", "W" and make sure your coordinates are simply a decimal number (no ', ", or ° characters)
Examples
Code | Result |
---|---|
{{Location map many | Georgia | label = Columbus State University | coordinates = {{coord|32.502652|-84.942619}} | label2 = Forsyth Central High School | coordinates2 = {{coord|34.21649|-84.14168}} }} |
The above documentation is transcluded from Template:Coord/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |