Template:Coord/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Quarl m moved Template:Coor/new/doc to Template:Coord/doc |
meta>Quarl rename coor/new => coord |
||
Line 1: | Line 1: | ||
{{tl| | {{tl|coord}}, is a general-purpose geographical coordinate template intended to replace {{tl|coor}}, {{tl|coor d}}, {{tl|coor dm}}, {{tl|coor dms}}, allowing decimal and degree/minutes/seconds parameters of arbitrary precision. | ||
It links to {{Coor URL}}, then displays the [[WGS84]] coordinate ([[latitude]];[[longitude]]) in appropriate, human-readable degree/minutes/seconds precision, and outputs the computer-readable [[Geo (microformat)|Geo microformat]]. | It links to {{Coor URL}}, then displays the [[WGS84]] coordinate ([[latitude]];[[longitude]]) in appropriate, human-readable degree/minutes/seconds precision, and outputs the computer-readable [[Geo (microformat)|Geo microformat]]. | ||
== Usage == | == Usage == | ||
{{ | {{coord|''latitude''|''longitude''}} | ||
{{ | {{coord|''dd''|''N/S''|''dd''|''E/W''}} | ||
{{ | {{coord|''dd''|''mm''|''N/S''|''dd''|''mm''|''E/W''}} | ||
{{ | {{coord|''dd''|''mm''|''ss''|''N/S''|''dd''|''mm''|''ss''|''E/W''}} | ||
== Examples == | == Examples == | ||
<table class="prettytable"> | <table class="prettytable"> | ||
<tr><td><nowiki>{{ | <tr><td><nowiki>{{coord|43.651234|-79.383333}}</nowiki></td><td>{{coord|43.651234|-79.383333}}</td><td>(Toronto - Fully decimal - N & W )</td></tr> | ||
<tr><td><nowiki>{{ | <tr><td><nowiki>{{coord|43.651234|N|79.383333|W}}</nowiki></td><td>{{coord|43.651234|-79.383333}}</td><td>(Toronto - decimal with Northing & Westing)</td></tr> | ||
<tr><td><nowiki>{{ | <tr><td><nowiki>{{coord|43|29||N|79|23|W}}</nowiki></td><td>{{coord|43.651234|-79.383333}}</td><td>(Toronto - degrees & minutes)</td></tr> | ||
<tr><td><nowiki>{{ | <tr><td><nowiki>{{coord|43|29|4|N|79|23|0|W}}</nowiki></td><td>{{coord|43.651234|-79.383333}}</td><td>(Toronto - degrees, minutes & seconds)</td></tr> | ||
<tr><td><nowiki>{{ | <tr><td><nowiki>{{coord|55.752222|N|37.615556|E}}</nowiki></td><td>{{coord|55.752222|N|37.615556|E}}</td><td>(Moscow - N & E)</td></tr> | ||
<tr><td><nowiki>{{ | <tr><td><nowiki>{{coord|33|55|S|18|25|E}}</nowiki></td><td>{{coord|33|55|S|18|25|E}}</td><td>(Capetown - S & E)</td></tr> | ||
<tr><td><nowiki>{{ | <tr><td><nowiki>{{coord|22|54|30|S|43|14|37|W}}</nowiki></td><td>{{coord|22|54|30|S|43|14|37|W}}</td><td>(Rio - S & W)</td></tr> | ||
</table> | </table> |
Revision as of 11:23, 2 April 2007
{{coord}}, 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
{{coord|latitude|longitude}} {{coord|dd|N/S|dd|E/W}} {{coord|dd|mm|N/S|dd|mm|E/W}} {{coord|dd|mm|ss|N/S|dd|mm|ss|E/W}}
Examples
{{coord|43.651234|-79.383333}} | Lua error: callParserFunction: function "#coordinates" was not found. | (Toronto - Fully decimal - N & W ) |
{{coord|43.651234|N|79.383333|W}} | Lua error: callParserFunction: function "#coordinates" was not found. | (Toronto - decimal with Northing & Westing) |
{{coord|43|29||N|79|23|W}} | Lua error: callParserFunction: function "#coordinates" was not found. | (Toronto - degrees & minutes) |
{{coord|43|29|4|N|79|23|0|W}} | Lua error: callParserFunction: function "#coordinates" was not found. | (Toronto - degrees, minutes & seconds) |
{{coord|55.752222|N|37.615556|E}} | Lua error: callParserFunction: function "#coordinates" was not found. | (Moscow - N & E) |
{{coord|33|55|S|18|25|E}} | Lua error: callParserFunction: function "#coordinates" was not found. | (Capetown - S & E) |
{{coord|22|54|30|S|43|14|37|W}} | Lua error: callParserFunction: function "#coordinates" was not found. | (Rio - S & W) |