Template:Infobox number/doc

From Holocaustmap

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | Template:Mbox
        }}{{#if: |
         |   {{#ifexist:Template:Infobox number
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#switch:

|editnotice = Template:Editnotice

|#default =

}}{{#ifeq: Infobox number/doc | Infobox number | {{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = | other | #default = }} }}

{{#ifeq:doc|Infobox number|[[Category:Templates that generate short descriptions{{#if:|Template:Spfor {{{category}}}|}}]]|}}

{{Infobox number}} creates an infobox for integer article pages.

Typical usage

<syntaxhighlight lang="wikitext" style="overflow:auto">

{{#ifeq:natural number|none||

}}{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:template|exclude||{{#ifeq:{{#switch: 10 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||}}}}}}{{#ifexpr: 14>100 |}}{{#if:Natural number||}}{{#ifeq:0|1

|{{#switch: Template:First word |c. |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent= |#default={{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = [[Category:Pages with lower-case short description|Template:Trim]] | other | #default = }}Template:Testcases other}} | }}{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = Template:SDcat | other | #default =

}}

{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} > 10^6
 | {{#if:
 | {{{number}}}
 | Infobox number/doc
 }}
|
{{#if:
 | {{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }} < 0
      |−{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }})}}
      |{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }} < 0|−{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }})}}|{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }}}} (number)
      | [[{{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }} < 0|−{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }})}}|{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }}}} (number)|← {{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }})}} ]]
      | ← {{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} - 1 }})}} 
   }}
}}
{{#if:yes
 | {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 0
      |−{{#expr:abs({{#if:
 | {{{number}}}
 | Infobox number/doc
 }})}}
      |{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 0|−{{#expr:abs({{#if:
 | {{{number}}}
 | Infobox number/doc
 }})}}|{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}}} (number)
      | [[{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 0|−{{#expr:abs({{#if:
 | {{{number}}}
 | Infobox number/doc
 }})}}|{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}}} (number)| {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 0|−}}{{#expr:abs({{#if:
 | {{{number}}}
 | Infobox number/doc
 }})}} ]]
      |  {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 0|−}}{{#expr:abs({{#if:
 | {{{number}}}
 | Infobox number/doc
 }})}} 
   }}
}}
{{#if:
 | {{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }} < 0
      |−{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }})}}
      |{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }} < 0|−{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }})}}|{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }}}} (number)
      | [[{{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }} < 0|−{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }})}}|{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }}}} (number)| {{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }})}} →]]
      |  {{#ifexpr:{{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} + 1 }})}} →
   }}
}}
}}
{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 300 | [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(−1*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:−1|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(−1*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(0*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:0|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(0*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(1*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:1|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(1*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(2*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:2|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(2*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(3*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:3|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(3*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(4*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:4|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(4*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(5*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:5|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(5*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(6*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:6|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(6*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(7*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:7|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(7*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(8*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:8|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(8*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(9*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:9|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(9*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(10*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:10|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 270|10|100}}+(10*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
}} < 270|10|100}} div 10)}}}}]]}}
{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} >= -1
 | {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 100
    |  0 10 20 30 40 50 60 70 80 90 
  | {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 1000
    |   0 100 200 300 400 500 600 700 800 900 
    | {{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} < 100000
       |   0 [[|{{#ifeq:1|10|→|{{#expr:1*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:2|10|→|{{#expr:2*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:3|10|→|{{#expr:3*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:4|10|→|{{#expr:4*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:5|10|→|{{#expr:5*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:6|10|→|{{#expr:6*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:7|10|→|{{#expr:7*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:8|10|→|{{#expr:8*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:9|10|→|{{#expr:9*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:10|10|→|{{#expr:10*{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]]
      | 100 101 102 103 104 105 106 107 108 109
       }}
    }}
 }}
}}
Cardinal{{#if: | | Lua error in Module:ConvertNumeric at line 638: attempt to index field 'ext' (a nil value). }}
Ordinal{{#if: | | {{#if:
 | {{{number}}}
 | Infobox number/doc
}}th
({{#if:||Lua error in Module:ConvertNumeric at line 638: attempt to index field 'ext' (a nil value). }})}}
Factorization{{#if:||{{#ifexpr:{{#if:
 | {{{number}}}
 | Infobox number/doc
 }} > 1 and {{#if:
 | {{{number}}}
 | Infobox number/doc
}} < 1000000000| Error: input not recognized as a number }} }}
Greek numeral{{#if:|{{{greek}}}| {{#ifexpr: {{#if:
 | {{{number}}}
 | Infobox number/doc
}} >= 1 | Lua error in Module:Greek_numeral at line 140: attempt to compare number with nil. }} }}
Roman numeral{{#if:|| {{#ifexpr: {{#if:
 | {{{number}}}
 | Infobox number/doc
}} >= 1 | Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). }} }}
Binary{{#ifexpr: ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} >= 0) and ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:
 | {{{number}}}
 | Infobox number/doc
}}2}}
Ternary{{#ifexpr: ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} >= 0) and ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:
 | {{{number}}}
 | Infobox number/doc
}}3}}
Senary{{#ifexpr: ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} >= 0) and ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:
 | {{{number}}}
 | Infobox number/doc
}}6}}
Octal{{#ifexpr: ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} >= 0) and ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:
 | {{{number}}}
 | Infobox number/doc
}}8}}
Duodecimal{{#ifexpr: ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} >= 0) and ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:
 | {{{number}}}
 | Infobox number/doc
}}12}}
Hexadecimal{{#ifexpr: ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} >= 0) and ({{#if:
 | {{{number}}}
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:
 | {{{number}}}
 | Infobox number/doc
}}16}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox number/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}{{#if:|}} </syntaxhighlight>

Additional parameters

<syntaxhighlight lang="wikitext" style="overflow:auto"> | number = | cardinal = | ordinal text = | multinal text = | multiplying text = | numeral = | factorization = | prime = | divisor = | roman = </syntaxhighlight>

Number in different languages

<syntaxhighlight lang="wikitext" style="overflow:auto"> | lang1 = | lang1 symbol = | lang2 = | lang2 symbol = | lang3 = | lang3 symbol = | lang4 = | lang4 symbol = ... | lang12 = | lang12 symbol = </syntaxhighlight>

Example

{{#ifeq:natural number|none||

}}{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:template|exclude||{{#ifeq:{{#switch: 10 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||}}}}}}{{#ifexpr: 14>100 |}}{{#if:Natural number||}}{{#ifeq:0|1

|{{#switch: Template:First word |c. |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent= |#default={{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = [[Category:Pages with lower-case short description|Template:Trim]] | other | #default = }}Template:Testcases other}} | }}{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = Template:SDcat | other | #default =

}}

{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} > 10^6
 | {{#if:1000
 | 1000
 | Infobox number/doc
 }}
|
{{#if:
 | {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0
      |−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}}
      |{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0|−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}}|{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }}}} (number)
      | [[{{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0|−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}}|{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }}}} (number)|← {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}} ]]
      | ← {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}} 
   }}
}}
{{#if:yes
 | {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0
      |−{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}}
      |{{#if:1000
 | 1000
 | Infobox number/doc
 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0|−{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}}|{{#if:1000
 | 1000
 | Infobox number/doc
 }}}} (number)
      | [[{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0|−{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}}|{{#if:1000
 | 1000
 | Infobox number/doc
 }}}} (number)| {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0|−}}{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}} ]]
      |  {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0|−}}{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}} 
   }}
}}
{{#if:
 | {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0
      |−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}}
      |{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0|−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}}|{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }}}} (number)
      | [[{{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0|−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}}|{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }}}} (number)| {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}} →]]
      |  {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}} →
   }}
}}
}}
{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 300 | [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(−1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:−1|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(−1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(0*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:0|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(0*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:1|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(2*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:2|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(2*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(3*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:3|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(3*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(4*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:4|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(4*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(5*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:5|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(5*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(6*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:6|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(6*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(7*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:7|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(7*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(8*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:8|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(8*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(9*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:9|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(9*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(10*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:10|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(10*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
}} < 270|10|100}} div 10)}}}}]]}}
{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} >= -1
 | {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 100
    |  0 10 20 30 40 50 60 70 80 90 
  | {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 1000
    |   0 100 200 300 400 500 600 700 800 900 
    | {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 100000
       |   0 [[|{{#ifeq:1|10|→|{{#expr:1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:2|10|→|{{#expr:2*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:3|10|→|{{#expr:3*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:4|10|→|{{#expr:4*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:5|10|→|{{#expr:5*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:6|10|→|{{#expr:6*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:7|10|→|{{#expr:7*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:8|10|→|{{#expr:8*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:9|10|→|{{#expr:9*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:10|10|→|{{#expr:10*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]]
      | 100 101 102 103 104 105 106 107 108 109
       }}
    }}
 }}
}}
Cardinal{{#if: | | Lua error in Module:ConvertNumeric at line 638: attempt to index field 'ext' (a nil value). }}
Ordinal{{#if: | | {{#if:1000
 | 1000
 | Infobox number/doc
}}th
({{#if:||Lua error in Module:ConvertNumeric at line 638: attempt to index field 'ext' (a nil value). }})}}
Factorization{{#if:||{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} > 1 and {{#if:1000
 | 1000
 | Infobox number/doc
}} < 1000000000| Error: input not recognized as a number }} }}
Greek numeral{{#if:|{{{greek}}}| {{#ifexpr: {{#if:1000
 | 1000
 | Infobox number/doc
}} >= 1 | Lua error in Module:Greek_numeral at line 140: attempt to compare number with nil. }} }}
Roman numeral{{#if:|| {{#ifexpr: {{#if:1000
 | 1000
 | Infobox number/doc
}} >= 1 | Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). }} }}
Unicode symbol(s)Ⅿ, ⅿ, ↀ
Greek prefixchilia
Latin prefixmilli
Binary{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}2}}
Ternary{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}3}}
Senary{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}6}}
Octal{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}8}}
Duodecimal{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}12}}
Hexadecimal{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}16}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox number/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}{{#if:|}} <syntaxhighlight lang="wikitext" style="overflow:auto">

{{#ifeq:natural number|none||

}}{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:template|exclude||{{#ifeq:{{#switch: 10 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||}}}}}}{{#ifexpr: 14>100 |}}{{#if:Natural number||}}{{#ifeq:0|1

|{{#switch: Template:First word |c. |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent= |#default={{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = [[Category:Pages with lower-case short description|Template:Trim]] | other | #default = }}Template:Testcases other}} | }}{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = Template:SDcat | other | #default =

}}

{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} > 10^6
 | {{#if:1000
 | 1000
 | Infobox number/doc
 }}
|
{{#if:
 | {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0
      |−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}}
      |{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0|−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}}|{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }}}} (number)
      | [[{{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0|−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}}|{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }}}} (number)|← {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}} ]]
      | ← {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} - 1 }})}} 
   }}
}}
{{#if:yes
 | {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0
      |−{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}}
      |{{#if:1000
 | 1000
 | Infobox number/doc
 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0|−{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}}|{{#if:1000
 | 1000
 | Infobox number/doc
 }}}} (number)
      | [[{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0|−{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}}|{{#if:1000
 | 1000
 | Infobox number/doc
 }}}} (number)| {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0|−}}{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}} ]]
      |  {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 0|−}}{{#expr:abs({{#if:1000
 | 1000
 | Infobox number/doc
 }})}} 
   }}
}}
{{#if:
 | {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0
      |−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}}
      |{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }}
   }}
 | {{#ifexist: {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0|−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}}|{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }}}} (number)
      | [[{{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0|−{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}}|{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }}}} (number)| {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}} →]]
      |  {{#ifexpr:{{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }} < 0|−}}{{#expr:abs({{#expr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} + 1 }})}} →
   }}
}}
}}
{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 300 | [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(−1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:−1|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(−1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(0*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:0|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(0*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:1|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(2*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:2|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(2*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(3*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:3|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(3*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(4*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:4|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(4*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(5*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:5|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(5*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(6*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:6|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(6*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(7*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:7|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(7*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(8*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:8|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(8*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(9*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:9|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(9*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}}}}]] [[{{#expr: (floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(10*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}} div 10)}} (number)|{{#switch:10|−1={{#ifexpr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div 10)) = 0|−1|←}}|10=→|#default={{#expr:(floor(Lua error in Module:Math at line 605: attempt to index field 'ext' (a nil value). div {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}})) * {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 270|10|100}}+(10*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
}} < 270|10|100}} div 10)}}}}]]}}
{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} >= -1
 | {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 100
    |  0 10 20 30 40 50 60 70 80 90 
  | {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 1000
    |   0 100 200 300 400 500 600 700 800 900 
    | {{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} < 100000
       |   0 [[|{{#ifeq:1|10|→|{{#expr:1*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:2|10|→|{{#expr:2*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:3|10|→|{{#expr:3*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:4|10|→|{{#expr:4*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:5|10|→|{{#expr:5*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:6|10|→|{{#expr:6*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:7|10|→|{{#expr:7*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:8|10|→|{{#expr:8*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:9|10|→|{{#expr:9*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]] [[|{{#ifeq:10|10|→|{{#expr:10*{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }}>=10000|10|1}}}}k}}]]
      | 100 101 102 103 104 105 106 107 108 109
       }}
    }}
 }}
}}
Cardinal{{#if: | | Lua error in Module:ConvertNumeric at line 638: attempt to index field 'ext' (a nil value). }}
Ordinal{{#if: | | {{#if:1000
 | 1000
 | Infobox number/doc
}}th
({{#if:||Lua error in Module:ConvertNumeric at line 638: attempt to index field 'ext' (a nil value). }})}}
Factorization{{#if:||{{#ifexpr:{{#if:1000
 | 1000
 | Infobox number/doc
 }} > 1 and {{#if:1000
 | 1000
 | Infobox number/doc
}} < 1000000000| Error: input not recognized as a number }} }}
Greek numeral{{#if:|{{{greek}}}| {{#ifexpr: {{#if:1000
 | 1000
 | Infobox number/doc
}} >= 1 | Lua error in Module:Greek_numeral at line 140: attempt to compare number with nil. }} }}
Roman numeral{{#if:|| {{#ifexpr: {{#if:1000
 | 1000
 | Infobox number/doc
}} >= 1 | Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). }} }}
Unicode symbol(s)Ⅿ, ⅿ, ↀ
Greek prefixchilia
Latin prefixmilli
Binary{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}2}}
Ternary{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}3}}
Senary{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}6}}
Octal{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}8}}
Duodecimal{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}12}}
Hexadecimal{{#ifexpr: ({{#if:1000
 | 1000
 | Infobox number/doc
 }} >= 0) and ({{#if:1000
 | 1000
 | Infobox number/doc
 }} <= 9007199254740991) | {{#if:1000
 | 1000
 | Infobox number/doc
}}16}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}
{{#if:|}}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox number/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}{{#if:|}} </syntaxhighlight>

TemplateData

{{#switch:<translate></translate> |=

{{#if:{{safesubst:#switch:
|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|{{#ifexpr:{{#if:|{{#ifeq:Template:Infobox number/doc|{{#switch:

|#default =  
| = 
   {{#ifeq:  | 
     | Template:{{{docpage}}}            
     |       
   }}

}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox number/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|{{#if:1||{{#if:|{{{text}}}|<translate> This box:</translate>}} }}{{#if:1|[}}[[{{#switch:

|#default = Infobox number/doc 
| = 
   {{#ifeq:  | 
     | Template:Infobox number/doc            
     | Infobox number/doc      
   }}

}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:

|#default = Infobox number/doc 
| = 
   {{#ifeq:  | 
     | Template:Infobox number/doc            
     | Infobox number/doc      
   }}

}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}

Infobox number

{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (

{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox number/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=

 {{#switch:

|=

{{#if:{{safesubst:#switch:
|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|{{#ifexpr:{{#if:|{{#ifeq:Template:Infobox number/doc|{{#switch:

|#default =  
| = 
   {{#ifeq:  | 
     | Template:{{{docpage}}}            
     |       
   }}

}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox number/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|{{#if:1||{{#if:|{{{text}}}|<translate> This box:</translate>}} }}{{#if:1|[}}[[{{#switch:

|#default = Infobox number/doc 
| = 
   {{#ifeq:  | 
     | Template:Infobox number/doc            
     | Infobox number/doc      
   }}

}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:

|#default = Infobox number/doc 
| = 
   {{#ifeq:  | 
     | Template:Infobox number/doc            
     | Infobox number/doc      
   }}

}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||This is the TemplateData documentation for this template used by VisualEditor and other tools.}}

Infobox number

{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (

{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox number/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=

 Lua error: expandTemplate: template loop detected.

}} }} <templatedata> { "params": { "number": { "type": "number", "description": "Number written out in decimal notation. Only needed if the number is not the page-name (such as a sandbox).", "example": "3" }, "cardinal": { "label": "Cardinal", "description": "not necessary if the number is less than 1 billion", "example": "one thousand", "type": "string" }, "ordinal": { "label": "Ordinal", "example": "3rd", "type": "string" }, "ordinal text": { "description": "not necessary if the number is less than 1 billion", "example": "one thousandth", "type": "string" }, "multinal": { "label": "Multinal", "example": "3le", "type": "string" }, "multinal text": { "description": "not necessary if the number is less than 1 billion", "example": "one thousandta", "type": "string" }, "multiplying": { "label": "Multiplying", "example": "3ple", "type": "string" }, "multiplying text": { "description": "not necessary if the number is less than 1 billion", "example": "one thousanduple", "type": "string" }, "numeral": { "label": "Numeral system", "description": "If applicable, the numeral system with this number as its base.", "example": "quinary", "type": "wiki-page-name" }, "factorization": { "label": "Factorization", "description": "The prime factorization of the number (if composite). If prime, substitute \"prime\" into the parameter.", "example": "2³ × 5³", "type": "content", "suggested": true }, "gaussian integer factorization": { "label": "Gaussian integer factorization" }, "prime": { "description": "If the number is prime, this parameter shows the order of this prime number (e.g., 7 is the 4th prime number)", "example": "3rd", "label": "Prime", "type": "string" }, "divisor": { "label": "Divisors", "description": "The positive integers that divide evenly into this number.", "example": "1, 2, 3, 6", "type": "string", "suggested": true }, "roman": { "aliases": [ "Roman" ], "label": "Roman numeral", "description": "The number written with Roman numerals.", "example": "XXVIII", "type": "string" }, "roman unicode": { "aliases": [ "Roman unicode" ], "description": "Number in unicode characters" }, "unicode": {}, "greek prefix": { "label": "Greek prefix", "description": "This number's prefix(es) in Greek.", "example": "penta-", "type": "string" }, "latin prefix": { "label": "Latin prefix", "description": "The number's prefix(es) in Latin", "example": "quinque-", "type": "string" }, "Old English prefix": {}, "old english prefix": {}, "lang1": {}, "lang1 symbol": {}, "lang2": {}, "lang2 symbol": {}, "lang3": {}, "lang3 symbol": {}, "lang4": {}, "lang4 symbol": {}, "lang5": {}, "lang5 symbol": {}, "lang6": {}, "lang6 symbol": {}, "lang7": {}, "lang7 symbol": {}, "lang8": {}, "lang8 symbol": {}, "lang9": {}, "lang9 symbol": {}, "lang10": {}, "lang10 symbol": {}, "lang11": {}, "lang11 symbol": {}, "lang12": {}, "lang12 symbol": {}, "lang13": {}, "lang13 symbol": {}, "lang14": {}, "lang14 symbol": {}, "lang15": {}, "lang15 symbol": {}, "lang16": {}, "lang16 symbol": {}, "lang17": {}, "lang17 symbol": {}, "lang18": {}, "lang18 symbol": {}, "lang19": {}, "lang19 symbol": {}, "lang20": {}, "lang20 symbol": {}, "lang21": {}, "lang21 symbol": {}, "lang22": {}, "lang22 symbol": {} }, "paramOrder": [ "number", "cardinal", "ordinal", "ordinal text", "multinal", "multinal text", "multiplying", "multiplying text", "numeral", "factorization", "gaussian integer factorization", "prime", "divisor", "roman", "roman unicode", "unicode", "greek prefix", "latin prefix", "Old English prefix", "old english prefix", "lang1", "lang1 symbol", "lang2", "lang2 symbol", "lang3", "lang3 symbol", "lang4", "lang4 symbol", "lang5", "lang5 symbol", "lang6", "lang6 symbol", "lang7", "lang7 symbol", "lang8", "lang8 symbol", "lang9", "lang9 symbol", "lang10", "lang10 symbol", "lang11", "lang11 symbol", "lang12", "lang12 symbol", "lang13", "lang13 symbol", "lang14", "lang14 symbol", "lang15", "lang15 symbol", "lang16", "lang16 symbol", "lang17", "lang17 symbol", "lang18", "lang18 symbol", "lang19", "lang19 symbol", "lang20", "lang20 symbol", "lang21", "lang21 symbol", "lang22", "lang22 symbol" ] } </templatedata>

See also