[go: nahoru, domu]

Jump to content

Template:Ordinal to word: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Use error template
safesubst
 
(10 intermediate revisions by 7 users not shown)
Line 1: 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|{{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|us={{{us|}}}|{{#expr: -({{{1}}})}}}}<!--
| sp={{#ifeq:{{{us}}}|on|us|}}
-->|{{Ordinal to word/0 to 999999|{{{1}}}|us={{{us|}}}|zeroth{{#ifeq:{{{zeroth|}}}|{{{zeroth|-}}}||x}}={{{zeroth|}}}}}<!--
| zero={{{zeroth|{{{zero|}}}}}}
-->}}<!-- end if < 0
}}</includeonly><noinclude>
-->}}<!--end if < -999999 or > 999999
--></includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKI LINKS TO THE DOC PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKI LINKS TO THE DOC PAGE -->

Latest revision as of 20:15, 30 December 2023