FANDOM


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

Revision as of 15:07, May 15, 2012

(No variable defined for 'Template:Ordinal')

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