Difference between revisions of "Template:Card name"

From Yugipedia
Jump to: navigation, search
(using #iferror instead lets us skip checking the string's length and just try the #replaces)
(update category)
Line 30: Line 30:
 
* <nowiki>{{Card name|Blue-Eyes White Dragon|ae}}</nowiki> → {{Card name|Blue-Eyes White Dragon|ae}}
 
* <nowiki>{{Card name|Blue-Eyes White Dragon|ae}}</nowiki> → {{Card name|Blue-Eyes White Dragon|ae}}
  
[[Category:Templates]]
+
[[Category:Inline query templates]]
 
</noinclude>
 
</noinclude>

Revision as of 13:05, 28 June 2016

{{Card name}} 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