Template:Ordinal
This template will add the appropriate ordinal suffix to a given positive integer.
{{Ordinal|101}}
, for example, produces 101st.
For the -d suffixes used in the legal field (e.g. 3d or 22d) set a second parameter to d.
{{Ordinal|101|d}}
, for example, produces 101d.
The above documentation is transcluded from Template:Ordinal/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |