Difference between revisions of "Template:Data value/doc"
From TerraFirmaCraft Wiki
m (1 revision) |
Aliceingame (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
This template is used to show a data value in decimal and hexadecimal. Values are input as a decimal value, and the template will automatically convert it to hexadecimal. | This template is used to show a data value in decimal and hexadecimal. Values are input as a decimal value, and the template will automatically convert it to hexadecimal. | ||
Line 16: | Line 15: | ||
{{dv|69:5}} | {{dv|69:5}} | ||
− | + | <noinclude> | |
− | + | ||
</noinclude> | </noinclude> |
Latest revision as of 00:02, 17 May 2014
This template is used to show a data value in decimal and hexadecimal. Values are input as a decimal value, and the template will automatically convert it to hexadecimal.
Usage
{{dv|69}}
dec: 69 hex: 45
{{dv|69|optional label}}
optional label
dec: 69 hex: 45
{{dv|69:5}} or {{dv|69|p=5}}
dec: 695 hex: 455