Pokémon GO Wiki
Pokémon GO Wiki


F3f3f3-686868 candy.png Template documentation follows F3f3f3-686868 candy.png
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Ordinal/doc to edit this documentation. (How does this work?)



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

To display the ordinal suffix in superscript, use {{Nth|integer|sup=no}}.

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. To display -d for the ordinal suffix rather than -nd and -rd, use {{ordinal|positive integer|d}}.


Code Result
{{ordinal|101}} 101st
{{ordinal|-102}} -102nd
{{ordinal|102|sup=yes}} 102nd
{{ordinal|103}} 103rd
{{ordinal|103|d}} 103d