Template:Punctuation marks in Unicode/doc
General Category Px, punctuation
- Listed are all code points in Genetral Category P:
P, Punctuation mark | |||||
Pd | Punctuation, dash | Graphic | Character | 25 | Includes several hyphen characters |
Ps | Punctuation, open | Graphic | Character | 75 | Opening bracket characters |
Pe | Punctuation, close | Graphic | Character | 77 | 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 |
Pc | Punctuation, connector | Graphic | Character | 10 | Includes "_" underscore |
Po | Punctuation, other | Graphic | Character | 593 | |
P | Punctuation | 798 | Total |
- todo: check numbers; big table has 798 cp entries
- Numbers as of version 14.0, by § BabelMap
TOC for this table
- {{Punctuation marks in Unicode/TOC}} -- local, no pagename provided
By Unicode General Category 'P' ( )
|
§ Pd, dash |
§ Ps-Pe, start–end (open–close brackets) |
§ Pi-Pf, initial–final quote |
§ Pc, connector |
§ Po, other |
Parameters
- {{Punctuation marks in Unicode/row}}
- {{Punctuation marks in Unicode/row-pair}} -- for pair Ps-Pe (brackets); Pi-Pf (quotes)
|cp=
code point, hex. Determines Character as shown, Name, anchors. Use normalised "000A" (uppercase) notation.|link=
link to article, will link from (first) name; optional|gencat=
Generic Category, Px by list definition|script=
character script property|style=
<syntaxhighlight lang="text" class="" style="" inline="1">large</syntaxhighlight> → double cell height, for example § U+104C: ၌|technote=
maintenance info: is pair, is unbalanced pair, is vertical pair|style, technote=
are shown in {{/testcases}}
For pairs (Pi-Pf quotes; Ps-Pe brackets); use {{../row-pair}}:
|cp2=
second code point|gencat2=
second generic category (expected: Pf or Pe)|
unused, do not existscript2, link2=|char=
present for tests, could be removed when stable
<syntaxhighlight lang="wikitext"> |- id="&#x;" | style="text-align:center; padding:0.2em; font-size:225%; vertical-align:middle; line-height:1.1em;" data-sort-value="0" | &#x; | Lua error in Module:Unicode_data at line 530: Parameter 2 is not a code point in hexadecimal base. | style="text-align:left" | U+ | , ERR unknown gencat: |
</syntaxhighlight>
Note: |char=
is for checks only, might be removed later on.
|TOC=yes
will show table-TOC
|gencat=
Anchors
- All marks are anchored twice: <syntaxhighlight lang="text" class="" style="" inline="1">U+00B6</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">¶</syntaxhighlight> (= as entity value and as character)
- When possible, notation <syntaxhighlight lang="text" class="" style="" inline="1">U+00B6</syntaxhighlight> is preferred (first code point of a pair). Result is nicer arrival (top of tablerow)