Difference between revisions of "Template:DM4 card"

From Yugipedia
Jump to: navigation, search
(store playable status)
(pass card name to {{Enumeration}})
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOEDITSECTION__{{ #if: {{ #pos: {{PAGENAME}} | DM4 }} | {{Italic dab|t=1}} }}{{ #if: {{NAMESPACE}}
+
{{ #if: {{ #pos: {{PAGENAME}} | DM4 }} | {{Italic dab|t=1}} }}{{ #if: {{NAMESPACE}}
 
|
 
|
 
| [[Category:Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist cards]]
 
| [[Category:Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist cards]]
Line 27: Line 27:
  
 
-->{{ #switch: {{ lc: {{{alignment}}} }}
 
-->{{ #switch: {{ lc: {{{alignment}}} }}
| black magic    | shadow   = {{ #vardefine: $alignment | Black Magic   }}{{ #vardefine: $alignment_name | Shadow       }}
+
| black magic    | shadow | dark = {{ #vardefine: $alignment | Dark (Alignment)   }}{{ #vardefine: $alignment_name | Shadow }}
| white magic    | light   = {{ #vardefine: $alignment | White Magic    }}{{ #vardefine: $alignment_name | Light         }}
+
| white magic    | light         = {{ #vardefine: $alignment | Light (Alignment)  }}{{ #vardefine: $alignment_name | Light   }}
| demon magic    | fiend   = {{ #vardefine: $alignment | Demon Magic    }}{{ #vardefine: $alignment_name | Fiend         }}
+
| demon magic    | fiend         = {{ #vardefine: $alignment | Fiend (Alignment)  }}{{ #vardefine: $alignment_name | Fiend   }}
| illusion magic | dreams   = {{ #vardefine: $alignment | Illusion Magic }}{{ #vardefine: $alignment_name | Dreams       }}
+
| illusion magic | dreams       = {{ #vardefine: $alignment | Dreams              }}{{ #vardefine: $alignment_name | Dreams }}
| fire          | pyro     = {{ #vardefine: $alignment | Fire           }}{{ #vardefine: $alignment_name | Fire         }}
+
| fire          | pyro         = {{ #vardefine: $alignment | Fire (Alignment)    }}{{ #vardefine: $alignment_name | Fire   }}
| forest                   = {{ #vardefine: $alignment | Forest         }}{{ #vardefine: $alignment_name | Forest       }}
+
| forest                         = {{ #vardefine: $alignment | Forest (Alignment)  }}{{ #vardefine: $alignment_name | Forest }}
| wind                     = {{ #vardefine: $alignment | Wind           }}{{ #vardefine: $alignment_name | Wind         }}
+
| wind                           = {{ #vardefine: $alignment | Wind (Alignment)    }}{{ #vardefine: $alignment_name | Wind   }}
| earth                     = {{ #vardefine: $alignment | Earth         }}{{ #vardefine: $alignment_name | Earth         }}
+
| earth                         = {{ #vardefine: $alignment | Earth (Alignment)  }}{{ #vardefine: $alignment_name | Earth   }}
| thunder                   = {{ #vardefine: $alignment | Thunder       }}{{ #vardefine: $alignment_name | Thunder       }}
+
| thunder                       = {{ #vardefine: $alignment | Thunder (Alignment) }}{{ #vardefine: $alignment_name | Thunder }}
| water          | aqua     = {{ #vardefine: $alignment | Water         }}{{ #vardefine: $alignment_name | Water         }}
+
| water          | aqua         = {{ #vardefine: $alignment | Water (Alignment)  }}{{ #vardefine: $alignment_name | Water   }}
| divine        | devine   = {{ #vardefine: $alignment | Divine         }}{{ #vardefine: $alignment_name | Divine       }}
+
| divine        | devine       = {{ #vardefine: $alignment | Divine (Alignment)  }}{{ #vardefine: $alignment_name | Divine }}
| #default                  = <noinclude>{{ #vardefine: $alignment | {{{alignment}}}  }}{{ #vardefine: $alignment_name | {{{alignment}}} }}</noinclude>
+
| #default                  = <noinclude>{{ #vardefine: $alignment | {{{alignment}}} (Alignment) }}{{ #vardefine: $alignment_name | {{{alignment}}} }}</noinclude>
 
}}<!--
 
}}<!--
  
Line 60: Line 60:
 
}}<!--
 
}}<!--
  
-->{{ #if: {{{main<includeonly>|</includeonly>}}}{{ #explode: {{PAGENAME}} | ( | 1 }} | {{ #vardefine: $main | {{ #if: {{{main<includeonly>|</includeonly>}}} | {{ #replace: {{{main}}} | # }} | {{ #var: $url-name }} }} }} }}<!--
+
-->{{ #vardefine: $playability_table_body |
 +
    <tr>
 +
      <th scope="col">''Yugi Deck''</th>
 +
      <th scope="col">''Kaiba Deck''</th>
 +
      <th scope="col">''Joey Deck''</th>
 +
    </tr>
 +
    <tr>
 +
      {{ #vardefine: $playable_in_yugi | {{ #switch: {{ lc: {{{playable_in_yugi}}} }}
 +
        | yes | true  = Yes
 +
        | no  | false = No
 +
        | post-game  = Post-game
 +
      }} }}{{ #vardefine: $playable_in_kaiba | {{ #switch: {{ lc: {{{playable_in_kaiba}}} }}
 +
        | yes | true  = Yes
 +
        | no  | false = No
 +
        | post-game  = Post-game
 +
      }} }}{{ #vardefine: $playable_in_joey | {{ #switch: {{ lc: {{{playable_in_joey}}} }}
 +
        | yes | true  = Yes
 +
        | no  | false = No
 +
        | post-game  = Post-game
 +
      }} }}{{ #vardefine: $playable-Yes | 9f9
 +
      }}{{ #vardefine: $playable-No | fcc
 +
      }}{{ #vardefine: $playable-Post-game | acf
 +
      }}
 +
      <td style="background-color: #{{ #var: $playable-{{ #var: $playable_in_yugi }} }}; color: #222;">{{ #var: $playable_in_yugi <noinclude>| {{{playable_in_yugi}}}</noinclude> }}</td>[[Playable in Yugi::{{ #var: $playable_in_yugi }}| ]]
 +
      <td style="background-color: #{{ #var: $playable-{{ #var: $playable_in_kaiba }} }}; color: #222;">{{ #var: $playable_in_kaiba <noinclude>| {{{playable_in_kaiba}}}</noinclude> }}</td>[[Playable in Kaiba::{{ #var: $playable_in_kaiba }}| ]]
 +
      <td style="background-color: #{{ #var: $playable-{{ #var: $playable_in_joey }} }}; color: #222;">{{ #var: $playable_in_joey <noinclude>| {{{playable_in_joey}}}</noinclude> }}</td>[[Playable in Joey::{{ #var: $playable_in_joey }}| ]]
 +
    </tr>
 +
}}<!--
 +
 
 +
-->{{ #if: {{{main<includeonly>|</includeonly>}}}{{ #pos: {{PAGENAME}} | (DM4 }}
 +
| {{ #switch: {{ lc: {{{main|}}} }}
 +
  | no | none | false =
 +
  | {{ #vardefine: $main
 +
    | {{ #if: {{{main<includeonly>|</includeonly>}}} | {{ #replace: {{{main}}} | # }} | {{ #var: $url-name }} }}
 +
    }}
 +
  }}
 +
}}<!--
 +
 
 
-->{{ #if: {{ #pos: {{{main}}}{{ #var: $name }} | # }} | {{ #vardefine: $main_text | {{ #if: {{{main|}}} | {{{main}}} | {{ #var: $name }} }} }} }}<!--
 
-->{{ #if: {{ #pos: {{{main}}}{{ #var: $name }} | # }} | {{ #vardefine: $main_text | {{ #if: {{{main|}}} | {{{main}}} | {{ #var: $name }} }} }} }}<!--
  
 
-->{{ #vardefine: $image
 
-->{{ #vardefine: $image
| {{ #ifexist: File:{{Card image name|{{ #var: $url-name }}}}-DM4-JP-VG.png
+
| {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-DM4-JP-VG.png
   | {{Card image name|{{ #var: $url-name }}}}-DM4-JP-VG.png
+
   | {{Card image name|{{PAGENAME}}}}-DM4-JP-VG.png
   | {{Card image name|{{ #explode: {{ #var: $main }} | ( }}}}-DM4-JP-VG.png
+
   | {{Card image name|{{ #var: $main }}}}-DM4-JP-VG.png
 
   }}
 
   }}
 
}}<!--
 
}}<!--
Line 83: Line 120:
  
 
-->{{ #vardefine: $is_fusion_material
 
-->{{ #vardefine: $is_fusion_material
| {{ #ifeq: {{ #ask: [[Fusion Material::{{PAGENAME}}]][[Fusion type::Fusion Summon]]         | format=count }} | 0 || 1 }}
+
| {{ #ifeq: {{ #ask: [[Fusion Material::{{PAGENAME}}]][[Fusion type::Fusion Summon]] | format=count }} | 0 || 1 }}
 
}}<!--
 
}}<!--
  
Line 106: Line 143:
 
## Properties ##
 
## Properties ##
 
-->{{IfSemantics|<!--
 
-->{{IfSemantics|<!--
 +
  -->[[Debut date::December 7, 2000| ]]<!--
 
   -->[[English name::{{ #var: $name }}| ]]<!--
 
   -->[[English name::{{ #var: $name }}| ]]<!--
 
   -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
 
   -->{{ #set: English name (linked) = [[{{PAGENAME}}|{{ #var: $name }}]] }}<!--
Line 111: Line 149:
 
   -->[[Main card page::{{ #var: $main }}| ]]<!--
 
   -->[[Main card page::{{ #var: $main }}| ]]<!--
 
   -->[[Card image::{{ #var: $image }}| ]]<!--
 
   -->[[Card image::{{ #var: $image }}| ]]<!--
 +
  -->{{ #subobject: artwork_1 | Japanese image = {{ #var: $image }} }}<!--
 
   -->[[Card type::{{ #var: $card_type | Monster }} Card| ]]<!--
 
   -->[[Card type::{{ #var: $card_type | Monster }} Card| ]]<!--
 
   -->{{ #set: Card type (short) = [[{{ #var: $card_type | Monster }} Card|{{ #var: $card_type_name | Monster }}]] }}<!--
 
   -->{{ #set: Card type (short) = [[{{ #var: $card_type | Monster }} Card|{{ #var: $card_type_name | Monster }}]] }}<!--
   -->[[Monster type::{{ #var: $monster_type }}| ]]<!--
+
   -->{{ #if: {{ #var: $monster_type }} | [[Monster type::{{ #var: $monster_type }} Monster| ]] }}<!--
 
   -->[[Type::{{ #var: $type }}| ]]<!--
 
   -->[[Type::{{ #var: $type }}| ]]<!--
 
   -->[[Evolves to::{{{evolves_to|}}}| ]]<!--
 
   -->[[Evolves to::{{{evolves_to|}}}| ]]<!--
Line 124: Line 163:
 
   -->{{ #if: {{{level|}}} | {{Star properties}} }}<!--
 
   -->{{ #if: {{{level|}}} | {{Star properties}} }}<!--
 
   -->{{ #if: {{{atk|}}}{{{def|}}} | {{ATK DEF properties|{{{atk|}}}|{{{def|}}}}} }}<!--
 
   -->{{ #if: {{{atk|}}}{{{def|}}} | {{ATK DEF properties|{{{atk|}}}|{{{def|}}}}} }}<!--
   -->[[Medium::Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist| ]]<!--
+
   -->[[Medium::Video game| ]]<!--
 
   -->[[Release::{{ #var: $release }}| ]]<!--
 
   -->[[Release::{{ #var: $release }}| ]]<!--
 
   -->{{ #if: {{ #var: $alignment }} |<!--
 
   -->{{ #if: {{ #var: $alignment }} |<!--
       -->[[Alignment::{{ #var: $alignment }} (Alignment)| ]]<!--
+
       -->[[Alignment::{{ #var: $alignment }}| ]]<!--
       -->{{ #set: Alignment (local) = [[{{ #var: $alignment }} (Alignment)|{{ #var: $alignment_name }}]] }}
+
       -->{{ #set: Alignment (local) = [[{{ #var: $alignment }}|{{ #var: $alignment_name }}]] }}
 
     }}<!--
 
     }}<!--
  
Line 136: Line 175:
  
 
-->{{ #if: {{ #var: $main }}
 
-->{{ #if: {{ #var: $main }}
| {{Main|type=card page|"[[{{ #var: $main }}|{{ #var: $main_text | {{ #var: $main }} }}]]"}}
+
| {{Main|type=card page|"[[{{ #var: $main }}|{{ #var: $main_text | {{ #var: $main }} }}]]"|t=1}}
 
}}<!--
 
}}<!--
  
Line 167: Line 206:
  
 
| label7    = [[Alignment]]
 
| label7    = [[Alignment]]
| data7    = {{ #if: {{ #var: $alignment }} | [[{{ #var: $alignment }} (Alignment)|{{ #var: $alignment_name }}]] }}
+
| data7    = {{ #if: {{ #var: $alignment }} | [[{{ #var: $alignment }}|{{ #var: $alignment_name }}]] }}
  
 
| label8    = [[Password]]
 
| label8    = [[Password]]
Line 185: Line 224:
 
| data10    = {{ #if: {{{status<includeonly>|</includeonly>}}} | [[{{{status}}}]] }}
 
| data10    = {{ #if: {{{status<includeonly>|</includeonly>}}} | [[{{{status}}}]] }}
  
| label11    = Playable in
+
| rowclass11 = mobile-show
| data11    = <table class="wikitable" style="margin: 0; text-align: center;">
+
| data11    = <table class="wikitable" style="border: 0; margin: 0; text-align: center;">
     <tr>
+
     <caption style="text-align: center;">Playable in</caption>
      <th scope="col">''Yugi Deck''</th>
+
    {{ #var: $playability_table_body }}
      <th scope="col">''Kaiba Deck''</th>
 
      <th scope="col">''Joey Deck''</th>
 
    </tr>
 
    <tr>
 
      {{ #vardefine: $playable_in_yugi | {{ #switch: {{ lc: {{{playable_in_yugi}}} }}
 
        | yes | true  = Yes
 
        | no  | false = No
 
        | post-game  = Post-game
 
      }} }}{{ #vardefine: $playable_in_kaiba | {{ #switch: {{ lc: {{{playable_in_kaiba}}} }}
 
        | yes | true  = Yes
 
        | no  | false = No
 
        | post-game  = Post-game
 
      }} }}{{ #vardefine: $playable_in_joey | {{ #switch: {{ lc: {{{playable_in_joey}}} }}
 
        | yes | true  = Yes
 
        | no  | false = No
 
        | post-game  = Post-game
 
      }} }}
 
      {{ #if: {{ #var: $playable_in_yugi }}
 
      | <td style="background-color: #{{ #switch: {{ #var: $playable_in_yugi }} | Yes = 9f9 | No = fcc | Post-game = acf }};">{{ #var: $playable_in_yugi }}</td>[[Playable in Yugi::{{ #var: $playable_in_yugi }}| ]]
 
      | <td><noinclude>{{{playable_in_yugi}}}</noinclude><includeonly>???</includeonly></td>
 
      }}
 
      {{ #if: {{ #var: $playable_in_kaiba }}
 
      | <td style="background-color: #{{ #switch: {{ #var: $playable_in_kaiba }} | Yes = 9f9 | No = fcc | Post-game = acf }};">{{ #var: $playable_in_kaiba }}</td>[[Playable in Kaiba::{{ #var: $playable_in_kaiba }}| ]]
 
      | <td><noinclude>{{{playable_in_kaiba}}}</noinclude><includeonly>???</includeonly></td>
 
      }}
 
      {{ #if: {{ #var: $playable_in_joey }}
 
      | <td style="background-color: #{{ #switch: {{ #var: $playable_in_joey }} | Yes = 9f9 | No = fcc | Post-game = acf }};">{{ #var: $playable_in_joey }}</td>[[Playable in Joey::{{ #var: $playable_in_joey }}| ]]
 
      | <td><noinclude>{{{playable_in_joey}}}</noinclude><includeonly>???</includeonly></td>
 
      }}
 
    </tr>
 
 
   </table>
 
   </table>
 +
 +
| rowclass12 = nomobile
 +
| label12    = Playable in
 +
| data12    = <table class="wikitable" style="margin: 0; text-align: center;">{{ #var: $playability_table_body }}</table>
  
 
| below      =  
 
| below      =  
Line 225: Line 238:
 
   |
 
   |
 
   |{{ #var: $number }}
 
   |{{ #var: $number }}
 +
  |name  = {{ #var: $name }}
 
   |last  = 900
 
   |last  = 900
 
   |curr  = ''[[Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist]]'' cards ([[List of Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist cards|list]] '''·''' [[Gallery of Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist cards|gallery]])
 
   |curr  = ''[[Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist]]'' cards ([[List of Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist cards|list]] '''·''' [[Gallery of Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist cards|gallery]])
Line 232: Line 246:
 
}}
 
}}
  
{{Card info links|{{ #var: $main | {{ #var: $pagename }} }}|medium=vg}}<!--
+
{{Card info links|{{ #var: $main | {{PAGENAME}} }}|medium=vg}}<!--
  
 
-->{{DM card obtain
 
-->{{DM card obtain
Line 242: Line 256:
  
 
-->{{ #ifeq: {{ #ask: [[Deck contains::{{PAGENAME}}]] |format=count}} | <includeonly>0</includeonly> | |&#32;
 
-->{{ #ifeq: {{ #ask: [[Deck contains::{{PAGENAME}}]] |format=count}} | <includeonly>0</includeonly> | |&#32;
==Opponents' Decks==
+
<h2>Opponents' Decks</h2>
 
The following characters use "{{ #var: $name }}" in their Deck.
 
The following characters use "{{ #var: $name }}" in their Deck.
 
<table class="wikitable">
 
<table class="wikitable">
Line 262: Line 276:
  
 
-->{{ #if: {{{targets|}}}{{{ritual_for|}}}{{{evolves_to<includeonly>|</includeonly>}}}{{ #var: $is_exodia_piece }}{{ #var: $has_equip }}{{ #var: $is_fusion_material }}{{ #var: $ritual_sacrifice_for }} | &#32;
 
-->{{ #if: {{{targets|}}}{{{ritual_for|}}}{{{evolves_to<includeonly>|</includeonly>}}}{{ #var: $is_exodia_piece }}{{ #var: $has_equip }}{{ #var: $is_fusion_material }}{{ #var: $ritual_sacrifice_for }} | &#32;
==Uses==
+
<h2>Uses</h2>
 
&#32; }}<!--
 
&#32; }}<!--
  
Line 347: Line 361:
  
 
-->{{ #if: {{ #var: $ritual_sacrifice_for }}<noinclude>1</noinclude> |  
 
-->{{ #if: {{ #var: $ritual_sacrifice_for }}<noinclude>1</noinclude> |  
   <p>"{{ #var: $name }}" can be used as as a sacrifice for the [[Ritual Summon]]ing of {{ #var: $ritual_sacrifice_for }}.</p>
+
   <p>"{{ #var: $name }}" is a required sacrifice for the [[Ritual Summon]]ing of {{ #var: $ritual_sacrifice_for }}.</p>
 
}}<!--
 
}}<!--
  
 
-->{{ #if: {{{fusion1_material1<includeonly>|</includeonly>}}} | &#32;
 
-->{{ #if: {{{fusion1_material1<includeonly>|</includeonly>}}} | &#32;
==Fusion Material==
+
<h2>Fusion Material</h2>
 
&#32; }}<!--  
 
&#32; }}<!--  
  
Line 373: Line 387:
  
 
-->{{ #if: {{ #var: $is_fusion_material }}<noinclude>1</noinclude> | &#32;
 
-->{{ #if: {{ #var: $is_fusion_material }}<noinclude>1</noinclude> | &#32;
==Fusion Material for==
+
<h2>Fusion Material for</h2>
 
&#32;
 
&#32;
 
}}<!--
 
}}<!--
Line 395: Line 409:
 
   </table>
 
   </table>
 
}}<!--
 
}}<!--
 +
 +
-->{{In other media}}<!--
  
 
--><includeonly>{{Card navigation}}</includeonly><!--
 
--><includeonly>{{Card navigation}}</includeonly><!--

Latest revision as of 19:26, 15 March 2024

DM4 card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
Back-EN.png
Deck Cost {{{deck_cost}}}
ATK / DEF {{{atk}}} / {{{def}}}
Type [[{{{types}}}]]
Alignment [[{{{alignment}}} (Alignment)|{{{alignment}}}]]
Password {{{password}}}

{{{lore}}}

Status [[{{{status}}}]]
Playable in
Yugi Deck Kaiba Deck Joey Deck
{{{playable_in_yugi}}} {{{playable_in_kaiba}}} {{{playable_in_joey}}}
Playable in
Yugi Deck Kaiba Deck Joey Deck
{{{playable_in_yugi}}} {{{playable_in_kaiba}}} {{{playable_in_joey}}}
  • [[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]]

Obtained by

"DM4 card" can be temporarily obtained by Fusion Summon. See below for combinations.

Opponents' Decks

The following characters use "DM4 card" in their Deck.

Character Qty

Uses

"DM4 card" is one of the cards necessary to perform an "Exodia" instant win.

"DM4 card" can be equipped to the following monsters:

# Card Type Alignment ATK DEF

"DM4 card" can be used to Ritual Summon "{{{ritual_for}}}" by sacrificing the following monsters:

"DM4 card" evolves into "{{{evolves_to}}}" by staying on the field for one turn.

"DM4 card" can be equipped with the following Equip Magic Cards:

"DM4 card" can be used as Fusion Material. See below for combinations.

"DM4 card" is a required sacrifice for the Ritual Summoning of .

Fusion Material

"DM4 card" can be Fusion Summoned, using the following Fusion Material:

Material 1 Material 2

Fusion Material for

"DM4 card" can be used as material for the following Fusion Summons:

Result Other Material

In other media