Template:Number

From Wikipedia, the free encyclopedia

[edit] Template documentation
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.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

{{Number}} creates an infobox for integer article pages.

Contents

[edit] Usage

{{Number|number = 
| range = 
| cardinal = 
| ordinal = 
| ordinal text = 
| numeral = 
| factorization = 
| prime = 
| divisor = 
| roman = 
| unicode = 
| greek prefix = 
| latin prefix = 
| bin = 
| oct = 
| duo = 
| hex = 
| misc =
}}

[edit] Example

For the number 1000:

[edit] Code

{{Number|number= 1000
| range = 1000 - 10000
| cardinal = one thousand
| ordinal = th
| ordinal text = 
| numeral = 
| factorization = <math>2^3 \cdot 5^3</math>
| prime = 
| divisor = 
| roman = Ⅿ
| unicode = Ⅿ, ⅿ, ↀ
| greek prefix = chilia-
| latin prefix = milli-
| bin = 1111101000
| oct = 1750
| duo = 
| hex = 3E8
}}

[edit] Result

1000
Cardinal one thousand
Ordinal 1000th
(one thousandth)
Factorization 2^3 \cdot 5^3
Roman numeral
Unicode symbol(s) Ⅿ, ⅿ, ↀ
Binary 1111101000
Octal 1750
Hexadecimal 3E8


9 (number) has the following additional fields (added to the misc parameter):

Arabic-Indic numeral ٩
Armenian numeral Թ
Chinese numeral
玖 (formal writing)
Eastern Arabic-Indic (Persian and Urdu) numeral ۹
Greek numeral θ´
Hebrew numeral ט (Tet)
Indian (Hindi/Devanagari) numeral
Japanese numeral
玖 (formal writing)
Tamil numeral
Thai numeral

[edit] See also