Template:Unichar/glyph: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep
No edit summary
Ookami (talk | contribs)
m 14 revisions imported
 
(7 intermediate revisions by 5 users 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 7: Line 7:
  | Cp =<span style="font-size:small"><private-use-{{{hval|}}}></span>
  | Cp =<span style="font-size:small"><private-use-{{{hval|}}}></span>
  | 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>
  | Zs =<span class="unicode" style="background:lightblue">{{#ifeq:{{{hval|}}}| 0020  |&#xA0;|&#x{{{hval|}}};}}</span><!--change space 0x20 into nbsp=0xA0 to preserve the space from wiki-markup deletion-->
| Cf | Zl | Zp =<!--formatting chars, no glyph or html code at all-->
  | #default=<span style="font-size:{{{size|unexp}}}">{{#switch:{{{use|}}}
  | Zs =<span class="Unicode" style="background:lightblue;line-height:1em">{{#ifeq:{{{hval|}}}| 0020  |&#xA0;|&#x{{{hval|}}};}}</span><!--change space 0x20 into nbsp=0xA0 to preserve the space from wiki-markup deletion-->
  | #default=<span style="font-size:{{{size|unexp}}};line-height:1em">{{#switch:{{{use|}}}
   | ipa  ={{IPA|{{{cwith|}}}&#x{{{hval}}};}}
   | ipa  ={{IPA|{{{cwith|}}}&#x{{{hval}}};}}
   | lang  ={{lang|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}}
   | lang  ={{lang|{{{use2|}}}|{{{cwith|}}}&#x{{{hval}}};}}
   | 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 = {{unicode|{{{cwith|}}}&#x{{{hval|}}};}} }}</span>}}{{#ifeq:{{{cwith|}}}|&nbsp;|&nbsp;}}}}<noinclude>
   | #default = {{{cwith|}}}&#x{{{hval|}}}; }}</span>}}{{#ifeq:{{{cwith|}}}|&nbsp;|&nbsp;}}}}{{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|1|2}}}}<!--


{{Documentation}}
--><noinclude>{{documentation}}</noinclude>
</noinclude>

Latest revision as of 23:07, 3 September 2020