Jump to content

Template:HexRow: Difference between revisions

m
should work now : silly parser...
m (hm...)
m (should work now : silly parser...)
Line 1: Line 1:
<includeonly>|-style="font-family:courier"
<includeonly>|-style="font-family:courier"
|{{{1|0x00}}}&nbsp;
|{{{1|0x00}}}&nbsp;
|BGCOLOR="#{{{19|FF}}}{{{36|FF}}}{{{53|FF}}}"|{{{2|00}}}
|BGCOLOR="#{{{20|FF}}}{{{37|FF}}}{{{54|FF}}}"|{{{3|00}}}
|BGCOLOR="#{{{20|FF}}}{{{37|FF}}}{{{54|FF}}}"|{{{3|00}}}
|BGCOLOR="#{{{21|FF}}}{{{38|FF}}}{{{55|FF}}}"|{{{4|00}}}
|BGCOLOR="#{{{21|FF}}}{{{38|FF}}}{{{55|FF}}}"|{{{4|00}}}
Line 17: Line 16:
|BGCOLOR="#{{{33|FF}}}{{{50|FF}}}{{{67|FF}}}"|{{{16|00}}}
|BGCOLOR="#{{{33|FF}}}{{{50|FF}}}{{{67|FF}}}"|{{{16|00}}}
|BGCOLOR="#{{{34|FF}}}{{{51|FF}}}{{{68|FF}}}"|{{{17|00}}}
|BGCOLOR="#{{{34|FF}}}{{{51|FF}}}{{{68|FF}}}"|{{{17|00}}}
|BGCOLOR="#{{{35|FF}}}{{{52|FF}}}{{{69|FF}}}"|{{{18|00}}}
|&nbsp;{{{70|°°°°°°°°°°°°°°°°}}}</includeonly><noinclude>
|&nbsp;{{{70|°°°°°°°°°°°°°°°°}}}</includeonly><noinclude>
Here's an all-ASCII alternative to GIF/PNG snapshots of hex data.
Here's an all-ASCII alternative to GIF/PNG snapshots of hex data.
Line 93: Line 93:
*Finally, you can add an ASCII translation if you so wish.
*Finally, you can add an ASCII translation if you so wish.
**Most of the time it's actually irrelevant
**Most of the time it's actually irrelevant
::I'd systematically show nonsensical ASCII as '''°''' : it's less distractive.
**I'd systematically show nonsensical ASCII as '''°''' : it's less distractive.
:::Same for confirmed garbage in the hex fields : you can fill it with '''°'''.
**If all 16 chars are nonsense, simply omit the last argument (the default value is '''°°°°°°°°°°°°°°°°''')
**If all 16 chars are nonsense, simply omit the last argument (the default value is '''°°°°°°°°°°°°°°°°''')
**Same for confirmed garbage in the hex fields : you can fill it with '''°'''.
Only the fixed-size font is specified in this template, as well as bold for offset and ASCII.
Only the fixed-size font is specified in this template, as well as bold for offset and ASCII.


The rest (cell spacing/padding, border, alignment on page, background color, etc) is set at table level.
The rest (cell spacing/padding, border, alignment on page, background color, etc) is set at table level.
</noinclude>
</noinclude>