Template:Unichar: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Salix alba null edit to see if it works |
meta>DePiep Moving a hex2dec calculation here from subtemplate to reduce depth |
||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#if:{{{2|}}}|<!--U+hex code point-->U+{{padleft:{{hexadecimal|{{hex2dec|{{uc:{{{1}}}}} }}|no}}|4|0}}<!--glyph--> {{unichar/glyph| {{hexadecimal|{{hex2dec|{{uc:{{{1}}}}} }}|no}}| {{{font-size|120%}}}|{{{use|unicode}}}| {{{use2|}}}}}<!--char name, optional link--> {{unichar/na|na={{{2|}}}| link={{{link|<#salted#>}}}}}<!--note-->{{#if:{{{note|}}}| ({{{note}}})|}}|<!--#if:no 2=missing/blank-->{{error|Error using {{tl|unichar}}: Parameter #2 missing, no character name.|tag=span}}}}|<!--#if:no #1=missing/blank-->{{error|Error using {{tl|unichar}}: Parameter #1 missing, no code point value.|tag=span}} | {{#if:{{{1|}}}|{{#if:{{{2|}}}|<!--U+hex code point-->U+{{padleft:{{hexadecimal|{{hex2dec|{{uc:{{{1}}}}} }}|no}}|4|0}}<!--glyph--> {{unichar/glyph| {{hexadecimal|{{hex2dec|{{uc:{{{1}}}}} }}|no}}| {{{font-size|120%}}}|{{{use|unicode}}}| {{{use2|}}}| dec={{hex2dec|{{{1|}}}|no}} }}<!--char name, optional link--> {{unichar/na|na={{{2|}}}| link={{{link|<#salted#>}}}}}<!--note-->{{#if:{{{note|}}}| ({{{note}}})|}}|<!--#if:no 2=missing/blank-->{{error|Error using {{tl|unichar}}: Parameter #2 missing, no character name.|tag=span}}}}|<!--#if:no #1=missing/blank-->{{error|Error using {{tl|unichar}}: Parameter #1 missing, no code point value.|tag=span}} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |