Changes

Jump to: navigation, search

Template:Name

172 bytes added, 10 years ago
try a fix if the given language name isn't available
<includeonly>{{ #vardefine: $template-card-name | {{ #show: {{{1|}}} |?{{ #switch: {{ln|{{{2}}}}} | JP = {{ #if: {{ #show: {{{1|}}} |?Ruby text }} | Ruby text | Japanese name }} | DE = German name | KR = Korean name | AE = Asian-English name | CH = Chinese name | FC | FR = French name | PT = Portuguese name | IT = Italian name | SP = Spanish name | #default = {{ #ifeq: {{ lc: {{{2}}} }} | alt | English alternate names | English name }} }} }}}}{{ #var: $template-card-name | {{ #show: {{{1|}}} |?English name }} }}</includeonly><noinclude>It generates the name of a card from the Semantic property.
For example:

Navigation menu