Template:Right ascension/testcases

Various number of non-empty parameters

edit
No parameters
{{Right ascension}}

{{Right ascension}}

{{Right ascension/sandbox}}

One parameter
{{Right ascension|1}}

{{Right ascension}}

1h

{{Right ascension/sandbox}}

1h

Two parameters
{{Right ascension|12|3}}

{{Right ascension}}

12h 3m

{{Right ascension/sandbox}}

12h 3m

Three parameters
{{Right ascension|4|22|5}}

{{Right ascension}}

4h 22m 5s

{{Right ascension/sandbox}}

4h 22m 5s

Four parameters
{{Right ascension|11|18|33|36}}

{{Right ascension}}

11h 18m 33s

{{Right ascension/sandbox}}

11h 18m 33s

Five parameters
{{Right ascension|11|18|33|36|78}}

{{Right ascension}}

11h 18m 33s

{{Right ascension/sandbox}}

11h 18m 33s

Empty parameters in the middle

edit
With empty second parameter
{{Right ascension|06||5|36}}

{{Right ascension}}

06h 5s

{{Right ascension/sandbox}}

06h 5s

With empty second and third parameters
{{Right ascension|11|||36}}

{{Right ascension}}

11h

{{Right ascension/sandbox}}

11h

With surrounding text

edit
With text around (Virgo III Groups)
at a [[right ascension]] of {{Right ascension|13|30}} to {{Right ascension|15|20}}. Lorem ipsum...

{{Right ascension}}

at a right ascension of 13h 30m to 15h 20m . Lorem ipsum...

{{Right ascension/sandbox}}

at a right ascension of 13h 30m to 15h 20m . Lorem ipsum...