Difference between revisions of "Template:Name"
m |
Dinoguy1000 (talk | contribs) (use Template:Ln to allow more variants on supported languages) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#ask: [[{{{1|}}}]] |?{{#switch: {{{2}}} | + | <includeonly>{{#ask: [[{{{1|}}}]] |?{{#switch: {{ln|{{{2}}}}} |
− | | | + | | JP = {{#ifeq:{{#ask: [[{{{1|}}}]] |?Ruby Text=}}||Japanese Name|Ruby Text}} |
− | + | | DE = German Name | |
− | | | + | | KR = Korean Name |
− | | | + | | AE = Asian-English Name |
− | | | + | | CH = Chinese Name |
− | | | + | | FC |
− | | | + | | FR = French Name |
− | | | + | | PT = Portuguese Name |
− | | | + | | IT = Italian Name |
− | | | + | | SP = Spanish Name |
− | | | + | | #default = {{ |
− | | alt | + | #ifeq: {{ lc: {{{2}}} }} | alt |
− | | | + | | English Alternate Names |
+ | | English Name | ||
+ | }} | ||
}}= }}</includeonly><noinclude>It generates the name of a card from the Semantic property.<br/> | }}= }}</includeonly><noinclude>It generates the name of a card from the Semantic property.<br/> | ||
as sample: | as sample: |
Revision as of 08:28, 5 January 2011
It generates the name of a card from the Semantic property.
as sample:
- {{Cardname|Dark Magician|en}} → Dark Magician
- {{Cardname|Dark Magician|ae}} → Dark Magician
- {{Cardname|Dark Magician|de}} → Dunkler Magier