Template:Coord/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing
meta>Pigsonthewing
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 - Fully decimal)</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 N & W )</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 Northing & Westing)</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 Northing & 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||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|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 - N & E)</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 - S & E)</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 S & W)</td></tr>
</table>
</table>

Revision as of 22:39, 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 N & W )
{{coor/new|43.651234|N|79.383333|W}}Template:Coor/new(Toronto - decimal with Northing & 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 - N & E)
{{coor/new|33|55|S|18|25|E}}Template:Coor/new(Capetown - S & E)
{{coor/new|22|54|30|S|43|14|37|W}}Template:Coor/new(Rio S & W)