Template:Chset-cell-unified/doc

This template is the metatemplate behind, , , , , and. The intention is to implement them using this template and thus make it easier to keep them in sync.

Usage
Used with Template:chset-tableformat to indicate a table cell.


 * First row:
 * Parameter : the character in question. May link to the appropriate article or Wiktionary page if appropriate. Only provide for a non-control, non-whitespace printing character. If there are alternative characters separate with a slash. If it is a sequence of characters put them next to each other.
 * Parameter : XX, name of a whitespace, control, format, separator or otherwise non-printing character (e.g., SP, LF, HT, NBSP, ZWNJ, PDO), with link to appropriate article if it exists. Do not provide at the same time as  . This just does template:sc2 so you can use that if you need to combine a control with a normal character. You can also use lower-case letters to get tinier text to fit a longer string in.
 * Parameter : printed in normal (small) size after the letter. This is useful to add a reference or template:efn footnote to the glyph.
 * Second row:
 * Parameter : hhhh, Unicode value in hexadecimal, 4 digits for most codepoints (those on the Basic Multilingual Plane) and 5 otherwise, (e.g., 0020, 1D44A).
 * A little-used feature is that if the  field is blank, the matching Unicode character is placed there, but this only works if this is just a hex number.
 * If there are multiple mappings separate them with a slash (such as ), if this translates to a series of characters separate them with a space.
 * Set to  for a character without a Unicode mapping. Alternatively, if a Private Use Area mapping is in established/documented use for such a character (e.g. the Apple logo in Mac OS Roman) then it may be given, but don't make them up.
 * Set to  for a lead byte (rather than a character).   is not a hex digit so this is unambiguous (or use the hex code to indicate something about what lead byte this is, for example in UTF-8).
 * Subsequent rows:
 * Parameter : arbitrary text drawn in bold, for displaying input methods. This is most often a decimal number for the Windows Alt code input.
 * Parameter : a second line of arbitrary text drawn in bold. You probably should not use this unless the input method really uses a second form.
 * Parameter : arbitrary text not in bold. For JIS (men)kuten, GB quwei, KS hangyol or equivalent code (English: (plane-)row-cell, or (plane-)section-position).
 * This is a important identifier for characters in CJK DBCSs such as JIS X 0208 (more so than e.g., which is not usually used for a DBCS).
 * (d(d)-)d(d)-d(d) (two or three numbers of up to two digits each, e.g.,,  ). Generally numbers 1 through 94 correspond with encoding bytes of either 0x21 through 0x7E, or 0xA1 through 0xFE.
 * For a lead byte, specify underscores in place of subsequent numbers, this may look something like.
 * For visual consistency, may be set to  for a byte which is not within the lead/trail byte range, but which is in the same line as those which are.

You should use the same entries for every cell in a table (or at least in a table row), otherwise they will not line up horizontally. Use  if a field should be blank.

Examples
A few examples: