Template:Unichar/sandbox
Jump to navigation
Jump to search
Err_/main1: Error_/ec2: Blank codepoint value
| This is the template sandbox page for Template:Unichar (diff). See also the companion subpage for test cases. |
Contents
Development
- Unichar/main (/sbox edit diff /test | Source e Talk hist links # /subpages /doc)
- Unichar/errorcheck (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) --new
- Unichar/errorcheck/general_category (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) --new
- Unichar/hexvalue (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) --new
- Unichar/hexformat (/sbox edit diff /test | Source e Talk hist links # /subpages /doc)
- Unichar/glyph (/sbox edit diff /test | Source e Talk hist links # /subpages /doc)
- Unichar/name (/sbox edit diff /test | Source e Talk hist links # /subpages /doc)
- Unichar/notes (/sbox edit diff /test | Source e Talk hist links # /subpages /doc)
support
- Click here to see a monthly parameter usage report for Template:Unichar.
- Template:Unichar/sandbox/doc(edit talk links history)
- {{hex2dec}} {{dec2hex}} {{mono}} {{sans-serif}}
- {{Script}}, Unicode scripts
gencat
| General Category (Unicode Character Property)[lower-alpha 1] | |||||
|---|---|---|---|---|---|
| Value | Category Major, minor | Basic type[lower-alpha 2] | Character assigned[lower-alpha 2] | Count (as of 13.0) |
Remarks |
| L, Letter | |||||
| Lu | Letter, uppercase | Graphic | Character | 1,791 | |
| Ll | Letter, lowercase | Graphic | Character | 2,155 | |
| Lt | Letter, titlecase | Graphic | Character | 31 | Ligatures containing uppercase followed by lowercase letters (e.g., Dž, Lj, Nj, and Dz) |
| Lm | Letter, modifier | Graphic | Character | 260 | A modifier letter |
| Lo | Letter, other | Graphic | Character | 127,004 | An ideograph or a letter in a unicase alphabet |
| M, Mark | |||||
| Mn | Mark, nonspacing | Graphic | Character | 1,839 | |
| Mc | Mark, spacing combining | Graphic | Character | 443 | |
| Me | Mark, enclosing | Graphic | Character | 13 | |
| N, Number | |||||
| Nd | Number, decimal digit | Graphic | Character | 650 | All these, and only these, have Numeric Type = De[lower-alpha 3] |
| Nl | Number, letter | Graphic | Character | 236 | Numerals composed of letters or letterlike symbols (e.g., Roman numerals) |
| No | Number, other | Graphic | Character | 895 | E.g., vulgar fractions, superscript and subscript digits |
| P, Punctuation | |||||
| Pc | Punctuation, connector | Graphic | Character | 10 | Includes "_" underscore |
| Pd | Punctuation, dash | Graphic | Character | 25 | Includes several hyphen characters |
| Ps | Punctuation, open | Graphic | Character | 75 | Opening bracket characters |
| Pe | Punctuation, close | Graphic | Character | 73 | Closing bracket characters |
| Pi | Punctuation, initial quote | Graphic | Character | 12 | Opening quotation mark. Does not include the ASCII "neutral" quotation mark. May behave like Ps or Pe depending on usage |
| Pf | Punctuation, final quote | Graphic | Character | 10 | Closing quotation mark. May behave like Ps or Pe depending on usage |
| Po | Punctuation, other | Graphic | Character | 593 | |
| S, Symbol | |||||
| Sm | Symbol, math | Graphic | Character | 948 | Mathematical symbols (e.g., +, −, =, ×, ÷, √, ∊, ≠). Does not include parentheses and brackets, which are in categories Ps and Pe. Also does not include !, *, -, or /, which despite frequent use as mathematical operators, are primarily considered to be "punctuation". |
| Sc | Symbol, currency | Graphic | Character | 62 | Currency symbols |
| Sk | Symbol, modifier | Graphic | Character | 123 | |
| So | Symbol, other | Graphic | Character | 6,431 | |
| Z, Separator | |||||
| Zs | Separator, space | Graphic | Character | 17 | Includes the space, but not TAB, CR, or LF, which are Cc |
| Zl | Separator, line | Format | Character | 1 | Only U+2028 LINE SEPARATOR (LSEP) |
| Zp | Separator, paragraph | Format | Character | 1 | Only U+2029 PARAGRAPH SEPARATOR (PSEP) |
| C, Other | |||||
| Cc | Other, control | Control | Character | 65 (will never change)[lower-alpha 3] | No name,[lower-alpha 4] <control> |
| Cf | Other, format | Format | Character | 161 | Includes the soft hyphen, joining control characters (zwnj and zwj), control characters to support bi-directional text, and language tag characters |
| Cs | Other, surrogate | Surrogate | Not (but abstract) | 2,048 (will never change)[lower-alpha 3] | No name,[lower-alpha 4] <surrogate> |
| Co | Other, private use | Private-use | Not (but abstract) | 137,468 total (will never change)[lower-alpha 3] (6,400 in BMP, 131,068 in Planes 15–16) | No name,[lower-alpha 4] <private-use> |
| Cn | Other, not assigned | Noncharacter | Not | 66 (will never change)[lower-alpha 3] | No name,[lower-alpha 4] <noncharacter> |
| Reserved | Not | 830,606 | No name,[lower-alpha 4] <reserved> | ||
| |||||
u-lk, n-lk
options
|note=|format=html, dec, sans, abbr, alias, sort, c-with|table=|debug=
- notes old
|dval={{{dval|}}}
|dec={{{dec|}}}
|html={{{html|}}}
|char_entity={{#ifeq:{{{html|+}}}|{{{html|-}}}
|{{numcr2namecr|{{{dval|}}}|base=10|errormsg=}}}}
|note={{{note|}}} |finaltext={{{finaltext|NOTEXT}}} }}
non-standard names
Label not name
- C. = <control>
- Cc Other, control Control <control>
Cs Other, surrogate Surrogate <surrogate> Co Other, private use Private-use <private-use>
Cn Other, not assigned Noncharacter <noncharacter> Cn Reserved <reserved>
not label:
Cf Other, format Format Includes the soft hyphen, joining control characters (zwnj and zwj), ..
- subpages
- blank in = blank out
- err = suppress/debug
parameters
| The above documentation is transcluded from Template:Unichar/sandbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |