Template:Unichar/glyph: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Great Brightstar Set line height as 1em to reduce the line gap |
meta>Psiĥedelisto +{{{br|}}}. originally for Mojikyō |
||
Line 1: | Line 1: | ||
{{#if:{{{image|}}} | {{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|0|1}}}}{{#if:{{{image|}}} | ||
| [[File:{{{image|}}}|frameless|{{{size|}}}|baseline|alt={{{na|}}}]] | | [[File:{{{image|}}}|frameless|{{{size|}}}|baseline|alt={{{na|}}}]] | ||
| {{#switch:{{{gc|<#not a Unicode code point#>}}} | | {{#switch:{{{gc|<#not a Unicode code point#>}}} | ||
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 = {{{cwith|}}}&#x{{{hval|}}}; }}</span>}}{{#ifeq:{{{cwith|}}}| | }}}}<!-- | | #default = {{{cwith|}}}&#x{{{hval|}}}; }}</span>}}{{#ifeq:{{{cwith|}}}| | }}}}{{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|1|2}}}}<!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> |
Revision as of 11:09, 8 July 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.