Template:Unichar/glyph: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep No edit summary |
meta>DePiep No edit summary |
||
Line 1: | Line 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="unicode" style="background:lightblue">{{#ifeq:{{{ | | 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 | | 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--> | ||
| script ={{script|{{{use2|}}}|&#x | | #default=<span style="font-size:{{{size|unexp}}}">{{#switch:{{{use|}}} | ||
| unicode | | ipa ={{IPA|{{{cwith|}}}&#x{{{hval}}};}} | ||
| #default ={{unicode|&#x | | lang ={{lang|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}} | ||
| script={{script|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}}<!--use2: first char uc here?--> | |||
| unicode | |||
| #default = {{unicode|{{{cwith|}}}&#x{{{hval|}}};}} }}</span>}}{{#ifeq:{{{cwith|}}}| | }}}}<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 12:34, 18 September 2010
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.