Template:Ordinal/doc

This template will add the appropriate ordinal indicator to a given number (typically integer).

For an integer ending in 1, 2 or 3 (except for integers ending in 11, 12 or 13), the ordinal suffix will be -st, -nd and -rd, respectively.

If the input is not a number, no ordinal indicator will be added.