Template:Ordinal/doc

Usage


This template will add the appropriate ordinal indicator to a given integer.

Use  to display the ordinal suffix in superscript.

An integer ending in 1 (except for integers ending in 11) will have an ordinal suffix of -st. For an integer ending in 2 or 3 (except for integers ending in 12 or 13), the ordinal suffix will be -nd and -rd, respectively. To display -d for the ordinal suffixes frequently used in the legal field (e.g. 3d or 22d) rather than the default -nd or -rd, set the second parameter to d.



Other

 * This template can be substituted.