Template:ordinal

TemplateDocumentation.svg Template documentation [view] [edit] [purge]

Used to generate the appropriate ordinal suffix for a number.

|1=
The number that is being made ordinal
|sup=
Set to true with |sup=1 in order to use superscript ordinal suffix

For example:

{{ordinal|1025|sup=1}}

Generates

1025th