Template:Unichar/name: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>DePiep write name in all-uppercase smallcaps: we explicitly want to use the Unicode formatting style. |
meta>Great Brightstar New method to transform the character name as amall caps |
||
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-->{{Smallcaps all|{{uc:{{{na|}}}}}}} | ||
| =<!--wikilink to na-->[[{{{na|}}}|{{ | | =<!--wikilink to na-->[[{{{na|}}}|{{Smallcaps all|{{uc:{{{na|}}}}}}}]] | ||
| #default =<!--piped link-->[[{{{nlink|}}}|{{ | | #default =<!--piped link-->[[{{{nlink|}}}|{{Smallcaps all|{{uc:{{{na|}}}}}}}]]}}}}<!-- | ||
--><noinclude>{{Documentation}}</noinclude> | --><noinclude>{{Documentation}}</noinclude> |