Template:Unichar/glyph: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Primefac m Protected "Template:Unichar/glyph": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)) |
meta>Great Brightstar Set line height as 1em to reduce the line gap |
||
Line 8: | Line 8: | ||
| Cn =<!--Cn=<reserved> is not detected--><span style="font-size:small"><noncharacter-{{{hval|}}}></span> | | Cn =<!--Cn=<reserved> is not detected--><span style="font-size:small"><noncharacter-{{{hval|}}}></span> | ||
| Cf | Zl | Zp =<!--formatting chars, no glyph or html code at all--> | | Cf | Zl | Zp =<!--formatting chars, no glyph or html code at all--> | ||
| Zs =<span class="Unicode" style="background:lightblue">{{#ifeq:{{{hval|}}}| 0020 | |&#x{{{hval|}}};}}</span><!--change space 0x20 into nbsp=0xA0 to preserve the space from wiki-markup deletion--> | | Zs =<span class="Unicode" style="background:lightblue;line-height:1em">{{#ifeq:{{{hval|}}}| 0020 | |&#x{{{hval|}}};}}</span><!--change space 0x20 into nbsp=0xA0 to preserve the space from wiki-markup deletion--> | ||
| #default=<span style="font-size:{{{size|unexp}}}">{{#switch:{{{use|}}} | | #default=<span style="font-size:{{{size|unexp}}};line-height:1em">{{#switch:{{{use|}}} | ||
| ipa ={{IPA|{{{cwith|}}}&#x{{{hval}}};}} | | ipa ={{IPA|{{{cwith|}}}&#x{{{hval}}};}} | ||
| lang ={{lang|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}} | | lang ={{lang|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}} |
Revision as of 04:54, 30 March 2019
Usage
Returns a glyph from Unicode code point hex value.
Input Params: 1=hex value (required) 2=font-size 3=use(font hint, e.g. IPA) 4=use2(font hint param=ISO alpha2 or alpha4) Named: dec=decimal value (from hex) to be used in /gc
See also
See main template {{unichar}} for full documentation.