Permanently protected template

Template:Ordinal/th

From BoyWiki
Revision as of 20:58, 26 September 2008 by 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}}|...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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