Template:Data value/doc: Difference between revisions

From TerraFirmaCraft Plus Wiki
Jump to navigation Jump to search
SpAnser (talk | contribs)
m 1 revision
 
Aliceingame (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{doc/start}}
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}}
{{doc/end}}<noinclude>
<noinclude>
[[fr:Modèle:Vd/doc]]
 
</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