Difference between revisions of "Template:Video game Deck list/row"

From Yugipedia
Jump to: navigation, search
(Created page with "<noinclude> <table class="wikitable"> </noinclude> <tr> <td>{{{Card number<includeonly>|</includeonly>}}}</td> <td>{{ #var: $card }}|{{ #if: {{{English name<includeonly>...")
 
("Category" column)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
   <td>[[{{ #var: $card }}|{{ #if: {{{English name<includeonly>|</includeonly>}}} | {{{English name}}} | {{ #var: $card }} }}]]</td>
 
   <td>[[{{ #var: $card }}|{{ #if: {{{English name<includeonly>|</includeonly>}}} | {{{English name}}} | {{ #var: $card }} }}]]</td>
 
   <td class="nomobile">{{{Card type (short)<includeonly>|</includeonly>}}}</td>
 
   <td class="nomobile">{{{Card type (short)<includeonly>|</includeonly>}}}</td>
 +
  <td class="nomobile"><!--
 +
    // Hidden text to ensure properties are grouped by card type when sorting
 +
    --><span style="display: none;">{{ #replace: {{{Card type|}}} | Card }} / </span><!--
 +
    -->{{ #ifeq: {{{Card type}}} | Monster Card | {{{Monster type (short)|}}} | {{{Property (short)<includeonly>|</includeonly>}}} }}
 +
  </td>
 
   <td class="nomobile">{{{Attribute<includeonly>|</includeonly>}}}</td>
 
   <td class="nomobile">{{{Attribute<includeonly>|</includeonly>}}}</td>
 
   <td class="nomobile">{{{Type<includeonly>|</includeonly>}}}</td>
 
   <td class="nomobile">{{{Type<includeonly>|</includeonly>}}}</td>
Line 11: Line 16:
 
   <td class="nomobile">{{ #if: {{{ATK<includeonly>|</includeonly>}}} | {{{ATK}}} | {{{ATK string|}}} }}</td>
 
   <td class="nomobile">{{ #if: {{{ATK<includeonly>|</includeonly>}}} | {{{ATK}}} | {{{ATK string|}}} }}</td>
 
   <td class="nomobile">{{ #if: {{{DEF<includeonly>|</includeonly>}}} | {{{DEF}}} | {{{DEF string|}}} }}</td>
 
   <td class="nomobile">{{ #if: {{{DEF<includeonly>|</includeonly>}}} | {{{DEF}}} | {{{DEF string|}}} }}</td>
 +
  <td>{{ #var: $quantity | 1 }}</td>
 
</tr>
 
</tr>
 
<noinclude>
 
<noinclude>
 
</table>
 
</table>
 
</noinclude>
 
</noinclude>

Latest revision as of 11:02, 19 May 2019

{{{Card number}}} [[|{{{English name}}}]] {{{Card type (short)}}} / {{{Property (short)}}} {{{Attribute}}} {{{Type}}} {{{Level}}} {{{ATK}}} {{{DEF}}} 1