Template:Ordinal/doc: Difference between revisions
Template page
More actions
mNo edit summary |
{{Lang links|Template:Ordinal}} |
||
| Line 6: | Line 6: | ||
:''<code><nowiki>{{Ordinal|101|d}}</nowiki></code>'', for example, produces ''{{Ordinal|101|d}}''. | :''<code><nowiki>{{Ordinal|101|d}}</nowiki></code>'', for example, produces ''{{Ordinal|101|d}}''. | ||
---- | |||
{{Lang links|Template:Ordinal}} | |||
<includeonly> | <includeonly> | ||
Revision as of 18:32, 27 October 2010
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 101st.