Difference between revisions of "Template:Chset-cell3/doc"
Jump to navigation
Jump to search
imported>Loadmaster (cat) |
imported>DePiep (→Usage: 4) |
||
| Line 12: | Line 12: | ||
* Parameter 3: ''dd'', Decimal character code, 1–3 digits (e.g., ''65'') | * 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+ | + | 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: |
<nowiki>{|</nowiki> | <nowiki>{|</nowiki> | ||
Revision as of 22:16, 21 September 2010
| 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
This template has been superseded by Template:chset-cell4.
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 (e.g., A), with link to appropriate article
- 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.