Template:HexConverter: Difference between revisions

From OpenGK
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>‎<nowiki /><span class="{{#if:{{{class|}}}|hex-converter-field {{{class}}}|hex-converter-field}}"
<includeonly>‎<pre class="{{#if:{{{class|}}}|hex-converter-field {{{class}}}|hex-converter-field}}"
{{#if:{{{id|}}}|id="hex-converter-field-{{{id}}}"}}
{{#if:{{{id|}}}|id="hex-converter-field-{{{id}}}"}}
{{#if:{{{name|}}}|data-hex-converter-name="{{{name}}}"}}
{{#if:{{{name|}}}|data-hex-converter-name="{{{name}}}"}}
{{#if:{{{hex|}}}|data-hex-converter-hex="{{{hex}}}"}}
{{#if:{{{hex|}}}|data-hex-converter-hex="{{{hex}}}"}}
{{{hex|}}}
{{{hex|}}}
</span>
</pre>
[[Category:Pages using gadget HexConverter]]
[[Category:Pages using gadget HexConverter]]
</includeonly>
</includeonly>

Revision as of 01:45, 28 December 2024


Template:Documentation

Simple converter that'll allow the user to switch between hex, decimal and ascii display

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
classclass

no description

Unknownoptional
idid

no description

Unknownoptional
namename

no description

Unknownoptional
hexhex

Hex value

Example
58D8C848
Stringrequired