Template:Unichar: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep param will be renamed, do not use for now |
meta>DePiep major extension. Now including options decimal, html-char refs, image, combining chars. |
||
Line 1: | Line 1: | ||
{{ | {{unichar/main | ||
}}<noinclude> | | hval ={{unichar/hexformat|{{{1|<#salted#>}}} }} | ||
| hvalinput ={{{1|}}} <!--used in errormessage--> | |||
| na ={{{2|}}} | |||
| ulink ={{{ulink|<#salted#>}}} | |||
| image ={{{image|}}} | |||
| cwith ={{#if:{{{cwith|}}} | {{{cwith}}} | {{#if:{{{cwith}}} || }} }} | |||
| size ={{#if:{{{image|}}} | {{#ifeq:{{Str rightc|{{lc:{{{size|}}}}}|2}} | px | {{{size}}} | 10px }} | {{{size|{{#if:{{{cwith}}}|125%|150% }}}}} }} | |||
| use ={{lc:{{{use|unicode}}}}} | |||
| use2 ={{{use2|}}} | |||
| nlink ={{{nlink|<#salted#>}}} | |||
| dec ={{{dec|<#salted#>}}} | |||
| dval ={{hex2dec|{{unichar/hexformat|{{{1|<#salted#>}}} }}|no}} | |||
| 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/sandbox|{{hex2dec|{{{1|0}}}|no}}|hval={{unichar/hexformat|{{{1|<#salted#>}}} }} }} | <#not a Unicode code point#> }} | |||
}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |