Template:Unichar/glyph: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep added Cf | Zl | Zp =<!--formatting chars, no glyph or html code at all--> as per talk |
meta>Edokter Template non-functional |
||
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=" | | 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--> | ||
| #default=<span style="font-size:{{{size|unexp}}}">{{#switch:{{{use|}}} | | #default=<span style="font-size:{{{size|unexp}}}">{{#switch:{{{use|}}} | ||
| ipa ={{IPA|{{{cwith|}}}&#x{{{hval}}};}} | | ipa ={{IPA|{{{cwith|}}}&#x{{{hval}}};}} | ||
Line 14: | Line 14: | ||
| script={{script|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}}<!--use2: first char uc here?--> | | script={{script|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}}<!--use2: first char uc here?--> | ||
| unicode | | unicode | ||
| #default = | | #default = {{{cwith|}}}&#x{{{hval|}}}; }}</span>}}{{#ifeq:{{{cwith|}}}| | }}}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 15:26, 18 April 2016
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.