Template:Chset-ctrl1/doc

From HandWiki
< Template:Chset-ctrl1
Revision as of 23:42, 16 May 2022 by imported>Aidan9382 (Category:Pages with syntax highlighting errors)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Same as {{chset-cell1}} except the "glyph" text is printed smaller and with a dotted box around it. Generally you should use uppercase. Judicious adding of spaces and thin spaces, or shrinking the font-size, so all the boxes are the same size makes things more attractive.

{|{{chset-table-header1|Example}}
|-
| {{chset-left1|0x}}
| {{chset-ctrl1 | u=0000 | 0&#10;U+0000: NULL | [[Null character|NUL]] }}
| {{chset-ctrl1 | 1&#10;U+0001: START OF HEADING | [[Start of heading|SOH]] }}
| {{chset-ctrl1 | 2&#10;U+0002: START OF TEXT | [[Start of text|STX]] | style=background:#FFD }}
| {{chset-ctrl1 | 3&#10;U+0003: END OF TEXT | [[End of text|ETX]] | style=background:#FFD }}
| {{chset-ctrl1 | 4&#10;U+0007: BELL | [[Bell character|BEL]] }}
| {{chset-ctrl1 | 5&#10;U+0008: BACKSPACE | [[Backspace|&nbsp;BS&nbsp;]] }}
| {{chset-ctrl1 | 6&#10;U+001B: ESCAPE | {{resize|60%|[[Escape character|ESCAPE]]}} }}
| {{chset-ctrl1 | 7&#10;Two lines | [[Fish|GO<br/>FISH]] | style=line-height:1}}
|-
|}
Example
0 1 2 3 4 5 6 7 8 9 A B C D E F
Template:Chset-left1 NUL
0000
SOH STX ETX BEL  BS  ESCAPE GO
FISH

Bugs: the box should be the link color, or black if there is no link. Currently it is always blue.