Difference between revisions of "Template:Name"

From Yugipedia
Jump to: navigation, search
(ja, not jp)
(hack a fix for Damage = Reptile)
Line 1: Line 1:
<includeonly>{{ #ask: [[Page name::{{{1}}}]]
+
{{ #ask: {{ #if: {{ #pos: {{{1}}} | = }}{{ #pos: {{{1}}} | &#61; }} | [[{{ #vardefineecho: $card_name-name | {{ #replace: {{{1}}} | = | &#61; }} }}]] | [[Page name::{{{1}}}]] }}
 
|?{{ #switch: {{ln|{{{2}}}}}
 
|?{{ #switch: {{ln|{{{2}}}}}
   | ja = {{ #if: {{ #show: {{{1}}} |?Ruby text }} | Ruby text | Japanese name }}
+
   | ja = {{ #if: {{ #show: {{ #var: $card_name-name | {{{1}}} }} |?Ruby text }} | Ruby text | Japanese name }}
 
   | de = German name
 
   | de = German name
 
   | ko = Korean name
 
   | ko = Korean name
Line 18: Line 18:
 
|sort=modification date
 
|sort=modification date
 
|order=desc
 
|order=desc
}}</includeonly><noinclude>It generates the name of a card from the Semantic property.
+
}}<noinclude>It generates the name of a card from the Semantic property.
  
 
For example:
 
For example:

Revision as of 01:33, 28 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|ae}} → Dark Magician
  • {{Card name|Dark Magician|de}} → Dunkler Magier
  • {{Card name|Dark Magician|ja}} → ブラック・マジシャン
  • {{Card name|Blue-Eyes White Dragon|ja}} → 青眼の白龍ブルーアイズ・ホワイト・ドラゴン
  • {{Card name|Blue-Eyes White Dragon|ae}} → Blue-Eyes White Dragon