Template:Ordinal/doc

From MidsouthMakers - Memphis Area Hackerpace
Revision as of 17:53, 18 January 2010 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.