Difference between revisions of "Template:Bidi Class (Unicode)"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(there is a big difference between <includeonly> and <onlyinclude>, if you use <onlyinclude> that is the only thing included, so this was making the template equivalent to the text "collapsed", which is a very unfortunate typo)
imported>DePiep
(Undid revision 538908576 by Frietjes (talk) premature. Also, one would like {{sort}})
Line 4: Line 4:
 
! 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}}
 
|-
 
|-
| {{hs|01}}L || Left-to-Right || Strong || L-to-R || Most alphabetic and syllabic characters, Han ideographs, non-European or non-Arabic digits, LRM character, ... || {{unichar|200E|Left-to-right mark|link=|note=LRM}}
+
| {{sms|01}}L || Left-to-Right || Strong || L-to-R || Most alphabetic and syllabic characters, Han ideographs, non-European or non-Arabic digits, LRM character, ... || {{unichar|200E|Left-to-right mark|link=|note=LRM}}
 
|-
 
|-
| {{hs|02}}LRE || Left-to-Right Embedding || Strong || L-to-R || LRE character only || {{unichar|202A|Left-to-Right Embedding|note=LRE}}
+
| {{sms|02}}LRE || Left-to-Right Embedding || Strong || L-to-R || LRE character only || {{unichar|202A|Left-to-Right Embedding|note=LRE}}
 
|-
 
|-
| {{hs|03}}LRO || Left-to-Right Override || Strong || L-to-R || LRO character only || {{unichar|202D|Left-to-Right Override|note=LRO}}
+
| {{sms|03}}LRO || Left-to-Right Override || Strong || L-to-R || LRO character only || {{unichar|202D|Left-to-Right Override|note=LRO}}
 
|-
 
|-
| {{hs|04}}R || Right-to-Left || Strong || R-to-L || Hebrew alphabet and related punctuation, RLM character || {{unichar|200F|Right-to-left mark|link=|note=RLM}}
+
| {{sms|04}}R || Right-to-Left || Strong || R-to-L || Hebrew alphabet and related punctuation, RLM character || {{unichar|200F|Right-to-left mark|link=|note=RLM}}
 
|-
 
|-
| {{hs|05}}AL || Right-to-Left Arabic || Strong || R-to-L || Arabic, Thaana and Syriac alphabets, and most punctuation specific to those scripts ||
+
| {{sms|05}}AL || Right-to-Left Arabic || Strong || R-to-L || Arabic, Thaana and Syriac alphabets, and most punctuation specific to those scripts ||
 
|-
 
