Template:Ordinal/doc: Difference between revisions
Appearance
Content deleted Content added
m +ia |
ro |
||
Line 14: | Line 14: | ||
[[ia:Patrono:Ordinal]] |
[[ia:Patrono:Ordinal]] |
||
[[ro:Format:Ordinal]] |
|||
</includeonly> |
</includeonly> |
Revision as of 07:21, 9 August 2008
![]() | 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|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.