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 |
m 14 revisions imported |
||
(One intermediate revision by one other user not shown) | |||
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> |
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.