Difference between revisions of "Template:DM7 card"

From Yugipedia
Jump to: navigation, search
m (fix copy paste; correct list link)
(Only assume a "main" if the disambiguation text contains "TSC". e.g. don't assume a main for "Puppet Ritual (video games)". Also allow for manual main link suppressing)
Line 44: Line 44:
 
}}<!--
 
}}<!--
  
-->{{ #if: {{{main<includeonly>|</includeonly>}}}{{ #explode: {{PAGENAME}} | ( | 1 }} | {{ #vardefine: $main | {{ #if: {{{main<includeonly>|</includeonly>}}} | {{ #replace: {{{main}}} | # }} | {{ #var: $url-name }} }} }} }}<!--
+
-->{{ #vardefine: $main
 +
| {{ #if: {{ #pos: {{PAGENAME}} | (TSC }}{{{main<includeonly>|</includeonly>}}}
 +
  | {{ #switch: {{ lc: {{{main|}}} }}
 +
    | no | none | false =
 +
    | {{ #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 }} }} }} }}<!--
  

Revision as of 20:45, 6 August 2019

DM7 card
Japanese
{{{ja_name}}}
Rōmaji
{{{romaji_name}}}
Translated
{{{trans_name}}}
Back-EN.png
Number
  • {{{number}}} (artwork 1)
  • {{{number2}}} (artwork 2)
Type [[{{{types}}}]]
Summon [[{{{summon}}} (Alignment)|{{{summon}}}]]
Deck Cost {{{deck_cost}}}
ATK / DEF {{{atk}}} / {{{def}}}

{{{lore}}}

Password {{{password}}} (artwork 1)
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]]

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}}}