Template:Unichar/name: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus m Sardanaphalus moved page Template:Unichar/na to Template:Unichar/name: Less cryptic (per Unichar/glyph, Unichar/notes, etc) |
meta>SMcCandlish That's the wrong smallcaps template code - it was falsifying the Unicode name by converting to lower case (try copy-pasting the template's output), and it rendered the output too small. |
||
| Line 1: | Line 1: | ||
{{#switch:{{{gc|}}} | Cc | Cs | Cp | Cn = <!--no smallcaps name, but straight nlink if given-->{{#ifeq:{{{nlink|}}} | <#salted#> || {{#if: {{{nlink|}}} | [[{{{nlink|}}}]] | {{error|Error using {{tl|unichar}}: Pagename expected in "nlink{{=}}"| tag=span }}}}}} | {{#switch:{{{gc|}}} | Cc | Cs | Cp | Cn = <!--no smallcaps name, but straight nlink if given-->{{#ifeq:{{{nlink|}}} | <#salted#> || {{#if: {{{nlink|}}} | [[{{{nlink|}}}]] | {{error|Error using {{tl|unichar}}: Pagename expected in "nlink{{=}}"| tag=span }}}}}} | ||
| #default={{#switch:{{{nlink|<#salted#>}}} | | #default={{#switch:{{{nlink|<#salted#>}}} | ||
| <#salted#> =<!--no link-->{{ | | <#salted#> =<!--no link-->{{Smallcaps2|{{{na|}}}}} | ||
| =<!--wikilink to na-->[[{{{na|}}}|{{ | | =<!--wikilink to na-->[[{{{na|}}}|{{Smallcaps2|{{{na|}}}}}]] | ||
| #default =<!--piped link-->[[{{{nlink|}}}|{{ | | #default =<!--piped link-->[[{{{nlink|}}}|{{Smallcaps2{{{na|}}}}}]]}}}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||