Template:HexConverter: Difference between revisions
From OpenGK
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="bbb">testoo | <includeonly><div class="bbb">testoo<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|}}} | ||
</pre> | </pre></div> | ||
{{{fallback| {{{hex}}}}}} | {{{fallback| {{{hex}}}}}} | ||
[[Category:Pages using gadget HexConverter]] | [[Category:Pages using gadget HexConverter]] |
Revision as of 01:58, 28 December 2024
Simple converter that'll allow the user to switch between hex, decimal and ascii display
Parameter | Description | Type | Status | |
---|---|---|---|---|
class | class | no description | Unknown | optional |
id | id | no description | Unknown | optional |
name | name | no description | Unknown | optional |
hex | hex | Hex value
| String | required |