Difference between revisions of "Template:Infobox number/doc"
Jump to navigation
Jump to search
imported>Down10 (adding doc page pattern; WIP) |
imported>Down10 (documentation added) |
||
| Line 1: | Line 1: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
| − | + | <includeonly>{{esoteric}}</includeonly> | |
| − | {{esoteric}} | ||
| − | {{ | + | {{tl|Number}} creates an [[wikipedia:infobox|infobox]] for [[interger]] article pages. |
| − | |||
| − | |||
| − | |||
== Usage == | == Usage == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<pre> | <pre> | ||
{{Number|number = | {{Number|number = | ||
| Line 62: | Line 27: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | == Example == | ||
| + | <!-- for the documentation don't subst the result --> | ||
| + | |||
| + | For the number [[1000 (number)|1000]]: | ||
| + | === Code === | ||
| + | <pre> | ||
| + | {{Number|number= 1000 | ||
| + | | prev = 999 | ||
| + | | next = 1001 | ||
| + | | 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 | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | === Result === | ||
| + | {{Number|number = 1000 | ||
| + | | prev = 999 | ||
| + | | next = 1001 | ||
| + | | range = 1000-10000 | ||
| + | | cardinal = one thousand | ||
| + | | ordinal = 1000th | ||
| + | | 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 | ||
| + | }} | ||
| + | {{-}} | ||
| + | |||
| + | [[9 (number)]] has the following additional fields (added to the ''misc'' parameter): | ||
| + | {| class=wikitable | ||
| + | | [[Hindu-Arabic numerals|Arabic-Indic numeral]] | ||
| + | | ٩ | ||
| + | |- | ||
| + | | [[Armenian numerals|Armenian numeral]] | ||
| + | | Թ | ||
| + | |- | ||
| + | | [[Chinese numerals|Chinese numeral]] | ||
| + | | 九 <br> 玖 (formal writing) | ||
| + | |- | ||
| + | | [[Arabic numerals|Eastern Arabic-Indic (Persian and Urdu) numeral]] | ||
| + | | ۹ | ||
| + | |- | ||
| + | | [[Greek numerals|Greek numeral]] | ||
| + | | θ´ | ||
| + | |- | ||
| + | | [[Hebrew numerals|Hebrew numeral]] | ||
| + | | <font style="font-size:150%;">ט</font> (Tet) | ||
| + | |- | ||
| + | | [[Indian numerals|Indian (Hindi/Devanagari) numeral]] | ||
| + | | ९ | ||
| + | |- | ||
| + | | [[Japanese numerals|Japanese numeral]] | ||
| + | | 九 <br> 玖 (formal writing) | ||
| + | |- | ||
| + | |- | ||
| + | | [[Arabic numerals|Tamil numeral]] | ||
| + | | ௯ | ||
| + | |- | ||
| + | | [[Thai numerals|Thai numeral]] | ||
| + | | ๙ | ||
| + | |} | ||
| + | |||
| + | == See also == | ||
| + | <!-- self-listing for quick access on edit history --> | ||
| + | * {{Lts|{{PAGENAME}}}} | ||
| + | * [[:Category:Numeric templates]] | ||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
| − | |||
[[Category:Numeric templates|{{PAGENAME}}]] | [[Category:Numeric templates|{{PAGENAME}}]] | ||
[[Category:Infobox templates|{{PAGENAME}}]] | [[Category:Infobox templates|{{PAGENAME}}]] | ||
Revision as of 00:59, 27 December 2006
Template:Template doc page viewed directly
{{Number}} creates an infobox for interger article pages.
Contents
Usage
{{Number|number =
| range =
| cardinal =
| ordinal =
| ordinal text =
| numeral =
| factorization =
| prime =
| divisor =
| roman =
| unicode =
| greek prefix =
| latin prefix =
| bin =
| oct =
| duo =
| hex =
| misc =
}}
Example
For the number 1000:
Code
{{Number|number= 1000
| prev = 999
| next = 1001
| 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
}}
Result
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 | ๙ |
See also