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:34, 31 March 2006 editSaxifrage (talk | contribs)Administrators9,806 edits Other templates in this family← Previous edit Revision as of 06:35, 31 March 2006 edit undoSaxifrage (talk | contribs)Administrators9,806 editsm correct exampleNext edit →
Line 13: Line 13:


<pre> <pre>
{{CoorHeader|deg|min|sec|NS|deg|min|sec|EW|optional}} {{coor title dms|deg|min|sec|NS|deg|min|sec|EW|optional}}
</pre> </pre>



Revision as of 06:35, 31 March 2006

Coordinates: Coordinates: Unable to parse latitude as a number:{{{1}}}
Invalid arguments have been passed to the {{#coordinates:}} function


Template:Proposed template

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

Note that this family of templates is broken when viewed in any skin other than Monobook. See Template talk:Coor title dms.

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. Furthermore, future implementations may treat it differently in different site themes, and placing it in a standard location will make this easier.

Copy this blank version to use:

{{coor title dms|deg|min|sec|NS|deg|min|sec|EW|optional}}

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 optional can be any type:, region:, or scale: parameters that are recognised by the map server (such as the popular type:city and type:landmark options. See Misplaced Pages:WikiProject Geographical coordinates#Parameters for a comprehensive list).

Other templates in this family

Category: