Difference between revisions of "Template:Manga card tr/core"

From Yugipedia
Jump to: navigation, search
(quotes on card names; {{Documentation}})
(if somehow a card doesn't return an English name, at least make sure the link to the card's page isn't broken)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
     <td rowspan="2">{{ #if: {{{Card artwork|}}}
 
     <td rowspan="2">{{ #if: {{{Card artwork|}}}
 
   | [[File:{{ #explode: {{{Card artwork}}} | , }}|50px|alt=]]
 
   | [[File:{{ #explode: {{{Card artwork}}} | , }}|50px|alt=]]
   | {{ #ifeq: {{{Non-card image}}} | {{{Card image}}} | [[File:{{{Non-card image}}}|50x50px|center|alt=]] }}
+
   | {{ #if: {{{Non-card image}}} | {{ #ifeq: {{{Non-card image}}} | {{{Card image}}} | [[File:{{{Non-card image}}}|50x50px|center|alt=]] }} }}
 
   }}</td>
 
   }}</td>
     <td>{{ #if: {{{Card number|}}} | {{Pound}}{{{Card number}}}&nbsp; }}"<strong>[[{{{#userparam}}}|{{{English name}}}]]</strong>" {{ #if: {{{Translated name}}} | &#124; "{{{Translated name}}}" }} {{ #if: {{{Japanese name|}}}{{{Romaji name|}}} | ({{ #if: {{{Japanese name|}}} | 「{{{Japanese name}}}」 }}{{ #if: {{{Romaji name|}}} | {{ #if: {{{Japanese name|}}} | &nbsp; }}''{{{Romaji name}}}'' }}) }}</td>
+
     <td>{{ #if: {{{Card number|}}} | {{Pound}}{{{Card number}}}&nbsp; }}"<strong>[[{{{#userparam}}}|{{ #if: {{{English name|}}} | {{{English name}}} | {{{#userparam}}} }}]]</strong>" {{ #if: {{{Translated name}}} | &#124; "{{{Translated name}}}" }} {{ #if: {{{Japanese name|}}}{{{Romaji name|}}} | ({{ #if: {{{Japanese name|}}} | 「{{{Japanese name}}}」 }}{{ #if: {{{Romaji name|}}} | {{ #if: {{{Japanese name|}}} | &nbsp; }}''{{{Romaji name}}}'' }}) }}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Latest revision as of 05:44, 14 September 2023