Template:Ordinal/Doc

From Starfield Wiki
Jump to: navigation, search

Summary[edit]

Adds the ordinal suffix to a number.

This template was originally copied from Wikipedia.

Parameters[edit]

Ordinal
Parameter Scope Description
1 required The number.
sup optional Supply a value for this parameter if the suffix should be superscripted.
und optional Supply a value for this parameter if the suffix should be both superscripted and underlined.
fixspacing optional Supply a value for this parameter if the line-spacing for the superscript should be forced to standard spacing instead of allowing extra space.

Examples[edit]

{{Ordinal|1}}

1st

Some text<br>Some text{{Ordinal|2|sup=1}}<br>Some text

Some text
Some text 2nd
Some text

Some text<br>Some text{{Ordinal|2|sup=1|fixspacing=1}}<br>Some text

Some text
Some text 2nd
Some text