|-
| {{hs|06}}RLE || Right-to-Left Embedding || Strong || R-to-L || RLE character only || {{unichar|202B|&#x202D;Right-to-Left Embedding|note=RLE}}<!--needs 202D LRO to prevent RTL-writing -->
+
| {{sms|06}}RLE || Right-to-Left Embedding || Strong || R-to-L || RLE character only || {{unichar|202B|&#x202D;Right-to-Left Embedding|note=RLE}}<!--needs 202D LRO to prevent RTL-writing -->
 
|-
 
|-
| {{hs|07}}RLO || Right-to-Left Override || Strong || R-to-L || RLO character only || {{unichar|202E|&#x202D;Right-to-Left Override|note=RLO}}<!--needs 202D LRO to prevent RTL-writing -->
+
| {{sms|07}}RLO || Right-to-Left Override || Strong || R-to-L || RLO character only || {{unichar|202E|&#x202D;Right-to-Left Override|note=RLO}}<!--needs 202D LRO to prevent RTL-writing -->
 
|-
 
|-
| {{hs|08}}PDF || Pop Directional Format || Weak || || PDF character only || {{unichar|202C|Pop Directional Formatting|note=PDF}}
+
| {{sms|08}}PDF || Pop Directional Format || Weak || || PDF character only || {{unichar|202C|Pop Directional Formatting|note=PDF}}
 
|-
 
|-
| {{hs|09}}EN || European Number || Weak || || European digits, Eastern Arabic-Indic digits, ... ||
+
| {{sms|09}}EN || European Number || Weak || || European digits, Eastern Arabic-Indic digits, ... ||
 
|-
 
|-
| {{hs|10}}ES || European Separator || Weak || || {{smallcaps|plus sign}}, {{smallcaps|minus sign}}, ... ||
+
| {{sms|10}}ES || European Separator || Weak || || {{smallcaps|plus sign}}, {{smallcaps|minus sign}}, ... ||
 
|-
 
|-
| {{hs|11}}ET || European Number Terminator || Weak || || {{smallcaps|degree sign}}, currency symbols, ... ||
+
| {{sms|11}}ET || European Number Terminator || Weak || || {{smallcaps|degree sign}}, currency symbols, ... ||
 
|-
 
|-
| {{hs|12}}AN || Arabic Number || Weak || || Arabic-Indic digits, Arabic decimal and thousands separators, ... ||
+
| {{sms|12}}AN || Arabic Number || Weak || || Arabic-Indic digits, Arabic decimal and thousands separators, ... ||
 
|-
 
|-
| {{hs|13}}CS || Common Number Separator || Weak || || {{smallcaps|colon}}, {{smallcaps|comma}}, {{smallcaps|full stop}}, {{Smallcaps|no-break space}}, ... ||
+
| {{sms|13}}CS || Common Number Separator || Weak || || {{smallcaps|colon}}, {{smallcaps|comma}}, {{smallcaps|full stop}}, {{Smallcaps|no-break space}}, ... ||
 
|-
 
|-
| {{hs|14}}NSM || Nonspacing Mark || Weak || || Characters in General Categories Mark, nonspacing and Mark, enclosing (Mn, Me) ||
+
| {{sms|14}}NSM || Nonspacing Mark || Weak || || Characters in General Categories Mark, nonspacing and Mark, enclosing (Mn, Me) ||
 
|-
 
|-
| {{hs|15}}BN || Boundary Neutral || Weak || || Default ignorables, non-characters, control characters other than those explicitly given other types ||
+
| {{sms|15}}BN || Boundary Neutral || Weak || || Default ignorables, non-characters, control characters other than those explicitly given other types ||
 
|-
 
|-
| {{hs|16}}B || Paragraph Separator || Neutral || || {{smallcaps|paragraph separator}}, appropriate Newline Functions, higher-level protocol paragraph determination ||
+
| {{sms|16}}B || Paragraph Separator || Neutral || || {{smallcaps|paragraph separator}}, appropriate Newline Functions, higher-level protocol paragraph determination ||
 
|-
 
|-
| {{hs|17}}S || Segment Separator || Neutral || || Tab ||
+
| {{sms|17}}S || Segment Separator || Neutral || || Tab ||
 
|-
 
|-
| {{hs|18}}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
+
| {{sms|18}}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
 
|-
 
|-
| {{hs|19}}ON || Other Neutrals || Neutral || || All other characters, including {{smallcaps|object replacement character}} ||
+
| {{sms|19}}ON || Other Neutrals || Neutral || || All other characters, including {{smallcaps|object replacement character}} ||
 
|-
 
|-
 
| colspan="6" | '''Notes'''
 
| colspan="6" | '''Notes'''

Revision as of 23:41, 18 February 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
Template:SmsL Left-to-Right Strong L-to-R Most alphabetic and syllabic characters, Han ideographs, non-European or non-Arabic digits, LRM character, ... Template:Unichar
Template:SmsLRE Left-to-Right Embedding Strong L-to-R LRE character only Template:Unichar
Template:SmsLRO Left-to-Right Override Strong L-to-R LRO character only Template:Unichar
Template:SmsR Right-to-Left Strong R-to-L Hebrew alphabet and related punctuation, RLM character Template:Unichar
Template:SmsAL Right-to-Left Arabic Strong R-to-L Arabic, Thaana and Syriac alphabets, and most punctuation specific to those scripts
Template:SmsRLE Right-to-Left Embedding Strong R-to-L RLE character only Template:Unichar
Template:SmsRLO Right-to-Left Override Strong R-to-L RLO character only Template:Unichar
Template:SmsPDF Pop Directional Format Weak PDF character only Template:Unichar
Template:SmsEN European Number Weak European digits, Eastern Arabic-Indic digits, ...
Template:SmsES European Separator Weak Template:Smallcaps, Template:Smallcaps, ...
Template:SmsET European Number Terminator Weak Template:Smallcaps, currency symbols, ...
Template:SmsAN Arabic Number Weak Arabic-Indic digits, Arabic decimal and thousands separators, ...
Template:SmsCS Common Number Separator Weak Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, ...
Template:SmsNSM Nonspacing Mark Weak Characters in General Categories Mark, nonspacing and Mark, enclosing (Mn, Me)
Template:SmsBN Boundary Neutral Weak Default ignorables, non-characters, control characters other than those explicitly given other types
Template:SmsB Paragraph Separator Neutral Template:Smallcaps, appropriate Newline Functions, higher-level protocol paragraph determination
Template:SmsS Segment Separator Neutral Tab
Template:SmsWS Whitespace Neutral Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, Template:Smallcaps, General Punctuation block spaces This set is smaller than Unicode whitespace list
Template:SmsON Other Neutrals Neutral All other characters, including Template:Smallcaps
Notes
1. ^ Unicode Bidirectional Algorithm (UAX#9), As of version 6.0.0
2.^ Possible Bidirectional character types for character property: Bidi_Class or 'type'
3.^ Bidi_Control characters: Seven Bidi_Control formatting characters are defined. They are invisible, and have no effect apart from directionality. Five of them have a unique, overruling BiDi-type that is used by the algorithm; their type is also their acronym (e.g. character 'LRE' has BiDi type 'LRE').
Template documentation[view] [edit] [history] [purge]

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

Template:Unicode templates