Template:DEC: Difference between revisions
Appearance
wikademia>Spacepotato Causes column width bloat when used in infoboxes. Also fails to work with negative declinations. |
wikademia>Rursus not all surfers have prime, better use quotmark and apostrophe |
||
| Line 1: | Line 1: | ||
{{{1}}}°{{#ifeq: {{{2|+}}}|{{{2|-}}}| {{{2|}}}& | {{{1}}}°{{#ifeq: {{{2|+}}}|{{{2|-}}}| {{{2|}}}"|}}{{#ifeq: {{{3|+}}}|{{{3|-}}}| {{{3|}}}'|}}<noinclude> | ||
<nowiki>{{{2}}}</nowiki>′ <nowiki>{{{3}}}</nowiki>″<br><br> | <nowiki>{{{2}}}</nowiki>′ <nowiki>{{{3}}}</nowiki>″<br><br> | ||
| Line 6: | Line 6: | ||
:'''{{DEC|degrees|minutes|seconds}}''' | :'''{{DEC|degrees|minutes|seconds}}''' | ||
Note that the second and third arguments, '''seconds''' & '''minutes''', are optional. | Note that the second and third arguments, '''seconds''' & '''minutes''', are optional. | ||
<nowiki>{{DEC|degrees|minutes}}</nowiki> | <nowiki>{{DEC|degrees|minutes}}</nowiki> | ||
Revision as of 05:34, 5 September 2008
{{{1}}}°
{{{2}}}′ {{{3}}}″
Documentation
{{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°
See also
bg:Шаблон:Делта de:Vorlage:Deklination el:Πρότυπο:DEC fa:الگو:DEC ja:Template:DEC sl:Predloga:DEC vi:Tiêu bản:DEC