Difference between revisions of "Template:Card probabilities"

From Yugipedia
Jump to: navigation, search
m (fix)
(TSC and ROD adjustments)
Line 22: Line 22:
 
| DM4      | Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist = <!--
 
| DM4      | Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist = <!--
 
   -->{{ #vardefine: $has_alignment_col | 1 }}<!--
 
   -->{{ #vardefine: $has_alignment_col | 1 }}<!--
 +
  -->{{ #vardefine: $has_level_col    | 1 }}<!--
 +
  -->{{ #ifeq: {{ #var: $property }} | Deck contains
 +
    | {{ #vardefine: $use_fixed_quantities | 1 }}
 +
    }}{{ #ifeq: {{ lc: {{{type}}} }} | fixed set
 +
    | {{ #vardefine: $use_fixed_quantities | 1 }}
 +
    }}
 +
 +
| DM7 | TSC | Yu-Gi-Oh! The Sacred Cards
 +
| DM8 | ROD | Yu-Gi-Oh! Reshef of Destruction = <!--
 +
  -->{{ #vardefine: $has_summon_col    | 1 }}<!--
 
   -->{{ #vardefine: $has_level_col    | 1 }}<!--
 
   -->{{ #vardefine: $has_level_col    | 1 }}<!--
 
   -->{{ #ifeq: {{ #var: $property }} | Deck contains
 
   -->{{ #ifeq: {{ #var: $property }} | Deck contains
Line 41: Line 51:
 
     <th scope="col">Card type</th>{{ #if: {{ #var: $has_alignment_col }} |
 
     <th scope="col">Card type</th>{{ #if: {{ #var: $has_alignment_col }} |
 
     <th scope="col">Alignment</th>
 
     <th scope="col">Alignment</th>
 +
}}{{ #if: {{ #var: $has_Summon_col }} |
 +
    <th scope="col">Summon</th>
 
}}
 
}}
 
     <th scope="col">Type</th>{{ #if: {{ #var: $has_level_col }} |
 
     <th scope="col">Type</th>{{ #if: {{ #var: $has_level_col }} |
Line 92: Line 104:
 
     <td>{{ #show: {{ #var: $card-strip }} |?Card number }}</td>
 
     <td>{{ #show: {{ #var: $card-strip }} |?Card number }}</td>
 
     <td>[[{{ #var: $card-strip }}|{{ #var: $card_name | {{ #explode: {{ #var: $card }} | ( }} }}]]</td>
 
     <td>[[{{ #var: $card-strip }}|{{ #var: $card_name | {{ #explode: {{ #var: $card }} | ( }} }}]]</td>
     <td>{{ #show: {{ #var: $card-strip }} |?Card type (short) }}</td>{{ #if: {{ #var: $has_alignment_col }} |
+
     <td>{{ #show: {{ #var: $card-strip }} |?Card type (short) }}</td>{{ #if: {{ #var: $has_alignment_col }}{{ #var: $has_summon_col }} |
 
     <td>{{ #show: {{ #var: $card-strip }} |?Alignment (local) }}</td>
 
     <td>{{ #show: {{ #var: $card-strip }} |?Alignment (local) }}</td>
 
}}
 
}}
Line 117: Line 129:
 
# Reset variables before the next transclusion
 
# Reset variables before the next transclusion
 
-->{{ #vardefine: $has_alignment_col  | }}<!--
 
-->{{ #vardefine: $has_alignment_col  | }}<!--
 +
-->{{ #vardefine: $has_summon_col      | }}<!--
 
-->{{ #vardefine: $has_level_col      | }}<!--
 
-->{{ #vardefine: $has_level_col      | }}<!--
 
-->{{ #vardefine: $use_fixed_quantities| }}<!--
 
-->{{ #vardefine: $use_fixed_quantities| }}<!--

Revision as of 19:12, 31 August 2019

# Card Card type Type ATK DEF % 2048th