Difference between revisions of "Template:Infobox number/box"
Jump to navigation
Jump to search
imported>Ianblair23 (links) |
imported>David Eppstein (Per WP:BRD let's trim the ridiculous list of base expansions to some of the more common ones.) |
||
| Line 61: | Line 61: | ||
| label16 = [[Ternary numeral system|Ternary]] | | label16 = [[Ternary numeral system|Ternary]] | ||
| data16 = {{#ifexpr: ({{{number}}} >= 0) and ({{{number}}} <= 9007199254740991) | {{Ternary|{{{number}}} }} }} | | data16 = {{#ifexpr: ({{{number}}} >= 0) and ({{{number}}} <= 9007199254740991) | {{Ternary|{{{number}}} }} }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| label20 = [[Octal]] | | label20 = [[Octal]] | ||
| Line 79: | Line 70: | ||
| label22 = [[Hexadecimal]] | | label22 = [[Hexadecimal]] | ||
| data22 = {{#ifexpr: ({{{number}}} >= 0) and ({{{number}}} <= 9007199254740991) | {{Hexadecimal|{{{number}}} }} }} | | data22 = {{#ifexpr: ({{{number}}} >= 0) and ({{{number}}} <= 9007199254740991) | {{Hexadecimal|{{{number}}} }} }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| label32 = {{{lang1}}} | | label32 = {{{lang1}}} | ||
Latest revision as of 07:45, 17 August 2020
50px Template documentation
This subtemplate is used to generate the infobox for {{infobox number}}. By using a subtemplate, it reduces the repetition in the code by using a single computation of the value for |number= by {{infobox number}}, which is passed to this subtemplate. This subtemplate should by used only by {{infobox number}}, and not used directly.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |