Template:Punctuation marks in Unicode/doc: Difference between revisions

Content deleted Content added
 
(14 intermediate revisions by 3 users not shown)
Line 1:
* '''[[Punctuation]]'''
 
==General CatagoryCategory P''x'', punctuation==
:Listed are all code points in Genetral Category P:
{| class="wikitable"
|-
| colspan=6 data-sort-value="030" style="font-weight:bold" |{{mono|P}}, Punctuation mark
|-
|data-sort-value="031" | {{mono|Pc}} ||Punctuation, connector ||Graphic ||Character || 10 ||Includes "_" [[underscore]]
|-
|data-sort-value="032" | {{mono|Pd}} ||Punctuation, dash ||Graphic ||Character || 25 ||Includes several [[hyphen]] characters
Line 15 ⟶ 13:
|data-sort-value="034" | {{mono|Pe}} ||Punctuation, close ||Graphic ||Character || 77 ||Closing bracket characters
|-
|data-sort-value="035" | {{mono|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
|-
|data-sort-value="036" | {{mono|Pf}} ||Punctuation, final quote ||Graphic ||Character || 10 ||Closing quotation mark. May behave like Ps or Pe depending on usage
|-
|data-sort-value="031" | {{mono|Pc}} ||Punctuation, connector ||Graphic ||Character || 10 ||Includes "_" [[underscore]]
|-
|data-sort-value="037" | {{mono|Po}} ||Punctuation, other ||Graphic ||Character || 593 ||
Line 24:
|}
:''todo: check numbers; big table has 798 cp entries''
:''Numbers as of version {{unicode version|version=14.0}}, by {{slink|Andrew_West_(linguist)|BabelMap|nopage=yes}}''
 
===TOC for this table===
:{{tl|Punctuation marks in Unicode/TOC}} -- local, no pagename provided
{| style="font-size:90%"
 
|-
| {{slink||P, Punctuation marks in Unicode/TOC}}
|-
| {{slink||Pd, dash}}
|-
| {{slink||Ps-Pe, open–close (brackets)}}
|-
| {{slink||Pi-Pf, initial–final quote}}
|-
| {{slink||Pc, connector}}
|-
| {{slink||Po, other}}
|}
 
==Parameters==
:* {{tla|Punctuation marks in Unicode/row}}
:* {{tla|Punctuation marks in Unicode/row-pair|Punctuation marks in Unicode/row-pair}} -- for pair {{mono|Ps-Pe}} (brackets); {{mono|Pi-Pf}} (quotes)
 
:{{para|cp}}{{fsp|8}}code point, hex. Determines Character as shown, Name, anchors. Use normalised "000A" (uppercase) notation.
Line 52 ⟶ 41:
:{{para|style}}{{fsp|5}}{{code|large}} → double cell height, for example {{slink|Template:Punctuation marks in Unicode|U+104C|nopage=yes}}: {{mono|1=၌}}
:{{para|technote}}{{fsp|2}}maintenance info: is pair, is unbalanced pair, is vertical pair
::{{para|style, technote}} are shown in {{tla|Punctuation marks in Unicode/testcases|/testcases}}
 
For '''pairs''' (Pi-Pf quotes; Ps-Pe brackets); use {{tla|Punctuation marks in Unicode/row-pair|../row-pair}}:
:{{para|cp2}}{{fsp|7}}second code point
Line 58 ⟶ 49:
:{{para|char}} present for tests, could be removed when stable
 
<syntaxhighlight lang="wikitext">
<pre>
{{Punctuation marks in Unicode/row
| cp =
Line 69 ⟶ 60:
| gencat2 =
}}
</syntaxhighlight>
</pre>
 
Note: {{para|char}} is for checks only, might be removed later on.
 
* {{tltla|DiacriticsPunctuation marks in Unicode/TOC}}
:{{para|TOC|yes}} will show table-TOC
 
 
* {{tla|Punctuation marks in Unicode/subheader}}
:{{para|gencat}}
 
==Anchors==
* All marks are anchored twice: {{code|U+00B6}}, {{code|&#x00B6;}} (= as entity value ''and'' as character)
::{{code|1=cp=00B6}} &rarr; {{slink|1=Template:Punctuation marks in Unicode|2=U+00B6|nopage=yes}}, [entity &amp;#x00B6;] {{slink|Template:Punctuation marks in Unicode|&#x00B6;|nopage=yes}}, char [{{angbr|]}}: {{slink|Template:Punctuation marks in Unicode|¶|nopage=yes}}
:::[[Template:Punctuation marks in Unicode#U+00B6]]
 
Line 84 ⟶ 82:
:::[[Template:Punctuation marks in Unicode#U+2996]]
 
:When possible, notation {{code|U+00B6}} is preferred (first code point of a pair). ThisResult resaults inis nicer arrival (top of tablerow)
 
==See also==
* [[Punctuation]]
 
*{{tl|Diacritics in Unicode}}
{{Unicode templates}}
<includeonly>{{sandbox other||
[[:Category:Unicode templates]]
}}
</includeonly>