Difference between revisions of "Template:Name"

From Yugipedia
Jump to: navigation, search
(doesn't look like anything actually uses "alt" as a value for the language)
({{rg}})
Line 1: Line 1:
<includeonly>{{ #show: {{{1|}}} |?{{ #switch: {{ln|{{{2}}}}}
+
<includeonly>{{ #show: {{{1|}}} |?{{ #switch: {{rg|{{{2}}}}}
 
   | JP
 
   | JP
 
   | JA = {{ #if: {{ #show: {{{1|}}} |?Ruby text }} | Ruby text | Japanese name }}
 
   | JA = {{ #if: {{ #show: {{{1|}}} |?Ruby text }} | Ruby text | Japanese name }}

Revision as of 03:38, 21 December 2015

It generates the name of a card from the Semantic property.

For example:

  • {{Card name|Dark Magician|en}} → Dark Magician
  • {{Card name|Dark Magician|de}} → Dunkler Magier
  • {{Card name|Dark Magician|ja}} → ブラック・マジシャン
  • {{Card name|Blue-Eyes White Dragon|ja}} → 青眼の白龍ブルーアイズ・ホワイト・ドラゴン