Difference between revisions of "User:Masdus/Ordinal to Word"

From BattleMaster Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly><!--  
 
<includeonly><!--  
-->{{#ifexpr:({{{1}}} < -999999) or ({{{1}}} > 999999) or (trunc {{{1}}} <> {{{1}}})<!--
 
  -->|{{error|{{tlx|Ordinal to word}}: value "{{{1}}}" is not an integer in the range -999,999 to 999,999}}<!--
 
 
   -->|{{#ifexpr:{{{1}}} < 0<!--
 
   -->|{{#ifexpr:{{{1}}} < 0<!--
 
       -->|minus {{User:Masdus/Ordinal_to_Word/0 to 999999|us={{{us|}}}|{{#expr: -({{{1}}})}}}}<!--
 
       -->|minus {{User:Masdus/Ordinal_to_Word/0 to 999999|us={{{us|}}}|{{#expr: -({{{1}}})}}}}<!--
       -->|{{User:Masdus/Ordinal_to_word/0 to 999999|{{{1}}}|us={{{us|}}}|zeroth{{#ifeq:{{{zeroth|}}}|{{{zeroth|-}}}||x}}={{{zeroth|}}}}}<!--
+
       -->|{{User:Masdus/Ordinal_to_Word/0 to 999999|{{{1}}}|us={{{us|}}}|zeroth{{#ifeq:{{{zeroth|}}}|{{{zeroth|-}}}||x}}={{{zeroth|}}}}}<!--
 
     -->}}<!-- end if < 0
 
     -->}}<!-- end if < 0
 
-->}}<!--end if < -999999 or > 999999
 
-->}}<!--end if < -999999 or > 999999
 
--></includeonly>
 
--></includeonly>

Revision as of 03:43, 13 April 2011