Template:Unichar: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep major extension. Now including options decimal, html-char refs, image, combining chars. |
meta>DePiep No edit summary |
||
Line 6: | Line 6: | ||
| image ={{{image|}}} | | image ={{{image|}}} | ||
| cwith ={{#if:{{{cwith|}}} | {{{cwith}}} | {{#if:{{{cwith}}} || }} }} | | cwith ={{#if:{{{cwith|}}} | {{{cwith}}} | {{#if:{{{cwith}}} || }} }} | ||
| size ={{#if:{{{image|}}} | {{#ifeq:{{Str rightc|{{lc:{{{size|}}}}}|2}} | px | {{{size}}} | 10px }} | {{{size|{{#if:{{{cwith}}}|125%|150% }}}}} }} | | size ={{#if:{{{image|}}} | {{#ifeq:{{Str rightc|{{lc:{{{size|}}}}}|2}} | px | {{{size}}} | 10px}} | {{{size|{{#if:{{{cwith}}}|125%|150%}}}}} }} | ||
| use ={{lc:{{{use|unicode}}}}} | | use ={{lc:{{{use|unicode}}}}} | ||
| use2 ={{{use2|}}} | | use2 ={{{use2|}}} | ||
Line 15: | Line 15: | ||
| note ={{#if:{{{note|}}}|{{{note|}}}|<#salted#>}} | | note ={{#if:{{{note|}}}|{{{note|}}}|<#salted#>}} | ||
| finaltext ={{#if:{{{note|}}} | NOTE | {{#ifeq:{{{html|+}}} | {{{html|-}}} | HTML | {{#ifeq: {{{dec|+}}} | {{{dec|-}}} | DEC | NOTEXT }} }} }} | | finaltext ={{#if:{{{note|}}} | NOTE | {{#ifeq:{{{html|+}}} | {{{html|-}}} | HTML | {{#ifeq: {{{dec|+}}} | {{{dec|-}}} | DEC | NOTEXT }} }} }} | ||
| gc ={{#if:{{{1|}}} |{{unichar/gc | | gc ={{#if:{{{1|}}} |{{unichar/gc|{{hex2dec|{{{1|0}}}|no}}|hval={{unichar/hexformat|{{{1|<#salted#>}}} }} }} | <#not a Unicode code point#> }} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |