Template:Ordinal: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
m (Changed protection level of Template:Ordinal: Highly visible template ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
(now using Module:Ordinal)
Line 1: Line 1:
{{#invoke:Ordinal|ordinal}}<noinclude>
{{{1}}}{{{{{|safesubst:}}}#ifeq:{{{sup}}}|yes
|<sup>
}}{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#expr:abs({{{1}}}) mod 100}}
|11|12|13=th
|{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#expr:abs{{{1}}} mod 10}}
|1=st
|2={{{{{|safesubst:}}}#ifeq:{{{2|}}}|d|d|nd}}
|3={{{{{|safesubst:}}}#ifeq:{{{2|}}}|d|d|rd}}
|th
}}
}}{{{{{|safesubst:}}}#ifeq:{{{sup}}}|yes
|</sup>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 15:31, 21 December 2017

Script error: No such module "Ordinal".