Template:Ordinal to word: Difference between revisions

Content deleted Content added
Cribbed from Cardinal to word
 
safesubst
 
(13 intermediate revisions by 8 users not shown)
Line 1:
<includeonly>{{safesubst:<noinclude />#invoke:ConvertNumeric|numeral_to_english
<includeonly><!--
| {{{1|}}}
-->{{#ifexpr:({{{1}}} < -999999) or ({{{1}}} > 999999) or (trunc {{{1}}} <> {{{1}}})<!--
| adj={{{adj|}}}
-->|(Error in {{tlx|Ordinal to word}}: value "{{{1}}}" is not an integer in the range -999,999 to 999,999)<!--
| case={{{case|}}}
-->|{{#ifexpr:{{{1}}} < 0<!--
| ord=on
-->|minus {{Ordinal to word/0 to 999999|{{#expr: -({{{1}}})}}}}<!--
| sp={{#ifeq:{{{us}}}|on|us|}}
-->|{{Ordinal to word/0 to 999999|{{{1}}}|zeroth{{#ifeq:{{{zeroth|}}}|{{{zeroth|-}}}||x}}={{{zero|}}}}}<!--
| zero={{{zeroth|{{{zero|}}}}}}
-->}}<!-- end if < 0
}}</includeonly><!-- noinclude>
-->}}<!--end if < -999999 or > 999999
--></includeonly><noinclude>
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKI LINKS TO THE DOC PAGE -->