Difference between revisions of "Template:Name"
(Less expensive parser, but the problem still exists.) |
(This should fix it for now, but I can't guarantee it will work in future.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ask: [[{{{1|}}}]] |?{{#switch: {{ln|{{{2}}}}} | <includeonly>{{#ask: [[{{{1|}}}]] |?{{#switch: {{ln|{{{2}}}}} | ||
− | | JP = {{# | + | | JP = {{#ifeq:{{#ask: [[{{{1|}}}]] |?Ruby Text=|format=template|link=none|template=GetEngName/2}}|[[SMW::off]][[SMW::on]]|Japanese Name|Ruby Name}} |
| DE = German Name | | DE = German Name | ||
| KR = Korean Name | | KR = Korean Name |
Revision as of 22:25, 5 July 2012
It generates the name of a card from the Semantic property.
For example:
- {{Cardname|Dark Magician|en}} → Dark Magician
- {{Cardname|Dark Magician|ae}} → Dark Magician
- {{Cardname|Dark Magician|de}} → Dunkler Magier