Template:Ordinal/doc

From Zoophilia Wiki
Revision as of 13:29, 7 January 2008 by meta>Leolaursen ({{Documentation subpage}})
Jump to navigationJump to search

<noinclude

This template will add the appropriate ordinal suffix to a given positive interger.

{{Ordinal|101}}, for example, produces 101st.

For superscripted suffixes set a second parameter to sup.

{{Ordinal|101|sup}}, 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 101st.