5,389
edits
m (and another one) |
m (DONE!) |
||
Line 17: | Line 17: | ||
|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}}} | ||
!{{{70| | !{{{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 30: | Line 30: | ||
<nowiki>{|border=1 cellspacing=0</nowiki> | <nowiki>{|border=1 cellspacing=0</nowiki> | ||
<nowiki>{{HexRow|0x00</nowiki> | <nowiki>{{HexRow|0x00</nowiki> | ||
<nowiki>|01|51|02|00|01|00|00|06|AD|DE|AD|DE|AD|DE|AD|DE| | <nowiki>|01|51|02|00|01|00|00|06|AD|DE|AD|DE|AD|DE|AD|DE|</nowiki> | ||
<nowiki>|FF|FF|FF|FF|FF|FF|FF|FF|00|00|00|00|00|00|00|00| | <nowiki>|FF|FF|FF|FF|FF|FF|FF|FF|00|00|00|00|00|00|00|00|</nowiki> | ||
<nowiki>|00|00|00|00|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF| | <nowiki>|00|00|00|00|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|</nowiki> | ||
<nowiki>|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00| | <nowiki>|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|</nowiki> | ||
<nowiki>|Who needs this?°}}</nowiki> | <nowiki>|Who needs this?°}}</nowiki> | ||
<nowiki>{{HexRow|0x10</nowiki> | <nowiki>{{HexRow|0x10</nowiki> | ||
<nowiki>|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE| | <nowiki>|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|</nowiki> | ||
<nowiki>|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00| | <nowiki>|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|</nowiki> | ||
<nowiki>|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF| | <nowiki>|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|</nowiki> | ||
<nowiki>|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00| | <nowiki>|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|</nowiki> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
<nowiki>|}</nowiki> | <nowiki>|}</nowiki> | ||
Line 83: | Line 83: | ||
!°°°°°°°°°°°°°°°° | !°°°°°°°°°°°°°°°° | ||
|} | |} | ||
There are 66 arguments; they are ''not'' named, but they line up intuitively. | There are 66 "actual" arguments; they are ''not'' named, but they line up intuitively. | ||
:(the extra | at the end of a line is part of a hack, see [http://en.wikipedia.org/wiki/Template_talk:Chess_position HERE] for details) | |||
*The first argument is the data's offset (default is 0x00, maybe it should be blank). | *The first argument is the data's offset (default is 0x00, maybe it should be blank). | ||
*The next 16 arguments are the 16 hex bytes. | *The next 16 arguments are the 16 hex bytes. | ||
Line 93: | Line 94: | ||
**Most of the time it's actually irrelevant; I'd systematically show all non-printable chars as '''°'''. | **Most of the time it's actually irrelevant; I'd systematically show all non-printable chars as '''°'''. | ||
**If all 16 chars are non-printable, leave the last argument blank (the default value is '''°°°°°°°°°°°°°°°°''') | **If all 16 chars are non-printable, leave the last argument blank (the default value is '''°°°°°°°°°°°°°°°°''') | ||
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 | |||
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> |