Template:Coordinates: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Drew R. Smith
No edit summary
imported>Drew R. Smith
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Corrdinates/{{{11}}}}}
<includeonly>{{#if:{{{link|}}}|[[Coordinates]]:}}[http://maps.google.com/maps?ll={{DMS to DD|{{#switch:{{{4}}}|W|S= -
}}{{{1}}}|{{{2}}}|{{{3}}}}},{{#switch:{{lc:{{{8}}}}}|w|s= -
}}{{DMS to DD|{{{5}}}|{{{6}}}|{{{7}}}}}&spn=0.3,0.3&t=h&q={{#switch:{{lc:{{{4}}}}}|w|s= -
}}{{DMS to DD|{{{1}}}|{{{2}}}|{{{3}}}}},{{#switch:{{lc:{{{8}}}}}|w|s= -
}}{{DMS to DD|{{{5}}}|{{{6}}}|{{{7}}}}} {{{1}}}°{{{2}}}'{{{3}}}"{{{4}}} {{{5}}}°{{{6}}}'{{{7}}}"{{{8}}}]</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 15:56, 20 August 2009

This documentation is transcluded from Template:Coordinates/doc (edit | history)

This template is used to display, and link to a map of, coordinates associated with the subject of an article.

Example

{{coordinates|19|49|14.39|N|155|28|05.04|W}}

produces 19°49'14.39"N 155°28'05.04"W

{{coordinates|19|49|14.39|N|155|28|05.04|W|link=yes}}

Produces Coordinates:19°49'14.39"N 155°28'05.04"W

Parameters

Parameter one is degrees lattitude. Parameter two is minutes. Parameter three is seconds. A decimal is optional. Parameter four is North/South, only accepts N,n,S, or s. Parameter five is degrees longitude. Parameter six is minutes. Parameter seven is seconds. A decimal is optional. Parameter eight is East/West, only accepts E,e,W, or w.