Difference between revisions of "Template:DEC/doc"

From blackwiki
Jump to navigation Jump to search
imported>이형주
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 "+".)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
  
<nowiki>{{{2}}}</nowiki>&prime;&nbsp;<nowiki>{{{3}}}</nowiki>&Prime;<br><br>
+
<nowiki>{{{1}}}</nowiki>&deg;&nbsp;<nowiki>{{{2}}}</nowiki>&prime;&nbsp;<nowiki>{{{3}}}</nowiki>&Prime;<br><br>
  
 +
==Usage==
 
<nowiki>{{DEC|degrees|minutes|seconds}}</nowiki>
 
<nowiki>{{DEC|degrees|minutes|seconds}}</nowiki>
 
:'''{{DEC|degrees|minutes|seconds}}'''
 
:'''{{DEC|degrees|minutes|seconds}}'''
Line 14: Line 15:
 
:'''{{DEC|degrees}}'''
 
:'''{{DEC|degrees}}'''
  
===See also===
+
When using in tables, leave a space between the | and the {{tl|DEC}}, or else the table will break if the degrees begin with "+".
* [[template:RA]]
+
 
 +
==See also==
 +
* {{tl|RA}}
 +
* {{tl|Deg2HMS}}
 +
* {{tl|Decdeg}}
 
* {{tl|Sky}}
 
* {{tl|Sky}}
 +
* {{tl|Need sky}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Astronomy formatting and function templates|{{PAGENAME}}]]
 
[[Category:Astronomy formatting and function templates|{{PAGENAME}}]]
 
[[Category:Coordinates templates|{{PAGENAME}}]]
 
[[Category:Coordinates templates|{{PAGENAME}}]]
  
[[bg:Шаблон:Делта]]
+
}}</includeonly>
[[bn:টেমপ্লেট:DEC]]
 
[[da:Skabelon:DEC]]
 
[[de:Vorlage:Deklination]]
 
[[el:Πρότυπο:DEC]]
 
[[es:Plantilla:DEC]]
 
[[eo:Ŝablono:DEK]]
 
[[fa:الگو:DEC]]
 
[[gl:Modelo:DEC]]
 
[[hi:साँचा:DEC]]
 
[[ja:Template:DEC]]
 
[[ko:틀:DEC]]
 
[[nn:Mal:Dek]]
 
[[sl:Predloga:DEC]]
 
[[sv:Mall:DEK]]
 
[[vi:Tiêu bản:DEC]]
 
[[zh:模板:DEC]]
 
</includeonly>
 

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