Template:Ordinal/th: Difference between revisions
From BoyWiki
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}}|... |
m Protected "Template:Ordinal/th" [edit=sysop:move=sysop] |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
}} | }} | ||
}} | }} | ||
}}</includeonly><noinclude>{{ | }}</includeonly><noinclude>{{Category:Protected templates}}This converts an integer into ''st'', ''nd'', ''rd'' or ''th''.</noinclude> |
Latest revision as of 15:00, 5 February 2013
Explore BoyWiki Templates | |
This converts an integer into st, nd, rd or th. |