Difference between revisions of "Template:GetEngName"
m (test) |
m (test2) |
||
Line 1: | Line 1: | ||
− | {{#ask:{{#if:{{{1|}}}|[[Japanese Name::{{{1|}}}]]|[[{{PAGENAME}}]]}}[[Medium::OCG]]|?English Name|limit=1|format=template|template={{#ifeq:{{{2|}}}|false|GetEngName/1|GetEngName/2}}|link=none}}<noinclude> | + | {{#ask:{{#if:{{{1|}}}|[[Japanese Name::{{{1|}}}]]|[[{{PAGENAME}}]]}}[[Medium::OCG]]|?English Name|limit=1|format=template|searchlabel=|template={{#ifeq:{{{2|}}}|false|GetEngName/1|GetEngName/2}}|link=none}}<noinclude> |
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Revision as of 06:00, 17 September 2009
Contents
Usage
When given the Japanese name of a card as a parameter, this template returns the card's English name. This template should only be used when the English card name is subject to change (for example, if the card has been released in the OCG but not in the TCG). It should not be used if the English name of the card is confirmed.
The Japanese name should not contain any furigana.
If false
is included as a second parameter, then this template returns the card's article's name. This is useful for creating links.
Examples
- Normal use
- {{GetEngName|E・HERO ネオス}} =>
- {{GetEngName|差し戻し}} =>
- {{GetEngName|カオスポッド}} => Morphing Jar #2
- Article name
- {{GetEngName|差し戻し|false}} =>
- {{GetEngName|カオスポッド|false}} => Morphing Jar 2
- Linking
- [[{{GetEngName|E・HERO ネオス}}]] => [[]]
- [[Card Rulings:{{GetEngName|E・HERO ネオス}}]] => [[Card Rulings:]]
Issues
If more than one card has the same Japanese name, then this template will return only the first name.
- {{GetEngName|オベリスクの巨神兵}} =>
In cases like this, the English name is usually confirmed for both cards, so this template should not be used.
See also
- {{Card name}}, which returns the name of a card (or other page) in the requested language
- {{SMW page name}}, which returns the name of the page a redirect points to