The following templates are "subroutines" of {{
Coord}}. Separating them out drastically reduces the pre-expand size of {{
Coord}}. They shouldn't be invoked directly.
name
|
function
|
{{Coord/input/dec}}
|
converts coordinates from input in degrees format {{coord|12|-12}}
|
{{Coord/input/d}}
|
converts coordinates from input in degrees format {{coord|12|N|12|W}}
|
{{Coord/input/dm}}
|
converts coordinates from input in degrees/minutes format {{coord|12|12|N|12|12|W}}
|
{{Coord/input/dms}}
|
converts coordinates from input in degrees/minutes/seconds format {{coord|12|12|12|N|12|12|12|W}}
|
{{Coord/input/ERROR}}
|
generates error message if the inputs do not match any of the above formats
|
{{Coord/input/error2}}
|
generates error message for range checks and such
|
{{Coord/display/inline}}
|
creates output to display coordinates inline
|
{{Coord/display/title}}
|
creates output to display above the article (generally to the right of the article's title)
|
{{Coord/display/inline,title}}
|
creates output to display coordinates inline and above the article
|