Difference between revisions of "Template:Name"
(Get limit=1 to work, so this becomes a hack, rather than a hacked hack.) |
Dinoguy1000 (talk | contribs) (convert to {{ln}}) |
||
Line 1: | Line 1: | ||
<includeonly>{{ #ask: [[Page name::{{{1}}}]] | <includeonly>{{ #ask: [[Page name::{{{1}}}]] | ||
− | |?{{ #switch: {{ | + | |?{{ #switch: {{ln|{{{2}}}}} |
− | | | + | | jp = {{ #if: {{ #show: {{{1}}} |?Ruby text }} | Ruby text | Japanese name }} |
− | + | | de = German name | |
− | | | + | | ko = Korean name |
− | | | + | | zh = Chinese name |
− | | | + | | fr = French name |
− | + | | pt = Portuguese name | |
− | | | + | | it = Italian name |
− | + | | es = Spanish name | |
− | | | + | | #default = {{ #ifeq: {{rg|{{{2}}}}} | AE | Asian- }}English name |
− | | | ||
− | | | ||
− | | #default = English name | ||
}} | }} | ||
|format=template | |format=template |
Revision as of 00:52, 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|de}} → Dunkler Magier
- {{Card name|Dark Magician|ja}} → ブラック・マジシャン
- {{Card name|Blue-Eyes White Dragon|ja}} →
青眼の白龍