Template:Ordinal/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Tlustulimu m interwiki |
meta>Amalthea Uses safesubst: (meta:Help:Safesubst) |
||
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}}''. | ||
This template can be substituted. | |||
<includeonly> | <includeonly> | ||
[[Category:Mathematical function templates|{{PAGENAME}}]] | [[Category:Mathematical function templates|{{PAGENAME}}]] |
Revision as of 13:55, 29 April 2010
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 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.
This template can be substituted.