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-->&#x20;{{unichar/glyph| {{hexadecimal|{{hex2dec|{{uc:{{{1}}}}} }}|no}}| {{{font-size|120%}}}|{{{use|unicode}}}| {{{use2|}}}}}<!--char name, optional link-->&#x20;{{unichar/na|na={{{2|}}}| link={{{link|<#salted#>}}}}}<!--note-->{{#if:{{{note|}}}|&#x20;({{{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-->&#x20;{{unichar/glyph| {{hexadecimal|{{hex2dec|{{uc:{{{1}}}}} }}|no}}| {{{font-size|120%}}}|{{{use|unicode}}}| {{{use2|}}}| dec={{hex2dec|{{{1|}}}|no}} }}<!--char name, optional link-->&#x20;{{unichar/na|na={{{2|}}}| link={{{link|<#salted#>}}}}}<!--note-->{{#if:{{{note|}}}|&#x20;({{{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>

Revision as of 09:36, 8 September 2010

Error using {{unichar}}: Parameter #1 missing, no code point value.