Template:RA/testcases

From Wikipedia, the free encyclopedia


Various number of non-empty parameters[edit]

No parameters
{{RA}}

{{RA}}

{{RA/sandbox}}

One parameter
{{RA|1}}

{{RA}}

1h

{{RA/sandbox}}

1h

Two parameters
{{RA|12|3}}

{{RA}}

12h 3m

{{RA/sandbox}}

12h 3m

Three parameters
{{RA|4|22|5}}

{{RA}}

4h 22m 5s

{{RA/sandbox}}

4h 22m 5s

Four parameters
{{RA|11|18|33|36}}

{{RA}}

11h 18m 33s

{{RA/sandbox}}

11h 18m 33s

Five parameters
{{RA|11|18|33|36|78}}

{{RA}}

11h 18m 33s

{{RA/sandbox}}

11h 18m 33s

Empty parameters in the middle[edit]

With empty second parameter
{{RA|06||5|36}}

{{RA}}

06h 5s

{{RA/sandbox}}

06h 5s

With empty second and third parameters
{{RA|11|||36}}

{{RA}}

11h

{{RA/sandbox}}

11h

With surrounding text[edit]

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

{{RA}}

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

{{RA/sandbox}}

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