Template:Coord/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing m →Examples: fix |
meta>Pigsonthewing →Examples: expose mark-up with "<nowiki>" |
||
Line 11: | Line 11: | ||
== Examples == | == Examples == | ||
<table class="prettytable"> | <table class="prettytable"> | ||
<tr><td>{{ | <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>{{ | <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>{{ | <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>{{ | <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> | ||
</table> | </table> |
Revision as of 10:15, 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
{{coor/new|43.651234|-79.383333}} | Template:Coor/new | (Toronto) |
{{coor/new|55.752222|N|37.615556|E}} | Template:Coor/new | (Moscow) |
{{coor/new|22|54|30|S|43|14|37|W}} | Template:Coor/new | (Rio) |
{{coor/new|33|55|S|18|25|E}} | Template:Coor/new | (Capetown) |