Template:Infobox number/doc
This is a documentation subpage for Template:Infobox number. It may contain usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
File:Information icon4.svg | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
File:Lua-Logo.svg | This template uses Lua: |
{{Infobox number}} creates an infobox for integer article pages.
Typical usage
<syntaxhighlight lang="wikitext" style="overflow:auto">
Expression error: Unrecognized word "infobox". | |
---|---|
Expression error: Unrecognized word "infobox". Expression error: Unrecognized word "infobox". | |
Cardinal | Lua error in Module:ConvertNumeric at line 576: Invalid decimal numeral. |
Ordinal | Infobox number/docth (Lua error in Module:ConvertNumeric at line 576: Invalid decimal numeral.) |
Factorization | Expression error: Unrecognized word "infobox". |
Greek numeral | Expression error: Unrecognized word "infobox". |
Roman numeral | Expression error: Unrecognized word "infobox". |
Binary | Expression error: Unrecognized word "infobox". |
Ternary | Expression error: Unrecognized word "infobox". |
Senary | Expression error: Unrecognized word "infobox". |
Octal | Expression error: Unrecognized word "infobox". |
Duodecimal | Expression error: Unrecognized word "infobox". |
Hexadecimal | Expression error: Unrecognized word "infobox". |
</syntaxhighlight>
Additional parameters
<syntaxhighlight lang="wikitext" style="overflow:auto"> | number = | cardinal = | ordinal 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
| ||||
---|---|---|---|---|
Cardinal | one thousand | |||
Ordinal | 1000th (one thousandth) | |||
Factorization | 23 × 53 | |||
Greek numeral | ,Α´ | |||
Roman numeral | M | |||
Unicode symbol(s) | Ⅿ, ⅿ, ↀ | |||
Greek prefix | chilia | |||
Latin prefix | milli | |||
Binary | 11111010002 | |||
Ternary | 11010013 | |||
Senary | 43446 | |||
Octal | 17508 | |||
Duodecimal | 6B412 | |||
Hexadecimal | 3E816 |
<syntaxhighlight lang="wikitext" style="overflow:auto">
| ||||
---|---|---|---|---|
Cardinal | one thousand | |||
Ordinal | 1000th (one thousandth) | |||
Factorization | 23 × 53 | |||
Greek numeral | ,Α´ | |||
Roman numeral | M | |||
Unicode symbol(s) | Ⅿ, ⅿ, ↀ | |||
Greek prefix | chilia | |||
Latin prefix | milli | |||
Binary | 11111010002 | |||
Ternary | 11010013 | |||
Senary | 43446 | |||
Octal | 17508 | |||
Duodecimal | 6B412 | |||
Hexadecimal | 3E816 |
</syntaxhighlight>
TemplateData
TemplateData for Infobox number
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
number | number | no description | Number | optional |
cardinal | cardinal | no description | Unknown | optional |
ordinal | ordinal | no description | Unknown | optional |
ordinal text | ordinal text | no description | Unknown | optional |
numeral | numeral | no description | Unknown | optional |
factorization | factorization | no description | Unknown | optional |
Gaussian integer factorization | Gaussian integer factorization | no description | Unknown | optional |
gaussian integer factorization | gaussian integer factorization | no description | Unknown | optional |
prime | prime | no description | Unknown | optional |
divisor | divisor | no description | Unknown | optional |
Roman | Roman | no description | Unknown | optional |
roman | roman | no description | Unknown | optional |
Roman unicode | Roman unicode | no description | Unknown | optional |
roman unicode | roman unicode | no description | Unknown | optional |
unicode | unicode | no description | Unknown | optional |
Greek prefix | Greek prefix | no description | Unknown | optional |
greek prefix | greek prefix | no description | Unknown | optional |
Latin prefix | Latin prefix | no description | Unknown | optional |
latin prefix | latin prefix | no description | Unknown | optional |
Old English prefix | Old English prefix | no description | Unknown | optional |
old english prefix | old english prefix | no description | Unknown | optional |
lang1 | lang1 | no description | Unknown | optional |
lang1 symbol | lang1 symbol | no description | Unknown | optional |
lang2 | lang2 | no description | Unknown | optional |
lang2 symbol | lang2 symbol | no description | Unknown | optional |
lang3 | lang3 | no description | Unknown | optional |
lang3 symbol | lang3 symbol | no description | Unknown | optional |
lang4 | lang4 | no description | Unknown | optional |
lang4 symbol | lang4 symbol | no description | Unknown | optional |
lang5 | lang5 | no description | Unknown | optional |
lang5 symbol | lang5 symbol | no description | Unknown | optional |
lang6 | lang6 | no description | Unknown | optional |
lang6 symbol | lang6 symbol | no description | Unknown | optional |
lang7 | lang7 | no description | Unknown | optional |
lang7 symbol | lang7 symbol | no description | Unknown | optional |
lang8 | lang8 | no description | Unknown | optional |
lang8 symbol | lang8 symbol | no description | Unknown | optional |
lang9 | lang9 | no description | Unknown | optional |
lang9 symbol | lang9 symbol | no description | Unknown | optional |
lang10 | lang10 | no description | Unknown | optional |
lang10 symbol | lang10 symbol | no description | Unknown | optional |
lang11 | lang11 | no description | Unknown | optional |
lang11 symbol | lang11 symbol | no description | Unknown | optional |
lang12 | lang12 | no description | Unknown | optional |
lang12 symbol | lang12 symbol | no description | Unknown | optional |
lang13 | lang13 | no description | Unknown | optional |
lang13 symbol | lang13 symbol | no description | Unknown | optional |
lang14 | lang14 | no description | Unknown | optional |
lang14 symbol | lang14 symbol | no description | Unknown | optional |
lang15 | lang15 | no description | Unknown | optional |
lang15 symbol | lang15 symbol | no description | Unknown | optional |
lang16 | lang16 | no description | Unknown | optional |
lang16 symbol | lang16 symbol | no description | Unknown | optional |
lang17 | lang17 | no description | Unknown | optional |
lang17 symbol | lang17 symbol | no description | Unknown | optional |
lang18 | lang18 | no description | Unknown | optional |
lang18 symbol | lang18 symbol | no description | Unknown | optional |
lang19 | lang19 | no description | Unknown | optional |
lang19 symbol | lang19 symbol | no description | Unknown | optional |
See also