Difference between revisions of "Template:DM8 card"
(Card names can contain brackets. e.g. "The Winged Dragon of Ra (Battle Mode)". Only strip bracketed text from the name and image name, if it contains "ROD".) |
(Initial Deck and Trunk. (Exploiting the fact that there are two copies of everything in the Initial Trunk to avoid adding a lookup.)) |
||
Line 19: | Line 19: | ||
-->{{ #vardefine: $deck_cost | {{{deck_cost|}}} }}<!-- | -->{{ #vardefine: $deck_cost | {{{deck_cost|}}} }}<!-- | ||
-->{{ #vardefine: $number | {{ #if: {{{number<includeonly>|</includeonly>}}} | {{ padleft: {{{number}}} | 3 | 0 }} }} }}<!-- | -->{{ #vardefine: $number | {{ #if: {{{number<includeonly>|</includeonly>}}} | {{ padleft: {{{number}}} | 3 | 0 }} }} }}<!-- | ||
+ | -->{{ #vardefine: $in_initial_deck | {{ #ifeq: {{ #ask: [[Set contains::{{PAGENAME}}]][[Owner name::Initial Deck]] | format=count }} | 0 || 1 }} }}<!-- | ||
+ | -->{{ #vardefine: $in_initial_trunk | {{ #ifeq: {{ #ask: [[Set contains::{{PAGENAME}}]][[Owner name::Initial Trunk]] | format=count }} | 0 || 1 }} }}<!-- | ||
-->{{ #switch: {{ lc: {{{card_type|}}} }} | -->{{ #switch: {{ lc: {{{card_type|}}} }} | ||
Line 206: | Line 208: | ||
{{Card info links|{{ #var: $main | {{ #var: $pagename }} }}|medium=vg}}<!-- | {{Card info links|{{ #var: $main | {{ #var: $pagename }} }}|medium=vg}}<!-- | ||
+ | |||
+ | -->{{ #if: {{ #var: $in_initial_deck }}{{ #var: $in_initial_trunk }} |   | ||
+ | ==Obtained by== | ||
+ |   | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{ #if: {{ #var: $in_initial_deck }} | <p>"{{ #var: $name }}" is included in the '''[[Initial Deck and Trunk (ROD)|Initial Deck]]'''.</p> }}<!-- | ||
+ | -->{{ #if: {{ #var: $in_initial_trunk }} | <p>Two copies of "{{ #var: $name }}" are included in the '''[[Initial Deck and Trunk (ROD)|Initial Trunk]]'''.</p> }}<!-- | ||
-->{{ #if: {{{fr_name<includeonly>|</includeonly>}}}{{{fr_lore|}}}{{{de_name|}}}{{{de_lore|}}}{{{it_name|}}}{{{it_lore|}}}{{{es_name|}}}{{{es_lore|}}}{{{ja_lore|}}} |   | -->{{ #if: {{{fr_name<includeonly>|</includeonly>}}}{{{fr_lore|}}}{{{de_name|}}}{{{de_lore|}}}{{{it_name|}}}{{{it_lore|}}}{{{es_name|}}}{{{es_lore|}}}{{{ja_lore|}}} |   |
Revision as of 21:05, 3 October 2019
DM8 card
- Japanese
- {{{ja_name}}}
- Rōmaji
- {{{romaji_name}}}
- Translated
- {{{trans_name}}}
- [[Card Gallery:{{{main}}}|Gallery]]
- [[Card Artworks:{{{main}}}|Artworks]]
- [[Card Tips:{{{main}}}|Tips]]
- [[Card Trivia:{{{main}}}|Trivia]]
- [[Card Appearances:{{{main}}}|Appearances]]
- [[Card Names:{{{main}}}|Names]]
- [[Card Lores:{{{main}}}|Lores]]
Other languages
Name | Lore | |
---|---|---|
French | {{{fr_name}}} | {{{fr_lore}}} |
German | {{{de_name}}} | {{{de_lore}}} |
Italian | {{{it_name}}} | {{{it_lore}}} |
Spanish | {{{es_name}}} | {{{es_lore}}} |
Japanese | {{{ja_name}}} | {{{ja_lore}}} |
Japanese translated | {{{trans_name}}} | {{{ja_trans_lore}}} |