FANDOM


 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{#if:{{{1|}}}
 
{{#if:{{{1|}}}
|{{#iferror:{{#expr: {{{1|}}} }}
+
|{{#iferror:{{#expr:{{{1|}}}}}
 
|<span style="color:#f00;">(Invalid variable defined for 'Template:Ordinal')</span>
 
|<span style="color:#f00;">(Invalid variable defined for 'Template:Ordinal')</span>
|{{#ifexpr:{{{1|}}}-{{#expr:{{{1|}}} round0}}=0 and {{{1|}}}>0
+
|{{#ifexpr:{{{1|}}} - {{#expr:{{{1|}}} round0}} = 0 and {{{1|}}} > 0
|{{{1|}}}{{#switch:{{#expr:{{{1|}}} mod 100 }}
+
|{{{1|}}}{{#switch:{{#expr:{{{1|}}} mod 100}}
 
|11|12|13 = th
 
|11|12|13 = th
|{{#switch:{{#expr:{{{1|}}} mod 10 }}
+
|{{#switch:{{#expr:{{{1|}}} mod 10}}
|1 = st
+
|1 = st
|2 = nd
+
|2 = nd
|3 = rd
+
|3 = rd
|th
+
|#default = th
}}
+
}}
}}
+
}}
 
|<span style="color:#f00;">(Invalid variable defined for 'Template:Ordinal')</span>
 
|<span style="color:#f00;">(Invalid variable defined for 'Template:Ordinal')</span>
}}
+
}}
}}
+
}}
 
|<span style="color:#f00;">(No variable defined for 'Template:Ordinal')</span>
 
|<span style="color:#f00;">(No variable defined for 'Template:Ordinal')</span>
 
}}
 
}}

Latest revision as of 15:12, May 15, 2012

(No variable defined for 'Template:Ordinal')

Community content is available under CC-BY-SA unless otherwise noted.