Jump to content

Template:Right ascension/doc

From Wikipedia, the free encyclopedia

This template is used to format the right ascension of a given coordinate.

{{{1}}}h{{{2}}}m{{{3}}}s

Usage

[edit]

{{RA|hours|minutes|seconds}}

hoursh minutesm secondss

Note that all three arguments are optional.

{{RA|hours|minutes}}

hoursh minutesm

{{RA|hours}}

hoursh

{{RA||minutes|seconds}}

minutesm secondss

{{RA|01|46|37.3761}}

01h 46m 37.3761s

This template may be combined with {{val}} and {{+-}} for uncertainties in time measurements:

{{RA|hours|minutes|seconds}} {{+-|{{RA||minutes|seconds}}|{{RA||minutes|seconds}}}}

hoursh minutesm secondss + minutesm secondss
minutesm secondss

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Right ascension in articles based on its TemplateData.

TemplateData for Right ascension

Formats an astronomical rotation period, or a coordinate

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Hours1

The hours part of the coordinate

Example
10
Numbersuggested
Minutes2

The minutes part of the coordinate

Example
20
Numbersuggested
Seconds3

The seconds part of the coordinate

Example
30
Numbersuggested


See also

[edit]