Misplaced Pages

Template:Coor title dms: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 06:55, 20 March 2006 editSaxifrage (talk | contribs)Administrators9,806 edits Usage: fix instructions← Previous edit Revision as of 07:15, 20 March 2006 edit undoSaxifrage (talk | contribs)Administrators9,806 editsNo edit summaryNext edit →
Line 1: Line 1:
<span class="coordinates-head" style="position:absolute; z-index:1; border:none; background:none; right:30px; top:0.3em; float:right; margin:0.0em; padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:nowrap;"><br />'''] ]:''' </span><noinclude> <span class="coordinates-head" style="position:absolute; z-index:1; border:none; background:none; right:30px; top:0.3em; float:right; margin:0.0em; padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:nowrap;"><br />'''] ]:''' </span><noinclude>


This template places the coordinates in the upper-right of the article, above the horizontal rule running under the article's title. This template places the coordinates in the upper-right of the article, above the horizontal rule running under the article's title.
Line 9: Line 9:


<pre> <pre>
{{Template:CoorHeader {{Template:CoorHeader|deg|min|sec|NS|deg|min|sec|EW|type:}}
| LatD =
| LatM =
| LatS =
| LatNS =
| LongD =
| LongM =
| LongS =
| LongEW =
}}
</pre> </pre>


Replace the first occurrences of ''deg'', ''min'', and ''sec'' with the degree, minute, and second of the North-South component of the coordinates, and the second occurrences with the same for the East-West component. ''NS'' and ''EW'' should each be replaced with one or the other of ''N'' or ''S'', and ''E'' or ''W''. The ''type:'' can be any type that is recognised by the map server, i.e., ''type:landmark'' for a high-zoom scale.


] ]

Revision as of 07:15, 20 March 2006


GPS Coordinates: {{{1}}}° {{{2}}}′ {{{3}}}″ {{{4}}}, {{{5}}}° {{{6}}}′ {{{7}}}″{{{8}}}

This template places the coordinates in the upper-right of the article, above the horizontal rule running under the article's title.

Usage

The template should be placed at the bottom of the article before the Categories and interwiki language links, so that other editors will always know where to find it.

Copy this blank version to use:

{{Template:CoorHeader|deg|min|sec|NS|deg|min|sec|EW|type:}}

Replace the first occurrences of deg, min, and sec with the degree, minute, and second of the North-South component of the coordinates, and the second occurrences with the same for the East-West component. NS and EW should each be replaced with one or the other of N or S, and E or W. The type: can be any type that is recognised by the map server, i.e., type:landmark for a high-zoom scale.

Category: