Template:N-ary: Difference between revisions
Template page
More actions
|  Created page with "<includeonly><span class="nowrap"><!-- hidden sort value/key -->{{ntsh|   {{#invoke:     BaseConvert      | convert      | n={{{1|0}}}     | from={{{2|10}}}     | base=10   }} }}<!-- literal value -->{{{1|0}}}<!-- literal base (decimal), styled --><span style="vertical-align:sub; font-size:smaller; line-height:normal;">{{   #ifeq:{{{basefmt|}}}|paren   |(   | }}{{{2|10}}}{{   #ifeq:{{{basefmt|}}}|paren   |)   | }}</span></span></includeonly><noinclude> {{n-ary|710|8}} {{..." | 
| (No difference) | 
Latest revision as of 01:41, 23 February 2025
7108
This template presents numbers in a different base, with a functioning sort value/key and the base.
Usage
| Parameter | Values | Description | 
|---|---|---|
| 1st | Number | The number in a different base, represented using alphanumeric characters (i.e., 0-9, then A-Z). | 
| 2nd | 2–36 | The base of the above number in decimal. Only the range specified is supported due to no convention the digits used outside alphanumerics (i.e., a base greater than 36). | 
| basefmt | Specifies the format of the presented base. | |
| paren | Short for parentheses, this value is defined only to eat your children. | 
