Template:Unichar/testcases
Appearance
This is the template test cases page for the sandbox of Template:Unichar. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
No smallcaps (Dec 2020)
[edit]{{Unichar}} | {{Unichar/sandbox}} |
---|---|
U+00A2 ¢ CENT SIGN | U+00A2 ¢ CENT SIGN |
{{Unichar}} | {{Unichar/sandbox}} |
---|---|
U+00A2 ¢ CENT SIGN | U+00A2 ¢ CENT SIGN |
name link
[edit]{{Unichar}} | {{Unichar/sandbox}} |
---|---|
U+00A2 ¢ CENT SIGN | U+00A2 ¢ CENT SIGN |
{{Unichar}} | {{Unichar/sandbox}} |
---|---|
U+00A2 ¢ CENT SIGN | U+00A2 ¢ CENT SIGN |
basic sc
[edit]- sc2: UC lc
- sc2, uc: UC LC
infobox
[edit]€ | |
---|---|
Unichar/testcases | |
In Unicode | U+20AC € EURO SIGN U+20AC € EURO SIGN |
Currency | |
Currency | Euro |
Category |
uchar: | U+20AC € EURO SIGN |
---|---|
sbox: | U+20AC € EURO SIGN |
Smallcaps
[edit]- Dec 2020.
Unichar/sandbox
[edit]{{unichar/sandbox}} + stack: /main/sandbox, {{Unichar/name/sandbox}}
- Test: use {{Smallcaps}} not Sc2. 17:48, 14 December 2020 (UTC)~
- {{unichar/sandbox|203B|REFERENCE mark}} → U+203B ※ REFERENCE MARK -- mixed case
- {{unichar/sandbox|203B|reference mark}} → U+203B ※ REFERENCE MARK -- all lc
- sc
- Not used in
{{Unichar}}
- {{sc}} -> R to {{Smallcaps all}}
- REFERENCE MARK -- mixed case in
<span class="smallcaps"><span style="font-variant: small-caps; text-transform: lowercase;">REFERENCE MARK</span></span>
- sc2
- {{smallcaps2}} (sc2)
- REFERENCE mark (mixed case)
- reference mark (all lc)
<templatestyles src="smallcaps/styles.css"/><span class="smallcaps smallcaps-smaller">reference mark</span>
SBOX
- {{smallcaps2/sandbox}} (all lc)
- reference mark (changed: class="smallcaps")
<templatestyles src="smallcaps/styles.css"/><span class="smallcaps">reference mark</span>
Unichar
[edit]{{unichar}}
Test1-basic
{{Unichar|203B|REFERENCE mark}}
{{Unichar}}
U+203B ※ REFERENCE MARK
{{Unichar/sandbox}}
U+203B ※ REFERENCE MARK
Test1-basic
{{Unichar|203B|REFERENCE mark|nlink=}}
{{Unichar}}
U+203B ※ REFERENCE MARK
{{Unichar/sandbox}}
U+203B ※ REFERENCE MARK
Test1-basic
{{Unichar|203B|REFERENCE mark|nlink=Main page}}
{{Unichar}}
U+203B ※ REFERENCE MARK
{{Unichar/sandbox}}
U+203B ※ REFERENCE MARK
In an infobox
[edit]€ | |
---|---|
Unichar/testcases | |
In Unicode | U+20AC € EURO SIGN (€) |
Currency | |
Currency | Euro |
Related | |
See also | U+20A0 ₠ EURO-CURRENCY SIGN (predecessor). |
Category |
€ | |
---|---|
Unichar/testcases | |
In Unicode | U+20AC € EURO SIGN (€) |
Currency | |
Currency | Euro |
Related | |
See also | U+20A0 ₠ EURO-CURRENCY SIGN (predecessor). |
Category |
Special code points: control, surrogate, private, non-character (Cc Cs Co Cn) in BMP
[edit]- Note: only fixed non-characters are testable for now (explicitly defined cps, e.g. FFFF). "reserved" non-characters are not detected.
- U+0000 <control-0000>
- U+0000 <control-0000>
- U+00A0 NO-BREAK SPACE
- U+00A0 NO-BREAK SPACE
- U+FFFD � REPLACEMENT CHARACTER
- U+FFFD � REPLACEMENT CHARACTER
- U+FFFE <noncharacter-FFFE>
- U+FFFE <noncharacter-FFFE>
- U+FFFF <noncharacter-FFFF>
- U+FFFF <noncharacter-FFFF>
- U+D800 <surrogate-D800>
- U+D800 <surrogate-D800>
- U+DFFE <surrogate-DFFE>
- U+DFFE <surrogate-DFFE>
- U+DFFF <surrogate-DFFF>
- U+DFFF <surrogate-DFFF>
- U+E000 <private-use-E000>
- U+E000 <private-use-E000>
- U+F8FF <private-use-F8FF>
- U+F8FF <private-use-F8FF>
- U+FDD0 <noncharacter-FDD0>
- U+FDD0 <noncharacter-FDD0>
- U+FFFF <noncharacter-FFFF>
- U+FFFF <noncharacter-FFFF>
Special code points (control, surrogate, private) not in BMP
[edit]* {{unichar}} * {{unichar/sandbox}} * U+1FFFD <reserved-1FFFD>
- U+1FFFD <reserved-1FFFD>
- U+2FFFD <reserved-2FFFD>
- U+2FFFD <reserved-2FFFD>
- U+2FFFE <noncharacter-2FFFE>
- U+2FFFE <noncharacter-2FFFE>
- U+2FFFF <noncharacter-2FFFF>
- U+2FFFF <noncharacter-2FFFF>
- U+EFFFE <noncharacter-EFFFE>
- U+EFFFE <noncharacter-EFFFE>
- U+EFFFF <noncharacter-EFFFF>
- U+EFFFF <noncharacter-EFFFF>
- U+EFFFD <reserved-EFFFD>
- U+EFFFD <reserved-EFFFD>
- U+FFFFE <noncharacter-FFFFE>
- U+FFFFE <noncharacter-FFFFE>
- U+FFFFF <noncharacter-FFFFF>
- U+FFFFF <noncharacter-FFFFF>
- U+0000 <control-0000>
- U+0000 <control-0000>
Spaces (Zs)
[edit]- Space U+0020 SPACE
- Space U+0020 SPACE
- Space U+00A0 NO-BREAK SPACE ( ,  )
- Space U+00A0 NO-BREAK SPACE ( ,  )
- Space U+01680 OGHAM SPACE MARK
- Space U+01680 OGHAM SPACE MARK
- Space U+0180E MONGOLIAN VOWEL SEPARATOR
- Space U+0180E MONGOLIAN VOWEL SEPARATOR
- Space U+02002 EN SPACE ( )
- Space U+02002 EN SPACE ( )
- Space U+2003 EM SPACE ( )
- Space U+2003 EM SPACE ( )
- Space U+200D ZERO WIDTH JOINER (‍)
- Space U+200D ZERO WIDTH JOINER (‍)
- Space U+202F NARROW NO-BREAK SPACE
- Space U+202F NARROW NO-BREAK SPACE
- Space U+205F MEDIUM MATHEMATICAL SPACE ( )
- Space U+205F MEDIUM MATHEMATICAL SPACE ( )
- Space U+2060 WORD JOINER (⁠)
- Space U+2060 WORD JOINER (⁠)
- Space U+3000 IDEOGRAPHIC SPACE
- Space U+3000 IDEOGRAPHIC SPACE
Formatting characters, no glyph shown (Cf, Zl, Zp)
[edit]Zl, Zp:
- U+2028 LINE SEPARATOR (Zl=LSEP)
- U+2028 LINE SEPARATOR (Zl=LSEP)
- U+2029 PARAGRAPH SEPARATOR (Zp=PSEP)
- U+2029 PARAGRAPH SEPARATOR (Zp=PSEP)
Cf:
- U+00AD SOFT HYPHEN (­)
- U+00AD SOFT HYPHEN (­)
- U+0600 ARABIC NUMBER SIGN
- U+0600 ARABIC NUMBER SIGN
- U+0603 ARABIC SIGN SAFHA
- U+0603 ARABIC SIGN SAFHA
- U+06DD ARABIC END OF AYAH
- U+06DD ARABIC END OF AYAH
- U+070F SYRIAC ABBREVIATION MARK
- U+070F SYRIAC ABBREVIATION MARK
- U+17B4 KHMER VOWEL INHERENT AQ
- U+17B4 KHMER VOWEL INHERENT AQ
- U+17B5 KHMER VOWEL INHERENT AA
- U+17B5 KHMER VOWEL INHERENT AA
- U+200B ZERO WIDTH SPACE (​, ​, ​, ​, ​)
- U+200B ZERO WIDTH SPACE (​, ​, ​, ​, ​)
- U+202A LEFT-TO-RIGHT EMBEDDING
- U+202A LEFT-TO-RIGHT EMBEDDING
- U+202B RIGHT-TO-LEFT EMBEDDING (bidi:should not reverse this note)
- U+202B RIGHT-TO-LEFT EMBEDDING (bidi:should not reverse this note)
- U+202E RIGHT-TO-LEFT OVERRIDE (bidi:should not reverse this note)
- U+202E RIGHT-TO-LEFT OVERRIDE (bidi:should not reverse this note)
- U+2060 WORD JOINER (⁠)
- U+2060 WORD JOINER (⁠)
- U+206A INHIBIT SYMMETRIC SWAPPING
- U+206A INHIBIT SYMMETRIC SWAPPING
- U+FEFF ZERO WIDTH NO-BREAK SPACE
- U+FEFF ZERO WIDTH NO-BREAK SPACE
- U+FFFA INTERLINEAR ANNOTATION SEPARATOR
- U+FFFA INTERLINEAR ANNOTATION SEPARATOR
Planes 1 & 14:
- U+110BD KAITHI NUMBER SIGN
- U+110BD KAITHI NUMBER SIGN
- U+1D173 MUSICAL SYMBOL BEGIN BEAM
- U+1D173 MUSICAL SYMBOL BEGIN BEAM
- U+1D17A MUSICAL SYMBOL END PHRASE
- U+1D17A MUSICAL SYMBOL END PHRASE
Combining chars
[edit]- Umlaut {{unichar|U+0308|combining diareses}}
- Umlaut Error using {{unichar}}: Input "U+0308" is not a hexadecimal value.
- Umlaut U+0308 ̈ COMBINING DIAERESIS
- Umlaut U+0308 ̈ COMBINING DIAERESIS
- Umlaut U+0308 ◌̈ COMBINING DIAERESIS
- Umlaut U+0308 ◌̈ COMBINING DIAERESIS
- Umlaut U+0308 ë COMBINING DIAERESIS
- Umlaut U+0308 ë COMBINING DIAERESIS
- Umlaut U+0308 ̈ COMBINING DIAERESIS
- Umlaut U+0308 ̈ COMBINING DIAERESIS
- Z comb=U+0302 â COMBINING CIRCUMFLEX ACCENT (as in â)
- Z comb=U+0302 â COMBINING CIRCUMFLEX ACCENT (as in â)
- Z comb=U+0302 ̂ COMBINING CIRCUMFLEX ACCENT (as in â)
- Z comb=U+0302 ̂ COMBINING CIRCUMFLEX ACCENT (as in â)
- Z comb=U+0302 ̂ COMBINING CIRCUMFLEX ACCENT (as in â)
- Z comb=U+0302 ̂ COMBINING CIRCUMFLEX ACCENT (as in â)
No name, input |2=|
[edit]- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
- J no na: U+00A9 © COPYRIGHT SIGN
Image overruling the font
[edit]- Currently, the Rupee symbol is available in most fonts. Still, the pictural glyph can be tested (October 2011):
- R1: U+20B9 ₹ INDIAN RUPEE SIGN
- R1: U+20B9 ₹ INDIAN RUPEE SIGN
- R1: U+20B9 INDIAN RUPEE SIGN
- R1: U+20B9 INDIAN RUPEE SIGN
- R1: U+20B9 INDIAN RUPEE SIGN
- R1: U+20B9 INDIAN RUPEE SIGN
- R1: U+20B9 INDIAN RUPEE SIGN
- R1: U+20B9 INDIAN RUPEE SIGN
testig input
[edit]*H no #1: {{unichar}} *H no #1: {{unichar/sandbox}} *I #1=blank: {{unichar|dec=}} *I #1=blank: {{unichar/sandbox|dec=}} *I #1=-1: {{unichar|-1|dec=}} *I #1=-1: {{unichar/sandbox|-1|dec=}} *I #1=110001: {{unichar|110001|dec=}} *I #1=110001: {{unichar/sandbox|110001|dec=}}
Using different bracketed notes (dec, html, note)
[edit]- K noBtxt: U+00B9 ¹ SUPERSCRIPT ONE
- K noBtxt: U+00B9 ¹ SUPERSCRIPT ONE
- L1 note.U+0019 <control-0019> Bell character (Some note here)
- L1 note.U+0019 <control-0019> Bell character (Some note here)
- L1 note.U+0012 <control-0012> Error using {{unichar}}: Pagename expected in "nlink=" (Some note here)
- L1 note.U+0012 <control-0012> Error using {{unichar}}: Pagename expected in "nlink=" (Some note here)
- L2 note.U+0017 <control-0017> (Some note here)
- L2 note.U+0017 <control-0017> (Some note here)
- M dec.U+00B7 · MIDDLE DOT
- M dec.U+00B7 · MIDDLE DOT
- A1 html.U+00A9 © COPYRIGHT SIGN (©, ©)
- A1 html.U+00A9 © COPYRIGHT SIGN (©, ©)
- A2 html.U+07A9 ީ THAANA EEBEEFILI
- A2 html.U+07A9 ީ THAANA EEBEEFILI
- B dec.html.U+00A9 © COPYRIGHT SIGN (©, ©)
- B dec.html.U+00A9 © COPYRIGHT SIGN (©, ©)
- C html.note.U+2E18 ⸘ INVERTED INTERROBANG (noot)
- C html.note.U+2E18 ⸘ INVERTED INTERROBANG (noot)
- D dec.note.U+2018 ‘ LEFT SINGLE QUOTATION MARK (nootxx)
- D dec.note.U+2018 ‘ LEFT SINGLE QUOTATION MARK (nootxx)
- E dec.html.note.: U+2018 ‘ LEFT SINGLE QUOTATION MARK (‘, ‘ · nootxx)
- E dec.html.note.: U+2018 ‘ LEFT SINGLE QUOTATION MARK (‘, ‘ · nootxx)
- F no notes txt: U+00A9 © COPYRIGHT SIGN
- F no notes txt: U+00A9 © COPYRIGHT SIGN
- note: U+00A9 © COPYRIGHT SIGN (SomeNote)
- note: U+00A9 © COPYRIGHT SIGN
- note: U+00A9 © COPYRIGHT SIGN
- note: U+00A9 © COPYRIGHT SIGN
other smallcaps
[edit]- Copyright sign
- COPYRIGHT SIGN
- COPYRIGHT SIGN
- COPYRIGHT SIGN
para:br
[edit]- U+00A9 © COPYRIGHT SIGN
- U+00A9 © COPYRIGHT SIGN
nlink without argument
[edit]- U+0023 # NUMBER SIGN U+0023 # NUMBER SIGN
- U+002E . FULL STOP U+002E . FULL STOP
- U+002F / SOLIDUS U+002F / SOLIDUS
- U+003A : COLON U+003A : COLON
- U+003C < LESS-THAN SIGN U+003C < LESS-THAN SIGN
- U+003E > GREATER-THAN SIGN U+003E > GREATER-THAN SIGN
- U+005B [ LEFT SQUARE BRACKET U+005B [ LEFT SQUARE BRACKET
- U+005D ] RIGHT SQUARE BRACKET U+005D ] RIGHT SQUARE BRACKET
- U+005F _ LOW LINE U+005F _ LOW LINE
- U+007B { LEFT CURLY BRACKET U+007B { LEFT CURLY BRACKET
- U+007C | VERTICAL LINE U+007C | VERTICAL LINE
- U+007D } RIGHT CURLY BRACKET U+007D } RIGHT CURLY BRACKET
- U+200E LEFT-TO-RIGHT MARK U+200E LEFT-TO-RIGHT MARK
- U+200F RIGHT-TO-LEFT MARK U+200F RIGHT-TO-LEFT MARK
- U+202A LEFT-TO-RIGHT EMBEDDING U+202A LEFT-TO-RIGHT EMBEDDING
- U+202B RIGHT-TO-LEFT EMBEDDING U+202B RIGHT-TO-LEFT EMBEDDING
- U+202C POP DIRECTIONAL FORMATTING U+202C POP DIRECTIONAL FORMATTING
- U+202D LEFT-TO-RIGHT OVERRIDE U+202D LEFT-TO-RIGHT OVERRIDE
- U+202E RIGHT-TO-LEFT OVERRIDE U+202E RIGHT-TO-LEFT OVERRIDE
- U+0035 5 DIGIT FIVE U+0035 5 DIGIT FIVE
- U+0000 <control-0000> Error using {{unichar}}: Pagename expected in "nlink=" U+0000 <control-0000> Error using {{unichar}}: Pagename expected in "nlink="
- U+FFFF <noncharacter-FFFF> Error using {{unichar}}: Pagename expected in "nlink=" U+FFFF <noncharacter-FFFF> Error using {{unichar}}: Pagename expected in "nlink="
- U+D800 <surrogate-D800> Error using {{unichar}}: Pagename expected in "nlink=" U+D800 <surrogate-D800> Error using {{unichar}}: Pagename expected in "nlink="
- U+E000 <private-use-E000> Error using {{unichar}}: Pagename expected in "nlink=" U+E000 <private-use-E000> Error using {{unichar}}: Pagename expected in "nlink="
- U+EFFFD <reserved-EFFFD> U+EFFFD <reserved-EFFFD>