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-->{{Smallcaps|{{lc:{{{na|}}}}}}}  
  | <#salted#> =<!--no link-->{{Smallcaps2|{{{na|}}}}}  
  | =<!--wikilink to na-->[[{{{na|}}}|{{Smallcaps|{{lc:{{{na|}}}}}}}]]
  | =<!--wikilink to na-->[[{{{na|}}}|{{Smallcaps2|{{{na|}}}}}]]
  | #default =<!--piped link-->[[{{{nlink|}}}|{{Smallcaps|{{lc:{{{na|}}}}}}}]]}}}}<noinclude>
  | #default =<!--piped link-->[[{{{nlink|}}}|{{Smallcaps2{{{na|}}}}}]]}}}}<noinclude>


{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 19:06, 16 February 2016