This is the template sandbox page for Template:Right ascension (diff). See also the companion subpage for test cases. |
This template is used on approximately 9,300 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 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
editThis 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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hours | 1 | The hours part of the coordinate
| Number | suggested |
Minutes | 2 | The minutes part of the coordinate
| Number | suggested |
Seconds | 3 | The seconds part of the coordinate
| Number | suggested |