Difference between revisions of "Template:Chset-cell"
Jump to navigation
Jump to search
imported>Random832 (rv, screws up pages where people have added links by hand) |
imported>Loadmaster |
||
| Line 1: | Line 1: | ||
| − | <span style="font-size: large; font-family: serif">{{{2|&#x{{{1}}};}}}</span><br /><small>{{{1}}}</small><noinclude>[[Category:Multilingual support templates|{{PAGENAME}}]]</noinclude> | + | <span style="font-size: large; font-family: serif">{{{2|&#x{{{1}}};}}}</span><br/><small>{{{1}}}</small><noinclude> |
| + | ----- | ||
| + | ==== Usage ==== | ||
| + | Used with [[:Template:chset-tableformat]] to indicate a printable character table cell. | ||
| + | |||
| + | For example, the first four alphabetic [[ASCII]] characters "A" thru "D" ([[Unicode]] U+0041 thru U+0043, decimal 65 thru 68) are coded as rows in a character set table like this: | ||
| + | |||
| + | <nowiki>|bgcolor="#E7FFE7"|{{chset-cell|0041|'''[[A]]'''}}<br/>'''''65'''''</nowiki> | ||
| + | <nowiki>|bgcolor="#E7FFE7"|{{chset-cell|0042|'''[[B]]'''}}<br/>'''''66'''''</nowiki> | ||
| + | <nowiki>|bgcolor="#E7FFE7"|{{chset-cell|0043|'''[[C]]'''}}<br/>'''''67'''''</nowiki> | ||
| + | <nowiki>|bgcolor="#E7FFE7"|{{chset-cell|0044|'''[[D]]'''}}<br/>'''''68'''''</nowiki> | ||
| + | |||
| + | [[Category:Multilingual support templates|{{PAGENAME}}]] | ||
| + | </noinclude> | ||
Revision as of 23:01, 31 December 2007
&#x{{{1}}};
{{{1}}}
Usage
Used with Template:chset-tableformat to indicate a printable character table cell.
For example, the first four alphabetic ASCII characters "A" thru "D" (Unicode U+0041 thru U+0043, decimal 65 thru 68) are coded as rows in a character set table like this:
|bgcolor="#E7FFE7"|{{chset-cell|0041|'''[[A]]'''}}<br/>'''''65'''''
|bgcolor="#E7FFE7"|{{chset-cell|0042|'''[[B]]'''}}<br/>'''''66'''''
|bgcolor="#E7FFE7"|{{chset-cell|0043|'''[[C]]'''}}<br/>'''''67'''''
|bgcolor="#E7FFE7"|{{chset-cell|0044|'''[[D]]'''}}<br/>'''''68'''''