Difference between revisions of "Template:Name"

From Yugipedia
Jump to: navigation, search
(This should fix it for now, but I can't guarantee it will work in future.)
(simplify)
Line 1: Line 1:
<includeonly>{{#ask: [[{{{1|}}}]] |?{{#switch: {{ln|{{{2}}}}}
+
<includeonly>{{#show: {{{1|}}} |?{{#switch: {{ln|{{{2}}}}}
| JP = {{#ifeq:{{#ask: [[{{{1|}}}]] |?Ruby Text=|format=template|link=none|template=GetEngName/2}}|[[SMW::off]][[SMW::on]]|Japanese Name|Ruby Name}}
+
| JP = {{#if:{{#show: {{{1|}}} |?Ruby Text}}|Ruby Name|Japanese Name}}
 
| DE = German Name
 
| DE = German Name
 
| KR = Korean Name
 
| KR = Korean Name
Line 15: Line 15:
 
   | English Name
 
   | English Name
 
}}
 
}}
}}= |format=template|link=none|template=GetEngName/2}}</includeonly><noinclude>It generates the name of a card from the Semantic property.
+
}}
 +
}}</includeonly><noinclude>It generates the name of a card from the Semantic property.
  
 
For example:
 
For example:

Revision as of 19:49, 6 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