Template:Unichar: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep
mNo edit summary
Ookami (talk | contribs)
m 25 revisions imported
 
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}
<includeonly>{{unichar/main
|{{#if:{{{2|}}}
| hval  ={{unichar/hexformat|{{{1|<#salted#>}}} }}
  |<!--U+hex code point-->U+{{padleft:{{hexadecimal|{{hex2dec|{{uc:{{{1}}}}} }}|no}}|4|0
| hvalinput ={{{1|}}}<!--to use in errormessage-->
  }}<!--glyph-->&#x20;{{unichar/glyph| {{hexadecimal|{{hex2dec|{{uc:{{{1}}}}} }}|no}}
| na    ={{{2|}}}
  | {{{font-size|120%}}}
| ulink ={{{ulink|<#salted#>}}}
   | {{{use|unicode}}}
| image ={{{image|}}}
  | {{{use2|}}}
| cwith ={{#if:{{{cwith|}}} | {{{cwith}}} | {{#if:{{{cwith}}} || &nbsp; }} }}
  }}<!--char name, optional link-->&#x20;{{unichar/na|na={{{2|}}}
| size  ={{#if:{{{image|}}} | {{#ifeq:{{Str rightc|{{lc:{{{size|}}}}}|2}} | px | {{{size}}} | 10px}} | {{{size|{{#if:{{{cwith}}}|125%|150%}}}}} }}
  | link={{{link|<#salted#>}}}
| use   ={{lc:{{{use|unicode}}}}}
  }}<!--note-->{{#if:{{{note|}}}|&#x20;({{{note}}})|
| use2  ={{{use2|}}}
  }}
| nlink ={{{nlink|<#salted#>}}}
|<!--#if:no 2=missing/blank-->{{error|Error using {{tl|unichar}}: Parameter #2 missing, no character name.|tag=span}}}}
| dec  ={{{dec|<#salted#>}}}
|<!--#if:no #1=missing/blank-->{{error|Error using {{tl|unichar}}: Parameter #1 missing, no code point value.|tag=span}}
| dval  ={{hex2dec|{{unichar/hexformat|{{{1|<#salted#>}}} }}|no}}
}}<noinclude>
| html  ={{{html|{{{HTML|<#salted#>}}}}}}
| note ={{#if:{{{note|}}}|{{{note|}}}|<#salted#>}}
| finaltext ={{#if:{{{note|}}} | NOTE | {{#ifeq:{{{html|+}}} | {{{html|-}}} | HTML | {{#ifeq: {{{dec|+}}} | {{{dec|-}}} | DEC | NOTEXT }} }} }}
| gc    ={{#if:{{{1|}}} |{{unichar/gc|{{hex2dec|{{{1|0}}}|no}}|hval={{unichar/hexformat|{{{1|<#salted#>}}} }} }} | <#not a Unicode code point#> }}
| sans  ={{{sans|}}}
| br    ={{{br|}}}
}}</includeonly><!--


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

Latest revision as of 14:49, 3 September 2020