Template:Unichar/name: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Great Brightstar New method to transform the character name as amall caps |
meta>Great Brightstar Don't use parser function |
||
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--><span style="font-variant:small-caps;text-transform:lowercase">{{{na|}}}</span> | ||
| =<!--wikilink to na-->[[{{{na|}}}|{{Smallcaps all|{{uc:{{{na|}}}}}}}]] | | =<!--wikilink to na-->[[{{{na|}}}|{{Smallcaps all|{{uc:{{{na|}}}}}}}]] | ||
| #default =<!--piped link-->[[{{{nlink|}}}|{{Smallcaps all|{{uc:{{{na|}}}}}}}]]}}}}<!-- | | #default =<!--piped link-->[[{{{nlink|}}}|{{Smallcaps all|{{uc:{{{na|}}}}}}}]]}}}}<!-- | ||
--><noinclude>{{Documentation}}</noinclude> | --><noinclude>{{Documentation}}</noinclude> |