Template:Coord/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing m again |
meta>Pigsonthewing →Examples: more examples |
||
Line 11: | Line 11: | ||
== Examples == | == Examples == | ||
<table class="prettytable"> | <table class="prettytable"> | ||
<tr><td><nowiki>{{coor/new|43.651234|-79.383333}}</nowiki></td><td>{{coor/new|43.651234|-79.383333}}</td><td>(Toronto)</td></tr> | <tr><td><nowiki>{{coor/new|43.651234|-79.383333}}</nowiki></td><td>{{coor/new|43.651234|-79.383333}}</td><td>(Toronto - Fully decimal)</td></tr> | ||
<tr><td><nowiki>{{coor/new|43.651234|N|79.383333|W}}</nowiki></td><td>{{coor/new|43.651234|-79.383333}}</td><td>(Toronto - decimal with Westing)</td></tr> | |||
<tr><td><nowiki>{{coor/new|43|29||N|79|23|W}}</nowiki></td><td>{{coor/new|43.651234|-79.383333}}</td><td>(Toronto - degrees & minutes)</td></tr> | |||
<tr><td><nowiki>{{coor/new|43|29|4|N|79|23|0|W}}</nowiki></td><td>{{coor/new|43.651234|-79.383333}}</td><td>(Toronto - degrees, minutes & seconds)</td></tr> | |||
<tr><td><nowiki>{{coor/new|55.752222|N|37.615556|E}}</nowiki></td><td>{{coor/new|55.752222|N|37.615556|E}}</td><td>(Moscow)</td></tr> | <tr><td><nowiki>{{coor/new|55.752222|N|37.615556|E}}</nowiki></td><td>{{coor/new|55.752222|N|37.615556|E}}</td><td>(Moscow)</td></tr> | ||
<tr><td><nowiki>{{coor/new|33|55|S|18|25|E}}</nowiki></td><td>{{coor/new|33|55|S|18|25|E}}</td><td>(Capetown)</td></tr> | <tr><td><nowiki>{{coor/new|33|55|S|18|25|E}}</nowiki></td><td>{{coor/new|33|55|S|18|25|E}}</td><td>(Capetown)</td></tr> | ||
<tr><td><nowiki>{{coor/new|22|54|30|S|43|14|37|W}}</nowiki></td><td>{{coor/new|22|54|30|S|43|14|37|W}}</td><td>(Rio)</td></tr> | <tr><td><nowiki>{{coor/new|22|54|30|S|43|14|37|W}}</nowiki></td><td>{{coor/new|22|54|30|S|43|14|37|W}}</td><td>(Rio)</td></tr> | ||
</table> | </table> |
Revision as of 22:37, 26 March 2007
{{coor/new}}, is a general-purpose geographical coordinate template intended to replace {{coor}}, {{coor d}}, {{coor dm}}, {{coor dms}}, allowing decimal and degree/minutes/seconds parameters of arbitrary precision.
It links to Template:Coor URL, then displays the WGS84 coordinate (latitude;longitude) in appropriate, human-readable degree/minutes/seconds precision, and outputs the computer-readable Geo microformat.
Usage
{{coor/new|latitude|longitude}} {{coor/new|dd|N/S|dd|E/W}} {{coor/new|dd|mm|N/S|dd|mm|E/W}} {{coor/new|dd|mm|ss|N/S|dd|mm|ss|E/W}}
Examples
{{coor/new|43.651234|-79.383333}} | Template:Coor/new | (Toronto - Fully decimal) |
{{coor/new|43.651234|N|79.383333|W}} | Template:Coor/new | (Toronto - decimal with Westing) |
{{coor/new|43|29||N|79|23|W}} | Template:Coor/new | (Toronto - degrees & minutes) |
{{coor/new|43|29|4|N|79|23|0|W}} | Template:Coor/new | (Toronto - degrees, minutes & seconds) |
{{coor/new|55.752222|N|37.615556|E}} | Template:Coor/new | (Moscow) |
{{coor/new|33|55|S|18|25|E}} | Template:Coor/new | (Capetown) |
{{coor/new|22|54|30|S|43|14|37|W}} | Template:Coor/new | (Rio) |