Difference between revisions of "Template:DEC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Beland
(→‎See also: merge from talk page)
imported>Beland
(When using in tables, leave a space between the | and the {{tl|DEC}}, or else the table will break if the degrees begin with "+".)
 
Line 14: Line 14:
 
<nowiki>{{DEC|degrees}}</nowiki>
 
<nowiki>{{DEC|degrees}}</nowiki>
 
:'''{{DEC|degrees}}'''
 
:'''{{DEC|degrees}}'''
 +
 +
When using in tables, leave a space between the | and the {{tl|DEC}}, or else the table will break if the degrees begin with "+".
  
 
==See also==
 
==See also==

Latest revision as of 22:14, 10 June 2020

{{{1}}}° {{{2}}}′ {{{3}}}″

Usage

{{DEC|degrees|minutes|seconds}}

Template:Str rep° minutes′ seconds″

Note that the second and third arguments, seconds & minutes, are optional.

{{DEC|degrees|minutes}}

Template:Str rep° minutes′

{{DEC|degrees}}

Template:Str rep°

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