Difference between revisions of "Template:OrdNum"

From Buddha-Nature
((by SublimeText.Mediawiker))
 
((by SublimeText.Mediawiker))
 
Line 1: Line 1:
{{{1}}}<sup>{{#switch:{{#sub:{{{1}}}|-1}}
+
{{{1}}}<sup>{{#switch:{{#sub:{{{1}}}|-2}}
|1=st
+
|11=th
|2=nd
+
|12=th
|3=rd
+
|13=th
|#default=th
+
|{{#switch:{{#sub:{{{1}}}|-1}}
 +
|1=st
 +
|2=nd
 +
|3=rd
 +
|#default=th
 +
}}
 
}}</sup>
 
}}</sup>

Latest revision as of 11:30, 13 June 2018

{{{1}}}th