Template:Unichar/glyph: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep ←Created page with '{{#switch:{{unichar/gc|{{hex2dec|{{{1|}}}|no}}}} | Cc =<span style="font-size:small"><control-{{padleft:{{uc:{{{1|}}}}}|4|0}}></span> | Cs =<span style="font-size:s...' |
meta>DePiep m rm owrap - useless for one char |
||
Line 4: | Line 4: | ||
| Cp =<span style="font-size:small"><private-use-{{padleft:{{uc:{{{1|}}}}}|4|0}}></span> | | Cp =<span style="font-size:small"><private-use-{{padleft:{{uc:{{{1|}}}}}|4|0}}></span> | ||
| Cn =<!--<reserved>=Cn cannot easily be detected--><span style="font-size:small"><noncharacter-{{padleft:{{uc:{{{1|}}}}}|4|0}}></span> | | Cn =<!--<reserved>=Cn cannot easily be detected--><span style="font-size:small"><noncharacter-{{padleft:{{uc:{{{1|}}}}}|4|0}}></span> | ||
| Zs =<span class="unicode" style=" | | Zs =<span class="unicode" style="rm nbackground:lightblue">{{#ifeq:{{{1}}}|20| |&#x{{uc:{{{1}}}}};}}</span><!--space 0x20 into nbsp=0xA0 to keep the symbol--> | ||
| #default=<span style="font-size:{{{2|100%}}}">{{#switch:{{{use|unicode}}} | | #default=<span style="font-size:{{{2|100%}}}">{{#switch:{{{use|unicode}}} | ||
| IPA ={{IPA|&#x{{uc:{{{1}}}}};}} | | IPA ={{IPA|&#x{{uc:{{{1}}}}};}} |
Revision as of 18:33, 7 September 2010
Returns a glyph from Unicode code point hex value.
Input Params: 1=hex value (required) 2=font-size 3=use(font hint, eg IPA) 4=use2(font hint param=ISO alpha2 or alpha4)
See main template {{unichar}} for full documentation.