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. |
m 25 revisions imported |
||
(14 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{unichar/main | <includeonly>{{unichar/main | ||
| hval ={{unichar/hexformat|{{{1|<#salted#>}}} }} | | hval ={{unichar/hexformat|{{{1|<#salted#>}}} }} | ||
| hvalinput ={{{1|}}} <!-- | | hvalinput ={{{1|}}}<!--to use in errormessage--> | ||
| na ={{{2|}}} | | na ={{{2|}}} | ||
| ulink ={{{ulink|<#salted#>}}} | | ulink ={{{ulink|<#salted#>}}} | ||
| 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 12: | Line 12: | ||
| dec ={{{dec|<#salted#>}}} | | dec ={{{dec|<#salted#>}}} | ||
| dval ={{hex2dec|{{unichar/hexformat|{{{1|<#salted#>}}} }}|no}} | | dval ={{hex2dec|{{unichar/hexformat|{{{1|<#salted#>}}} }}|no}} | ||
| html ={{{html|<#salted#>}}} | | html ={{{html|{{{HTML|<#salted#>}}}}}} | ||
| 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#> }} | ||
}}< | | sans ={{{sans|}}} | ||
| br ={{{br|}}} | |||
}}</includeonly><!-- | |||
{{documentation}} | --><noinclude>{{documentation}}</noinclude> | ||
</noinclude> |