Difference between revisions of "Template:Infobox number/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mike Peel
(Check namespace before including the categories and interwikis)
imported>Mike Peel
m (Recategorization)
Line 121: Line 121:
 
{{#ifeq:{{NAMESPACE}}|Template|
 
{{#ifeq:{{NAMESPACE}}|Template|
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Numeric templates{{!}}{{PAGENAME}}]]
+
[[Category:Numeric infobox templates{{!}}{{PAGENAME}}]]
[[Category:Infobox templates{{!}}{{PAGENAME}}]]
 
  
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->

Revision as of 14:20, 17 March 2007

Template:Template doc page viewed directly


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

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

Template:Number

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