Difference between revisions of "Template:Card probabilities"

From Yugipedia
Jump to: navigation, search
(include Summon (Alignment) column for DM2 and DM3 (DDS))
(rv. broke something)
Line 2: Line 2:
 
-->{{ #arraydefine: $cards | {{{cards|}}} | /\n/ }}<!--
 
-->{{ #arraydefine: $cards | {{{cards|}}} | /\n/ }}<!--
 
-->{{ #vardefine: $character        | {{ #if: {{{character|}}} | {{{character}}} | {{PAGENAME}} }} }}<!--
 
-->{{ #vardefine: $character        | {{ #if: {{{character|}}} | {{{character}}} | {{PAGENAME}} }} }}<!--
-->{{ #vardefine: $game            | {{{game|}}} }}<!--
 
 
-->{{ #vardefine: $is_victory_bonus | {{ #switch: {{ lc: {{{type}}} }} | milestones | victory bonus = 1 }} }}<!--
 
-->{{ #vardefine: $is_victory_bonus | {{ #switch: {{ lc: {{{type}}} }} | milestones | victory bonus = 1 }} }}<!--
 
-->{{ #vardefine: $property        | {{ #switch: {{ lc: {{{type}}} }}
 
-->{{ #vardefine: $property        | {{ #switch: {{ lc: {{{type}}} }}
Line 22: Line 21:
 
     <th scope="col">Type</th>
 
     <th scope="col">Type</th>
 
     <th scope="col">ATK</th>
 
     <th scope="col">ATK</th>
     <th scope="col">DEF</th>{{ #switch: {{{game}}}
+
     <th scope="col">DEF</th>
| Yu-Gi-Oh! Duel Monsters II: Dark Duel Stories
 
| Yu-Gi-Oh! Dark Duel Stories =
 
    <th scope="col">Summon</th>
 
}}
 
 
 
 
{{ #if: {{ #var: $is_victory_bonus }}
 
{{ #if: {{ #var: $is_victory_bonus }}
 
|
 
|
Line 61: Line 55:
 
     <td>{{ #show: {{ #var: $card-strip }} |?Type }}</td>
 
     <td>{{ #show: {{ #var: $card-strip }} |?Type }}</td>
 
     <td>{{ #show: {{ #var: $card-strip }} |?ATK string }}</td>
 
     <td>{{ #show: {{ #var: $card-strip }} |?ATK string }}</td>
     <td>{{ #show: {{ #var: $card-strip }} |?DEF string }}</td>{{ #switch: {{{game}}}
+
     <td>{{ #show: {{ #var: $card-strip }} |?DEF string }}</td>
  | Yu-Gi-Oh! Duel Monsters II: Dark Duel Stories
 
  | Yu-Gi-Oh! Dark Duel Stories =
 
    <td>{{ #show: {{ #var: $card-strip }} |?Alignment (local) }}</th>
 
  }}
 
 
   {{ #if: {{ #var: $is_victory_bonus }}
 
   {{ #if: {{ #var: $is_victory_bonus }}
 
   |
 
   |

Revision as of 23:49, 11 December 2018

# Card Card type Type ATK DEF % 2048th