Permanently protected template

Difference between revisions of "Template:Card name"

From Yugipedia
Jump to: navigation, search
m (Protected "Template:Card name": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Use the data module to get the name.)
 
Line 1: Line 1:
{{ #invoke: Name | main }}<noinclude>
+
{{ #invoke: Data/Templates | name }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:04, 21 January 2020

Template documentation[view] [edit] [history] [purge]

{{Card name}} returns the name of a card in a given language. It requires Semantic MediaWiki to be enabled to work.

Usage

  • {{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

See also

  • {{Gallery card names}}, which returns a link to a card's article and its name in the requested language
  • {{GetEngName}}, which returns a card's English or article name when given its Japanese name
  • {{SMW page name}}, which returns the name of the article a redirect points to