Template:Dv/doc: Difference between revisions
(Created page with "{{doc/start}} {{shortcut|dv}} This template is used to show a data value in decimal, hexadecimal and binary. Values are input as a decimal value, and {{tl|dec-hex}} and {{tl|d...") |
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
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.