Wikipedia:WikiProject Typography/Unicode: Difference between revisions

Content deleted Content added
table example
Unicode tables: add detailed explaination
Line 15:
| {{Unicode|☷}}
|
| [[BaguaBa gua (concept)|Trigram]] for Earth
| 2632637
| 9783
|-
Line 37:
| 9786
|}
 
The table format has the following design features:
* Sortable
* "Char" column
** The literal Unicode [[Character (computing)|character]]
** For web browsers which support Unicode and can render it properly, gives the user a "native" presentation
** Allows the reader to copy-and-paste the characters for real usage (like [[Charmap]])
** The {{tl|Unicode}} template is used to enable workarounds for known Unicode implementation issues
* "Image" column
** A sample rendering of the Unicode [[glyph]], as a [[raster graphics|raster]] or [[vector graphics|vector]] graphic
** For systems/browsers which cannot render Unicode (or specific characters), allows the reader to see intended appearance
** Provides a consistency check for character, image, and browser. Discrepancies will stand out.
* "Name" column
** The official [[codepoint]] name, as specified by the [[Unicode Consortium]]
** Either the entire name, or individual words, may be wikilinked to articles
** When the appropriate article title does not match the word(s) of the official name, piped links should be used to preserve the official name
** Additional names or references can be provided in parenthesis, if needed
** For illustration, in the above table:
*** Only "Trigram" is wikilinked, because "of Earth" is not part of [[ba gua (concept)]]
*** All of "Wheel of Dharma" is wikilinked, because [[Dharmacakra]] is synonymous with "Wheel of Dharma"
*** "Emoticon" is a parenthetical, as that is not part of the official Unicode codepoint name
* "Decimal" and "Hex" columns
** The codepoint number, in both [[decimal]] (base ten) and [[hexidecimal]] (base 16) formats
** Syntax is omitted (e.g., “<code>U+</code>”, “<code>&u</code>”, “<code>0x</code>”, etc.)
** Such syntax is specific to the usage (Unicode specification, HTML, Perl, etc.); it is not a universal form. By omitting it, anyone can copy-and-paste the actual value, and add whatever syntax they need (or none at all).
** Such prefixes also prevent table columns from sorting properly
* The plan is to eventually add some kind of standard explanation of the columns to the tables, most likely as an adjacent template, or maybe links from the headers. Ideas welcome!
 
=== Articles with Unicode tables ===