![]() | This is a documentation subpage for Template:Declination. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 9,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is used to format the declination of a set of coordinates.
{{{1}}}° {{{2}}}′ {{{3}}}″
Usage
edit{{DEC|degrees|minutes|seconds}}
- degrees° minutes′ seconds″
Note that the second and third arguments, seconds & minutes, are optional.
{{DEC|degrees|minutes}}
- degrees° minutes′
{{DEC|degrees}}
- degrees°
{{DEC|+40|57|20.3280}}
- +40° 57′ 20.3280″
When using in tables, leave a space between the | and the {{DEC}}, or else the table will break if the degrees begin with "+".
See also
edit