Difference between revisions of "Template:DM5 card"

From Yugipedia
Jump to: navigation, search
(automatically get filenames for alternate art cards)
(fix italics for alternate artwork pages, automatically add "see also" links to different artwork versions)
Line 19: Line 19:
 
-->{{ #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=]]|{{ #var: $stars }}}}</includeonly> }}<!--
 
-->{{ #vardefine: $number    | {{ #if: {{{number|}}} | {{ #pad: {{{number}}} | 3 | 0 | left }} }} }}<!--
 
-->{{ #vardefine: $number    | {{ #if: {{{number|}}} | {{ #pad: {{{number}}} | 3 | 0 | left }} }} }}<!--
-->{{ #vardefine: $alt_art    | {{ #if: {{ #pos: {{PAGENAME}} | alternate art }} | -2 }} }}<!--
+
-->{{ #vardefine: $alt_art    | {{ #if: {{ #pos: {{PAGENAME}} | alternate artwork) }} | -2 }} }}<!--
  
 
-->{{ #switch: {{ lc: {{{card_type|}}} }}
 
-->{{ #switch: {{ lc: {{{card_type|}}} }}
Line 87: Line 87:
 
}}<!--
 
}}<!--
  
-->{{DISPLAYTITLE:{{ #replace: {{FULLPAGENAME}} | (DM5) | (''DM5'') }}}}<!--
+
-->{{DISPLAYTITLE:{{ #replace: {{FULLPAGENAME}} | (DM5 | (''DM5'' }}}}<!--
  
 
-->{{ #if: {{ #var: $main }}
 
-->{{ #if: {{ #var: $main }}
 
| {{Main|type=card page|"[[{{ #var: $main }}]]"}}
 
| {{Main|type=card page|"[[{{ #var: $main }}]]"}}
 +
}}<!--
 +
 +
-->{{ #ifexist: {{ #replace: {{PAGENAME}} | (DM5) | (DM5 alternate artwork) }}
 +
| {{See also|{{ #replace: {{PAGENAME}} | (DM5) | (''DM5'' alternate artwork) }}}}
 +
}}<!--
 +
 +
-->{{ #ifexist: {{ #replace: {{PAGENAME}} | (DM5 alternate artwork) | (DM5) }}
 +
| {{See also|{{ #replace: {{PAGENAME}} | (DM5 alternate artwork) | (''DM5'') }}}}
 
}}<!--
 
}}<!--
  

Revision as of 00:16, 12 July 2017

DM5 card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
Back-EN.png
Type [[{{{types}}}|{{{types}}}]]
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.
Password {{{password}}}

{{{lore}}}

{{{ja_lore}}}

  • [[Card Gallery:{{{main}}}|Gallery]]
  • [[Card Appearances:{{{main}}}|Appearances]]
  • [[Card Trivia:{{{main}}}|Trivia]]
  • [[Card Tips:{{{main}}}|Tips]]
  • [[Card Artworks:{{{main}}}|Artworks]]