Difference between revisions of "Template:Card name"

From Yugipedia
Jump to: navigation, search
m
(use Template:Ln to allow more variants on supported languages)
Line 1: Line 1:
<includeonly>{{#ask: [[{{{1|}}}]] |?{{#switch: {{{2}}}
+
<includeonly>{{#ask: [[{{{1|}}}]] |?{{#switch: {{ln|{{{2}}}}}
| ja
+
| JP = {{#ifeq:{{#ask: [[{{{1|}}}]] |?Ruby Text=}}||Japanese Name|Ruby Text}}
| jp = {{#ifeq:{{#ask: [[{{{1|}}}]] |?Ruby Text=}}||Japanese Name|Ruby Text}}
+
| DE = German Name
| de = German Name
+
| KR = Korean Name
| kr = Korean Name
+
| AE = Asian-English Name
| ae = Asian-English Name
+
| CH = Chinese Name
| ch = Chinese Name
+
| FC
| fc
+
| FR = French Name
| fr = French Name
+
| PT = Portuguese Name
| pt = Portuguese Name
+
| IT = Italian Name
| it = Italian Name
+
| SP = Spanish Name
| sp = Spanish Name
+
| #default = {{
| alt = English Alternate Names
+
  #ifeq: {{ lc: {{{2}}} }} | alt
| #default = English Name
+
  | English Alternate Names
 +
  | English Name
 +
}}
 
}}= }}</includeonly><noinclude>It generates the name of a card from the Semantic property.<br/>
 
}}= }}</includeonly><noinclude>It generates the name of a card from the Semantic property.<br/>
 
as sample:
 
as sample:

Revision as of 08:28, 5 January 2011

It generates the name of a card from the Semantic property.
as sample:

  • {{Cardname|Dark Magician|en}} → Dark Magician
  • {{Cardname|Dark Magician|ae}} → Dark Magician
  • {{Cardname|Dark Magician|de}} → Dunkler Magier