Template:Coord/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Quarl «-"degree/minutes/seconds", +"degree/minutes/seconds"» |
meta>Pigsonthewing →Examples: more diverse places, so people can see that the different links/ geo uFs work |
||
Line 11: | Line 11: | ||
== Examples == | == Examples == | ||
<table class="prettytable"> | <table class="prettytable"> | ||
<tr><td>{{tl|coor/new| | <tr><td>{{tl|coor/new|43.651234|-79.383333}}</td><td>{{coor/new|43.651234|-79.383333}}</td><td></td>(Toronto)</tr> | ||
<tr><td>{{tl|coor/new| | <tr><td>{{tl|coor/new|55.752222|N|37.615556|E}}</td><td>{{coor/new|55.752222|N|37.615556|E}}</td><td>(Moscow)</td></tr> | ||
<tr><td>{{tl|coor/new| | <tr><td>{{tl|coor/new|22|54|30|S|43|14|37|W}}</td><td>{{coor/new|22|54|30|S|43|14|37|W}}</td><td></td>(Rio)</tr> | ||
<tr><td>{{tl|coor/new| | <tr><td>{{tl|coor/new|33|55|S|18|25|E}}</td><td>{{coor/new|33|55|S|18|25|E}}</td><td>(Capetown)</td></tr> | ||
</table> | </table> |
Revision as of 10:11, 22 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, displays the coordinate in appropriate WGS84 degree/minutes/seconds precision, and also uses 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
(Toronto)(Rio){{coor/new}} | Template:Coor/new | |
{{coor/new}} | Template:Coor/new | (Moscow) |
{{coor/new}} | Template:Coor/new | |
{{coor/new}} | Template:Coor/new | (Capetown) |