Difference between revisions of "Template:DM5 card"

From Yugipedia
Jump to: navigation, search
(Debut date::July 5, 2001)
(Restoring revision 5155816 by User:Deltaneos on 2023-01-09 20:00:16. "update to work with the newest version of {{Card image name}}")
Line 1: Line 1:
__NOEDITSECTION__{{ #if: {{ #pos: {{PAGENAME}} | DM5 }} | {{Italic dab|{{ #replace: {{PAGENAME}} | DM5 | <i>DM5</i> }}|t=1}} }}{{ #if: {{NAMESPACE}}
+
{{ #if: {{ #pos: {{PAGENAME}} | DM5 }} | {{Italic dab|{{ #replace: {{PAGENAME}} | DM5 | <i>DM5</i> }}|t=1}} }}{{ #if: {{NAMESPACE}}
 
|
 
|
 
| [[Category:Yu-Gi-Oh! Duel Monsters 5: Expert 1 cards]]
 
| [[Category:Yu-Gi-Oh! Duel Monsters 5: Expert 1 cards]]
Line 18: Line 18:
 
-->{{ #vardefine: $stars      | {{{level|}}}                                      }}<!--
 
-->{{ #vardefine: $stars      | {{{level|}}}                                      }}<!--
 
-->{{ #vardefine: $level-rank | Level                                              }}<!-- needed for {{Star properties}}
 
-->{{ #vardefine: $level-rank | Level                                              }}<!-- needed for {{Star properties}}
-->{{ #vardefine: $star_icon  | <includeonly>{{Repeat|[[File:CG Star.svg|18px|alt=]]|{{ #var: $stars }}}}</includeonly> }}<!--
+
-->{{ #vardefine: $star_icon  | <includeonly>{{Repeat|[[File:CG Star.svg|18px|alt=|class=noviewer]]|{{ #var: $stars }}}}</includeonly> }}<!--
 
-->{{ #vardefine: $number    | {{ #if: {{{number<includeonly>|</includeonly>}}}  | {{ padleft: {{{number}}}  | 3 | 0 }} }} }}<!--
 
-->{{ #vardefine: $number    | {{ #if: {{{number<includeonly>|</includeonly>}}}  | {{ padleft: {{{number}}}  | 3 | 0 }} }} }}<!--
 
-->{{ #vardefine: $number2    | {{ #if: {{{number2<includeonly>|</includeonly>}}} | {{ padleft: {{{number2}}} | 3 | 0 }} }} }}<!--
 
-->{{ #vardefine: $number2    | {{ #if: {{{number2<includeonly>|</includeonly>}}} | {{ padleft: {{{number2}}} | 3 | 0 }} }} }}<!--
Line 58: Line 58:
  
 
-->{{ #vardefine: $image
 
-->{{ #vardefine: $image
| {{ #ifexist: File:{{Card image name|{{ #var: $url-name }}}}-DM5-JP-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
+
| {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-DM5-JP-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
   | {{Card image name|{{ #var: $url-name }}}}-DM5-JP-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
+
   | {{Card image name|{{PAGENAME}}}}-DM5-JP-VG{{ #if: {{ #var: $is_alt_card }} | -alt }}.png
 
   }}
 
   }}
 
}}<!--
 
}}<!--
Line 65: Line 65:
 
-->{{ #vardefine: $image2
 
-->{{ #vardefine: $image2
 
| {{ #if: {{ #var: $number2 }}
 
| {{ #if: {{ #var: $number2 }}
   | {{ #ifexist: File:{{Card image name|{{ #var: $url-name }}}}-DM5-JP-VG-2.png
+
   | {{ #ifexist: File:{{Card image name|{{PAGENAME}}}}-DM5-JP-VG-2.png
     | {{Card image name|{{ #var: $url-name }}}}-DM5-JP-VG-2.png
+
     | {{Card image name|{{PAGENAME}}}}-DM5-JP-VG-2.png
 
     }}
 
     }}
 
   }}
 
   }}
Line 108: Line 108:
 
   -->{{ #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 5: Expert 1| ]]<!--
+
   -->[[Medium::Video game| ]]<!--
 
   -->[[Release::{{ #var: $release }}| ]]<!--
 
   -->[[Release::{{ #var: $release }}| ]]<!--
  
Line 146: Line 146:
 
| above    = {{ #var: $above }}
 
| above    = {{ #var: $above }}
  
| image    = {{ #var: $image | DM5-Box-JP.jpg }}
+
| image_raw = {{ #if: {{ #var: $image2 }}
| max_width = 240
+
  | <div class="switcher-container" style="margin: 0 auto; max-width: 240px; text-align: left;"><!--
| below_image = {{ #if: {{ #var: $image2 }}
+
      --><div style="margin-bottom: .5rem;"><!--
  |<div class="hlist image-switcher">
+
        -->[[File:{{ #var: $image | DM5-Box-JP.jpg }}|240px|alt=]]<!--
{{Image dimensions|{{ #var: $image }}|artwork 1}} '''·''' {{Image dimensions|{{ #var: $image2 }}|artwork 2}}
+
        --><span class="switcher-label">Artwork 1</span><!--
</div>
+
      --></div><!--
 +
      --><div style="margin-bottom: .5rem;"><!--
 +
        -->[[File:{{ #var: $image2 }}|240px|alt=]]<!--
 +
        --><span class="switcher-label">Artwork 2</span><!--
 +
      --></div><!--
 +
    --></div>
 +
  | [[File:{{ #var: $image | DM5-Box-JP.jpg }}|240px|alt=]]
 
   }}
 
   }}
  
Line 158: Line 164:
  
 
| label2    = [[Property]]
 
| label2    = [[Property]]
| data2    = {{ #if: {{{property|}}} | [[{{{property}}} {{ #var: $card_type }} Card|{{{property}}}]] [[File:{{{property}}}.svg|18px|alt=]] }}
+
| data2    = {{ #if: {{{property|}}} | [[{{{property}}} {{ #var: $card_type }} Card|{{{property}}}]] [[File:{{{property}}}.svg|18px|alt=|class=noviewer]] }}
  
 
| label3    = [[Attribute]]
 
| label3    = [[Attribute]]
| data3    = {{ #if: {{{attribute|}}} | [[{{ #var: $attribute }}]] [[File:{{ #var: $attribute }}.svg|24px|alt=]] }}
+
| data3    = {{ #if: {{{attribute|}}} | [[{{ #var: $attribute }}]] [[File:{{ #var: $attribute }}.svg|24px|alt=|class=noviewer]] }}
  
 
| label4    = [[Type]]
 
| label4    = [[Type]]
Line 169: Line 175:
 
&#32;/ [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }} <!--
 
&#32;/ [[{{ #var: $type3_page }}|{{ #var: $type3 }}]] }} <!--
  
-->[[File:{{ #var: $type }}-TF06.png|16px|alt=]]<!--
+
-->[[File:{{ #var: $type }}-TF06.png|16px|alt=|class=noviewer]]<!--
-->{{ #if: {{ #var: $type2_page }} | {{ #ifeq: {{ #var: $type2 }} | Token || [[File:{{ #var: $type2_page }}-DM5.png|16px|alt=]] }} }}<!--
+
-->{{ #if: {{ #var: $type2_page }} | {{ #ifeq: {{ #var: $type2 }} | Token || [[File:{{ #var: $type2_page }}-DM5.png|16px|alt=|class=noviewer]] }} }}<!--
-->{{ #if: {{ #var: $type3_page }} | [[File:{{ #var: $type3_page }}-DM5.png|16px|alt=]] }}
+
-->{{ #if: {{ #var: $type3_page }} | [[File:{{ #var: $type3_page }}-DM5.png|16px|alt=|class=noviewer]] }}
 
   }}
 
   }}
  
Line 244: Line 250:
  
 
-->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]] }} | &#32;
 
-->{{ #if: {{ #ask: [[Set contains::{{PAGENAME}}]] }} | &#32;
==Sets==
+
<h2>Sets</h2>
 
<!--
 
<!--
  

Revision as of 01:27, 15 March 2023

DM5 card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
Type [[{{{types}}}|{{{types}}}]] [[File:{{{types}}}-TF06.png|16px|alt=|class=noviewer]]
ATK / DEF {{{atk}}} / {{{def}}}
Effect type

  • [[{{{effect_types}}}|{{{effect_types}}}]]Property "Effect type" (as page type) with input value "{{{effect_types}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Number
  • {{{number}}} (artwork 1)
  • {{{number2}}} (artwork 2)
Internal number
  • {{{internal_number}}} (artwork 1)
  • {{{internal_number2}}} (artwork 2)
Password {{{password}}} (artwork 1)

{{{lore}}}

{{{ja_lore}}}

Status [[{{{status}}}]]
  • [[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]]