Difference between revisions of "Template:Name"

From Yugipedia
Jump to: navigation, search
({{rg}})
(to bypass an SMW bug)
Line 1: Line 1:
<includeonly>{{ #show: {{{1|}}} |?{{ #switch: {{rg|{{{2}}}}}
+
<includeonly>{{ #ask: [[Page name::{{{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 }}
Line 13: Line 14:
 
   | #default = English name
 
   | #default = English name
 
   }}
 
   }}
 +
|format=template
 +
|link=none
 +
|template=echo
 +
|mainlabel=-
 +
|limit=2
 +
|searchlabel=
 
}}</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.
  

Revision as of 23:26, 25 January 2016

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}} → 青眼の白龍ブルーアイズ・ホワイト・ドラゴン