Difference between revisions of "Template:Card probabilities"

From Yugipedia
Jump to: navigation, search
("var" → "vardefine")
("Summon" → "Alignment")
Line 11: Line 11:
  
 
-->{{ #switch: {{{game}}}
 
-->{{ #switch: {{{game}}}
| Yu-Gi-Oh! Duel Monsters II: Dark Duel Stories = {{ #vardefine: $has_summon_col | 1 }}
+
| Yu-Gi-Oh! Duel Monsters II: Dark Duel Stories = {{ #vardefine: $has_alignment_col | 1 }}
| Yu-Gi-Oh! Dark Duel Stories                  = {{ #vardefine: $has_summon_col | 1 }}{{ #vardefine: $has_level_col | 1 }}
+
| Yu-Gi-Oh! Dark Duel Stories                  = {{ #vardefine: $has_alignment_col | 1 }}{{ #vardefine: $has_level_col | 1 }}
 
}}<!--
 
}}<!--
  
Line 24: Line 24:
 
     <th scope="col"><abbr title="Number">#</abbr></th>
 
     <th scope="col"><abbr title="Number">#</abbr></th>
 
     <th scope="col">Card</th>
 
     <th scope="col">Card</th>
     <th scope="col">Card type</th>{{ #if: {{ #var: $has_summon_col }} |
+
     <th scope="col">Card type</th>{{ #if: {{ #var: $has_alignment_col }} |
     <th scope="col">Summon</th>
+
     <th scope="col">Alignment</th>
 
}}
 
}}
 
     <th scope="col">Type</th>{{ #if: {{ #var: $has_level_col }} |
 
     <th scope="col">Type</th>{{ #if: {{ #var: $has_level_col }} |
Line 62: Line 62:
 
     <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_summon_col }} |
+
     <td>{{ #show: {{ #var: $card-strip }} |?Card type (short) }}</td>{{ #if: {{ #var: $has_alignment_col }} |
 
     <td>{{ #show: {{ #var: $card-strip }} |?Alignment (local) }}</td>
 
     <td>{{ #show: {{ #var: $card-strip }} |?Alignment (local) }}</td>
 
}}
 
}}

Revision as of 03:30, 31 December 2018

# Card Card type Type ATK DEF % 2048th