Template:Chset-cell1
title="{{{1}}}" style="padding:1px;"|{{{2}}}
Usage
For entries in character set tables.
<syntaxhighlight lang="wikitext">{|class="wikitable nounderlines nowrap" border="1" style="border-collapse:collapse;text-align:center;background:#FFFFFF;font-size:large"
|+ style="background:#F8F8F8;font-size:80%;line-height:1.5" |Example
|- style="background:#F8F8F8;font-size:small"
|
| style="width:20pt" | 0
| style="width:20pt" | 1
| style="width:20pt" | 2
| style="width:20pt" | 3
| style="width:20pt" | 4
| style="width:20pt" | 5
| style="width:20pt" | 6
| style="width:20pt" | 7
| style="width:20pt" | 8
| style="width:20pt" | 9
| style="width:20pt" | A
| style="width:20pt" | B
| style="width:20pt" | C
| style="width:20pt" | D
| style="width:20pt" | E
| style="width:20pt" | F
|-
| style="background:#F8F8F8;height:2em;font-size:small;height:22pt;line-height:1" |4x
| title=" 64
U+0040: COMMERCIAL AT " style="padding:1px;vertical-align:bottom;line-height:.61;"| @
0040
| title=" 65
U+0041: LATIN CAPITAL LETTER A " style="padding:1px;vertical-align:bottom;line-height:.61;"| A
0041
| title=" 66
U+0042: LATIN CAPITAL LETTER B " style="padding:1px;vertical-align:bottom;line-height:.61;background:#FEE"| B
0042
| title=" 67
U+0043: LATIN CAPITAL LETTER C " style="padding:1px;font-size:70%"| See
| title=" 68
U+0044: LATIN CAPITAL LETTER D " style="padding:1px;vertical-align:bottom;line-height:.61;"| D[a]
0044
| title=" 69
U+0301: COMBINING ACUTE ACCENT " style="padding:1px;vertical-align:bottom;line-height:.61;"| ◌́
0301
|-
|}
- ^ this is a footnote
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | |
4x | @ 0040 |
A 0041 |
B 0042 |
See | D[a] 0044 |
◌́ 0301 |
- ^ this is a footnote
The first argument is for describing the character, such as the Unicode name and code point(s). Currently it is placed in a tooltip, which apparently cannot handle any markup, although <syntaxhighlight lang="text" class="" style="" inline="1"> </syntaxhighlight> can be used to get newlines.
Second argument is what appears in the cell. Use a link if you want the user to be able to click on a character and go to the Wikipedia entry for it. Combining characters should have a ◌ (U+25CC DOTTED CIRCLE) character, above shows only way I could get a link to work for this.
The optional <syntaxhighlight lang="text" class="" style="" inline="1">style=</syntaxhighlight> is added to the table cell's style. Don't put quotes around it. Recommended colors, chosen to match the colors used in other tables in Wikipedia (see {{no}} for examples):
The optional <syntaxhighlight lang="text" class="" style="" inline="1">u=</syntaxhighlight> is for adding the Unicode code point entry at the bottom. Keep it less than 9 letters so the columns don't get wider, anything larger should use some symbol and put the information into the tooltip text.
The optional <syntaxhighlight lang="text" class="" style="" inline="1">fn=</syntaxhighlight> is for references and footnotes. The font size is reduced to normal size for this.