Template:Chset-cell3/doc
< Template:Chset-cell3
Jump to navigation
Jump to search
Revision as of 07:22, 11 September 2011 by imported>Coroboy (→Note: This template is not superseded)
| This is a documentation subpage for Template:Chset-cell3. It contains usage information, categories and other content that is not part of the original template page. |
Note
Template:chset-cell4 is available to additionally display octal code point.
Usage
Used with Template:chset-tableformat to indicate a printable character table cell.
- Parameter 1: hhhh, Hexadecimal Unicode value, 4 digits (e.g., 0041)
- Parameter 2: X, Displayable character with link to appropriate article (e.g., [[A]]); defaults to "&#xhhhh;" using the value of parameter 1
- Parameter 3: dd, Decimal character code, 1–3 digits (e.g., 65)
For example, the first four alphabetic ASCII characters "A" through "D" (Unicode U+0041 through U+0044, decimal 65 through 68) are coded as rows in a character set table like this:
{|
|{{chset-color-alpha}}|{{chset-cell3|0041|[[A]]|65}}
|{{chset-color-alpha}}|{{chset-cell3|0042|[[B]]|66}}
|{{chset-color-alpha}}|{{chset-cell3|0043|[[C]]|67}}
|{{chset-color-alpha}}|{{chset-cell3|0044|[[D]]|68}}
|}
Which yields:
| A 0041 65 |
B 0042 66 |
C 0043 67 |
D 0044 68 |
Note: This template replaces Template:chset-cell.
See also
- Template:chset-cell4
- Template:chset-ctrl3
- Template:chset-color-alpha
- Template:chset-color-digit
- Template:chset-color-graph
- Template:chset-color-intl
- Template:chset-color-punct
- Template:chset-color-undef
- Template:Chset-table-header
- Template:Chset-table-footer