Template:Ordinal/doc
This is a documentation subpage for Template:Ordinal. It may contain usage information, categories and other content that is not part of the original template page. |
This template will add the appropriate ordinal suffix to a given positive integer.
{{Ordinal|103}}
, for example, produces 103rd.
For the -d suffixes used in the legal field (e.g. 3d or 22d) set a second parameter to d.
{{Ordinal|103|d}}
, for example, produces 103d.