Difference between revisions of "Template:Chset-table-header/family-doc"

From blackwiki
Jump to navigation Jump to search
imported>HarJIT
imported>HarJIT
 
Line 10: Line 10:
  
 
====Character cell colors====
 
====Character cell colors====
 +
[[File:Symbol comment vote.svg|15px]] '''Note:''' if adjusting these colors, reference [[Template:Chset-table-header/family-test-sheet]] for a reference of how well they work together, and whether base / variant / boxed / legend colours are properly in sync.
 +
 
* [[Template:chset-color-letter]] — Letter (alphabetic, syllabic or logographic) character cell color (Unicode category L)
 
* [[Template:chset-color-letter]] — Letter (alphabetic, syllabic or logographic) character cell color (Unicode category L)
 
* [[Template:chset-color-digit]] — Number character cell color (Unicode category N)
 
* [[Template:chset-color-digit]] — Number character cell color (Unicode category N)
Line 18: Line 20:
 
* [[Template:chset-color-ctrl]] — Control character cell color (Unicode category Cc, Cf). Currently treated the same as misc.
 
* [[Template:chset-color-ctrl]] — Control character cell color (Unicode category Cc, Cf). Currently treated the same as misc.
 
* [[Template:chset-color-esc]] — Lead byte in a multi-byte encoding (not a complete character).
 
* [[Template:chset-color-esc]] — Lead byte in a multi-byte encoding (not a complete character).
 
'''Note:''' if adjusting these colours, reference [[Template:Chset-table-header/family-test-sheet]] for a reference of how well they work together, and whether base / variant / boxed / legend colours are properly in sync.
 
  
 
For generating colours for cells by Unicode category, [[User:HarJIT/Scripts/unicategorise.js|this script]] may be helpful.
 
For generating colours for cells by Unicode category, [[User:HarJIT/Scripts/unicategorise.js|this script]] may be helpful.

Latest revision as of 10:39, 16 August 2020

Chset family of templates

See ISO 8859-1, Windows-1252, and EBCDIC for examples of usage.

Header and footer rows

Character row header

Character cell colors

Symbol comment vote.svg Note: if adjusting these colors, reference Template:Chset-table-header/family-test-sheet for a reference of how well they work together, and whether base / variant / boxed / legend colours are properly in sync.

For generating colours for cells by Unicode category, this script may be helpful.

Certain colours are in the process of being phased out:

  • Template:chset-color-ext-punct — Extended punctuation character cell color. Intended to represent non-ASCII punctuation, this is not a category used by Unicode (and there are no corresponding ext-digit, ext-graph etc). Currently renders the same as punct.

In addition to these, boxed and slightly shaded variants of these exist in order to indicate some kind of additional information (depending on the article) like, for example, a derivation from a base codepage, a variance of definition of the corresponding codepage in different sources (to be explained in the article) or in different revisions of a code page:

and

Please note that the boxed variants must not be used, if a cell, which is not to be marked, is surrounded by four cells, which need to be marked, as this would make the central cell appear marked as well. The shaded variants do not exhibit this problem.

For as long as there is no need to differentiate one or a few of the cells in a group from the other cells in the same group, refer to the normal (that is, the non-"box"- or "var"-type) templates further above.

Character cell contents