Template:Unichar/glyph: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep No edit summary |
m 14 revisions imported |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{# | {{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|0|1}}}}{{#if:{{{image|}}} | ||
| Cc =<span style="font-size:small"><control-{{ | | [[File:{{{image|}}}|frameless|{{{size|}}}|baseline|alt={{{na|}}}]] | ||
| Cs =<span style="font-size:small"><surrogate-{{ | | {{#switch:{{{gc|<#not a Unicode code point#>}}} | ||
| Cp =<span style="font-size:small"><private-use-{{ | | <#not a Unicode code point#> = | ||
| Cn =<!--<reserved> | | Cc =<span style="font-size:small"><control-{{{hval|}}}></span> | ||
| Zs =<span class=" | | Cs =<span style="font-size:small"><surrogate-{{{hval|}}}></span> | ||
| #default=<span style="font-size:{{{ | | Cp =<span style="font-size:small"><private-use-{{{hval|}}}></span> | ||
| ipa | | Cn =<!--Cn=<reserved> is not detected--><span style="font-size:small"><noncharacter-{{{hval|}}}></span> | ||
| lang ={{lang|{{{use2|}}}|&#x | | Cf | Zl | Zp =<!--formatting chars, no glyph or html code at all--> | ||
| script ={{script|{{{use2|}}}|&#x{{ | | 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--> | ||
| unicode | | #default=<span style="font-size:{{{size|unexp}}};line-height:1em">{{#switch:{{{use|}}} | ||
| #default ={{ | | ipa ={{IPA|{{{cwith|}}}&#x{{{hval}}};}} | ||
| lang ={{lang|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}} | |||
| script={{script|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}}<!--use2: first char uc here?--> | |||
| unicode | |||
| #default = {{{cwith|}}}&#x{{{hval|}}}; }}</span>}}{{#ifeq:{{{cwith|}}}| | }}}}{{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|1|2}}}}<!-- | |||
{{ | --><noinclude>{{documentation}}</noinclude> | ||
</noinclude> |
Latest revision as of 23:07, 3 September 2020
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.