Difference between revisions of "Template:Bidi Class (Unicode)/sandbox"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| Line 1: | Line 1: | ||
{| class="wikitable sortable collapsible {{{state|{{template other|un}}collapsed}}}" style="width:100%;" | {| class="wikitable sortable collapsible {{{state|{{template other|un}}collapsed}}}" style="width:100%;" | ||
! colspan=6 style="border:1px solid grey; line-height:1.75em;" | Bidirectional character type<small> ([[Unicode]] [[Unicode character property|character property]] Bidi_Class)</small>{{ref label|Bidi_UAX9|1}} {{navbar|Bidi Class (Unicode)|mini=1|style=float:left;padding:2px;}} | ! colspan=6 style="border:1px solid grey; line-height:1.75em;" | Bidirectional character type<small> ([[Unicode]] [[Unicode character property|character property]] Bidi_Class)</small>{{ref label|Bidi_UAX9|1}} {{navbar|Bidi Class (Unicode)|mini=1|style=float:left;padding:2px;}} | ||
| − | |- | + | |- |
! Type{{ref label|Bidi_Class|2}} !! Description !! Strong/{{zwsp}}Weak/{{zwsp}}Neutral effect !! Directionality !! General scope !! Bidi_Control character{{ref label|Bidi_Control|3}} | ! Type{{ref label|Bidi_Class|2}} !! Description !! Strong/{{zwsp}}Weak/{{zwsp}}Neutral effect !! Directionality !! General scope !! Bidi_Control character{{ref label|Bidi_Control|3}} | ||
|- | |- | ||
| Line 18: | Line 18: | ||
| {{sort|07|RLO}} || Right-to-Left Override || Strong || R-to-L || RLO character only || {{unichar|202E|‭Right-to-Left Override|note=RLO}}<!--needs 202D LRO to prevent RTL-writing --> | | {{sort|07|RLO}} || Right-to-Left Override || Strong || R-to-L || RLO character only || {{unichar|202E|‭Right-to-Left Override|note=RLO}}<!--needs 202D LRO to prevent RTL-writing --> | ||
|- | |- | ||
| − | | {{sort| | + | | {{sort|11|PDF}} || Pop Directional Format || Weak || || PDF character only || {{unichar|202C|Pop Directional Formatting|note=PDF}} |
|- | |- | ||
| − | | {{sort| | + | | {{sort|12|EN}} || European Number || Weak || || European digits, Eastern Arabic-Indic digits, ... || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|13|ES}} || European Separator || Weak || || {{smallcaps|plus sign}}, {{smallcaps|minus sign}}, ... || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|14|ET}} || European Number Terminator || Weak || || {{smallcaps|degree sign}}, currency symbols, ... || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|15|AN}} || Arabic Number || Weak || || Arabic-Indic digits, Arabic decimal and thousands separators, ... || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|16|CS}} || Common Number Separator || Weak || || {{smallcaps|colon}}, {{smallcaps|comma}}, {{smallcaps|full stop}}, {{Smallcaps|no-break space}}, ... || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|17|NSM}} || Nonspacing Mark || Weak || || Characters in General Categories Mark, nonspacing and Mark, enclosing (Mn, Me) || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|18|BN}} || Boundary Neutral || Weak || || Default ignorables, non-characters, control characters other than those explicitly given other types || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|21|B}} || Paragraph Separator || Neutral || || {{smallcaps|paragraph separator}}, appropriate Newline Functions, higher-level protocol paragraph determination || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|21|S}} || Segment Separator || Neutral || || Tab || |
|- | |- | ||
| − | | {{sort| | + | | {{sort|22|WS}} || Whitespace || Neutral || || {{smallcaps|space}}, {{smallcaps|figure space}}, {{smallcaps|line separator}}, {{smallcaps|form feed}}, General Punctuation block spaces || This set is smaller than [[Unicode character property#Whitespace|Unicode whitespace]] list |
|- | |- | ||
| − | | {{sort| | + | | {{sort|23|ON}} || Other Neutrals || Neutral || || All other characters, including {{smallcaps|object replacement character}} || |
|- | |- | ||
| colspan="6" | '''Notes''' | | colspan="6" | '''Notes''' | ||
Revision as of 13:03, 16 October 2013
| Bidirectional character type (Unicode character property Bidi_Class)Template:Ref label | |||||
|---|---|---|---|---|---|
| TypeTemplate:Ref label | Description | Strong/Weak/Neutral effect | Directionality | General scope | Bidi_Control characterTemplate:Ref label |
| L | Left-to-Right | Strong | L-to-R | Most alphabetic and syllabic characters, Han ideographs, non-European or non-Arabic digits, LRM character, ... | Template:Unichar |
| LRE | Left-to-Right Embedding | Strong | L-to-R | LRE character only | Template:Unichar |
| LRO | Left-to-Right Override | Strong | L-to-R | LRO character only | Template:Unichar |
| R | Right-to-Left | Strong | R-to-L | Hebrew alphabet and related punctuation, RLM character | Template:Unichar |
| AL | Right-to-Left Arabic | Strong | R-to-L | Arabic, Thaana and Syriac alphabets, and most punctuation specific to those scripts | |
| RLE | Right-to-Left Embedding | Strong | R-to-L | RLE character only | Template:Unichar |
| RLO | Right-to-Left Override | Strong | R-to-L | RLO character only | Template:Unichar |
| Pop Directional Format | Weak | PDF character only | Template:Unichar | ||
| EN | European Number | Weak | European digits, Eastern Arabic-Indic digits, ... | ||
| ES | European Separator | Weak | Template:Smallcaps, Template:Smallcaps, ... | ||
| ET | European Number Terminator | Weak | Template:Smallcaps, currency symbols, ... | ||
| AN | Arabic Number | Weak | Arabic-Indic digits, Arabic decimal and thousands separators, ... | ||
| CS | Common Number Separator | Weak | Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, ... | ||
| NSM | Nonspacing Mark | Weak | Characters in General Categories Mark, nonspacing and Mark, enclosing (Mn, Me) | ||
| BN | Boundary Neutral | Weak | Default ignorables, non-characters, control characters other than those explicitly given other types | ||
| B | Paragraph Separator | Neutral | Template:Smallcaps, appropriate Newline Functions, higher-level protocol paragraph determination | ||
| S | Segment Separator | Neutral | Tab | ||
| WS | Whitespace | Neutral | Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, General Punctuation block spaces | This set is smaller than Unicode whitespace list | |
| ON | Other Neutrals | Neutral | All other characters, including Template:Smallcaps | ||
Notes
| |||||
| This is the template sandbox page for Template:Bidi Class (Unicode) (diff). |
Bidi Class is a Unicode character property, also known as Bidirectional character type. The table is defined in Standard Annex #9: "Unicode Bidirectional Algorithm".
Usage
This template does not take any parameters, and the table is collapsed by default.
See also
| The above documentation is transcluded from Template:Bidi Class (Unicode)/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |