Template:Ordinal/th: Difference between revisions

From BoyWiki
Keeper (talk | contribs)
New page: <includeonly>{{#ifeq: {{#expr: {{#expr: {{{1}}} mod 100}} round -1}} |10|th |{{#ifeq:{{#expr:{{{1}}} mod 10}}|1|st |{{#ifeq:{{#expr:{{{1}}} mod 10}}|2|nd |{{#ifeq:{{#expr:{{{1}}} mod 10}}|...
 
No edit summary
Line 7: Line 7:
}}
}}
}}
}}
}}</includeonly><noinclude>{{pp-template}}This converts an integer into ''st'', ''nd'', ''rd'' or ''th''.</noinclude>
}}</includeonly><noinclude>{{Category:Protected templates}}This converts an integer into ''st'', ''nd'', ''rd'' or ''th''.</noinclude>

Revision as of 13:08, 16 December 2012

Explore BoyWiki Templates

This converts an integer into st, nd, rd or th.