Template:Ordinal/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>MZMcBride /doc |
meta>Jimp the template can now do this |
||
Line 1: | Line 1: | ||
This template will generate an appropriate ordinal suffix for a given number. | |||
For superscripted suffixes set a second parameter to ''sup''. | |||
:''<code><nowiki>{{Ordinal|101|sup}}</nowiki></code>'', for example, produces ''{{Ordinal|101|sup}}''. | |||
For the ''-d'' suffixes used in the legal field (e.g. ''3d'' or ''22d'') set a second parameter to ''d''. | |||
:''<code><nowiki>{{Ordinal|101|d}}</nowiki></code>'', for example, produces ''{{Ordinal|101|d}}''. | |||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
[[Category:Mathematical function templates|{{PAGENAME}}]] | [[Category:Mathematical function templates|{{PAGENAME}}]] |
Revision as of 03:18, 5 July 2007
This template will generate an appropriate ordinal suffix for a given number.
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.