Difference between revisions of "Template:Ordinal"

From LGPedia
Jump to: navigation, search
m (hehe)
 
Line 13: Line 13:
 
</pre>
 
</pre>
 
where NUM is a positive integer. This template will add the appropriate ordinal suffix to NUM. For example, <nowiki>{{Ordinal|101}}</nowiki> produces 101st.
 
where NUM is a positive integer. This template will add the appropriate ordinal suffix to NUM. For example, <nowiki>{{Ordinal|101}}</nowiki> produces 101st.
[[Category:Templates]]</noinclude>
+
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:26, 24 March 2009

{{{1}}}th

Usage

{{Ordinal|NUM}}

where NUM is a positive integer. This template will add the appropriate ordinal suffix to NUM. For example, {{Ordinal|101}} produces 101st.