Template:Dv: Difference between revisions
(Created page with "<includeonly>{{#if: {{{2|}}} | ;{{{2}}} :}}<abbr style="font-size:smaller" title="decimal">dec:</abbr> {{ #if: {{{1|}}} | {{#explode: {{{1}}} | : | 0 }}{{ #if: {{{p|}...") |
m (1 revision) |
(No difference)
|
Latest revision as of 19:17, 4 January 2014
- Shortcut
- dv
This template is used to show a data value in decimal, hexadecimal and binary. Values are input as a decimal value, and {{dec-hex}} and {{dec-bin}} will automatically convert it.
Usage
{{dv|69}}
dec: 69 hex: 45 bin: 1000101
{{dv|69|optional label}}
- optional label
- dec: 69 hex: 45 bin: 1000101
{{dv|69:5}} or {{dv|69|p=5}}
dec: 695 hex: 455 bin: 10001015
The above documentation is transcluded from Template:Dv/doc. (edit | history)