Permanently protected template

Difference between revisions of "Template:CardTable2"

From Yugipedia
Jump to: navigation, search
(properly support "type3 = Flip"; move "... Text" property assignments after the non-Text assignments in all cases)
(type2/type3 tweaks; add whitespace around / for ATK/DEF)
Line 129: Line 129:
  
  
-->{{ #vardefine: $level-rank | {{ #if: {{ #pos: {{{type2}}}{{{type3}}} | Xyz }} | Rank | Level }}
+
-->{{ #vardefine: $level-rank | {{ #if: {{ #pos: {{{type2}}}{{{type3}}}{{{type4}}} | Xyz }} | Rank | Level }}
 
}}{{ #vardefine: $stars      | {{var|{{{level<includeonly>|</includeonly>}}}|{{{rank|}}}}}
 
}}{{ #vardefine: $stars      | {{var|{{{level<includeonly>|</includeonly>}}}|{{{rank|}}}}}
 
}}<!--
 
}}<!--
Line 206: Line 206:
 
     }}
 
     }}
 
   }}
 
   }}
}}; {{
+
}}; {{ #if: {{ #pos: {{{type2}}}{{{type3}}}{{{type4}}} | Pendulum }} <!-- Pendulum Monsters are retarded (http://www.colorzilla.com/gradient-editor/#ffffff+40,339966+80&0+40,1+80;Custom) -->
  #if: {{ #pos: {{{type2}}}{{{type3}}} | Pendulum }} <!-- Pendulum Monsters are retarded (http://www.colorzilla.com/gradient-editor/#ffffff+40,339966+80&0+40,1+80;Custom) -->
 
 
   | background-image: -webkit-linear-gradient(top, rgba(255,255,255,0) 40%,#396 80%); <!-- Chrome10+,Safari5.1+
 
   | background-image: -webkit-linear-gradient(top, rgba(255,255,255,0) 40%,#396 80%); <!-- Chrome10+,Safari5.1+
 
--> background-image: linear-gradient(to bottom, rgba(255,255,255,0) 40%,#396 80%); <!-- W3C -->
 
--> background-image: linear-gradient(to bottom, rgba(255,255,255,0) 40%,#396 80%); <!-- W3C -->
Line 410: Line 409:
 
   | Strategy Card | FAQ Card  | Illustration Card | Counter  = [[{{ucfirst: {{{type}}} }}]][[Card type::{{{type}}}| ]][[Card type Text::{{{type}}}| ]]
 
   | Strategy Card | FAQ Card  | Illustration Card | Counter  = [[{{ucfirst: {{{type}}} }}]][[Card type::{{{type}}}| ]][[Card type Text::{{{type}}}| ]]
 
   | Item                                          = [[Item]]
 
   | Item                                          = [[Item]]
   | #default                                      = [[{{ucfirst: {{{type}}} }}|{{ #explode: {{{type}}} | ( }}]]{{ #if: {{{type2|}}} | / }}
+
   | #default                                      = [[{{ucfirst: {{{type}}} }}|{{ #explode: {{{type}}} | ( }}]] {{ #if: {{{type2|}}} | / }}
   }}{{ #if: {{{type2|}}}
+
   }} {{ #if: {{{type2|}}}
 
   | [[{{{type2}}} {{ #switch: {{{type2}}}
 
   | [[{{{type2}}} {{ #switch: {{{type2}}}
 
     | Flip  | Spirit | Union      | Toon | Gemini
 
     | Flip  | Spirit | Union      | Toon | Gemini
 
     | Armor | Tuner  | Dark Tuner = m
 
     | Armor | Tuner  | Dark Tuner = m
 
     | #default                    = M
 
     | #default                    = M
     }}onster|{{{type2}}}]]{{ #if: {{{type3|}}} | / }}
+
     }}onster|{{{type2}}}]] {{ #if: {{{type3|}}} | / }}
   }}{{ #if: {{{type3|}}} | [[{{{type3}}} {{ #ifeq: {{{type3}}} | Flip | m | M }}onster|{{{type3}}}]][[Type3::{{{type3}}}| ]]{{ #if: {{{type4|}}} | / }}
+
   }} {{ #if: {{{type3|}}}
   }}{{ #if: {{{type4|}}} | [[{{{type4}}} Monster|{{{type4}}}]][[Type4::{{{type4}}}| ]] }}
+
  | [[{{{type3}}} {{ #switch: {{{type3}}}
 +
    | Flip | Spirit | Union      | Toon | Gemini
 +
    | Armor | Tuner  | Dark Tuner = m
 +
    | #default                    = M
 +
    }}onster|{{{type3}}}]][[Type3::{{{type3}}}| ]] {{ #if: {{{type4|}}} | / }}
 +
   }} {{ #if: {{{type4|}}} | [[{{{type4}}} Monster|{{{type4}}}]][[Type4::{{{type4}}}| ]] }}
 
}}<!--
 
}}<!--
 
-->{{CardTable2/row
 
-->{{CardTable2/row
Line 447: Line 451:
 
-->{{CardTable2/row
 
-->{{CardTable2/row
 
| check  = {{{hp<includeonly>|</includeonly>}}}{{{atk|}}}{{{def|}}}
 
| check  = {{{hp<includeonly>|</includeonly>}}}{{{atk|}}}{{{def|}}}
| header = {{ #if: {{{hp<includeonly>|</includeonly>}}} | [[HP]]/ }}[[ATK]]/[[DEF]]
+
| header = {{ #if: {{{hp<includeonly>|</includeonly>}}} | [[HP]] / }} [[ATK]] / [[DEF]]
 
| data  = {{ #if: {{{enddm_sets<includeonly>|</includeonly>}}}{{{jpddm_sets|}}}{{{vg_ddm|}}} <!-- DDM -->
 
| data  = {{ #if: {{{enddm_sets<includeonly>|</includeonly>}}}{{{jpddm_sets|}}}{{{vg_ddm|}}} <!-- DDM -->
 
     | {{ #if: {{{hp<includeonly>|</includeonly>}}}
 
     | {{ #if: {{{hp<includeonly>|</includeonly>}}}
       | {{{hp}}}[[DDM Hit Points::{{{hp}}}| ]]{{ #if: {{{atk<includeonly>|</includeonly>}}}{{{def|}}} | / }}
+
       | {{{hp}}}[[DDM Hit Points::{{{hp}}}| ]] {{ #if: {{{atk<includeonly>|</includeonly>}}}{{{def|}}} | / }}
     }}{{ #if: {{{atk<includeonly>|</includeonly>}}}
+
     }} {{ #if: {{{atk<includeonly>|</includeonly>}}}
       | {{{atk}}}[[DDMATK::{{{atk}}}| ]]{{ #if: {{{def<includeonly>|</includeonly>}}} | / }}
+
       | {{{atk}}}[[DDMATK::{{{atk}}}| ]] {{ #if: {{{def<includeonly>|</includeonly>}}} | / }}
     }}{{ #if: {{{def<includeonly>|</includeonly>}}}
+
     }} {{ #if: {{{def<includeonly>|</includeonly>}}}
 
       | {{{def}}}[[DDMDEF::{{{def}}}| ]]
 
       | {{{def}}}[[DDMDEF::{{{def}}}| ]]
 
     }}
 
     }}
 
     | {{ #if: {{{atk|}}}
 
     | {{ #if: {{{atk|}}}
       | [[{{{atk}}} ATK Monster Cards|{{{atk}}}]][[ATK string::{{{atk}}}| ]][[{{ #iferror: {{ #expr: {{{atk}}} }} | ? | }}ATK::{{{atk}}}| ]]{{ #if: {{{def|}}} | / }}
+
       | [[{{{atk}}} ATK Monster Cards|{{{atk}}}]][[ATK string::{{{atk}}}| ]][[{{ #iferror: {{ #expr: {{{atk}}} }} | ? | }}ATK::{{{atk}}}| ]] {{ #if: {{{def|}}} | / }}
     }}{{ #if: {{{def|}}}
+
     }} {{ #if: {{{def|}}}
 
       | [[{{{def}}} DEF Monster Cards|{{{def}}}]][[DEF string::{{{def}}}| ]][[{{ #iferror: {{ #expr: {{{def}}} }} | ? | }}DEF::{{{def}}}| ]]
 
       | [[{{{def}}} DEF Monster Cards|{{{def}}}]][[DEF string::{{{def}}}| ]][[{{ #iferror: {{ #expr: {{{def}}} }} | ? | }}DEF::{{{def}}}| ]]
 
     }}
 
     }}
Line 1,507: Line 1,511:
 
     | Spirit  | Union      | Toon  | Gemini | Flip | Armor = [[Card type::Effect Monster| ]][[Card type Text::Effect Monster| ]][[Monster type::{{{type2}}} monster| ]][[Monster type Text::{{{type2}}} monster| ]]
 
     | Spirit  | Union      | Toon  | Gemini | Flip | Armor = [[Card type::Effect Monster| ]][[Card type Text::Effect Monster| ]][[Monster type::{{{type2}}} monster| ]][[Monster type Text::{{{type2}}} monster| ]]
 
     | Tuner    | Dark Tuner = [[Card type::{{ #if: {{{effect|}}}{{ #ifeq: {{{type3}}} | Effect | 1 }} | Effect | Normal }} Monster| ]][[Card type Text::{{ #if: {{{effect|}}}{{ #ifeq: {{{type3}}} | Effect | 1 }} | Effect | Normal }} Monster| ]][[Monster type::{{{type2}}} monster| ]][[Monster type Text::{{{type2}}} monster| ]]
 
     | Tuner    | Dark Tuner = [[Card type::{{ #if: {{{effect|}}}{{ #ifeq: {{{type3}}} | Effect | 1 }} | Effect | Normal }} Monster| ]][[Card type Text::{{ #if: {{{effect|}}}{{ #ifeq: {{{type3}}} | Effect | 1 }} | Effect | Normal }} Monster| ]][[Monster type::{{{type2}}} monster| ]][[Monster type Text::{{{type2}}} monster| ]]
   }}{{ #ifeq: {{{type3}}} | Tuner
+
   }}{{ #switch: {{{type3}}} | Tuner | Flip = [[Monster type::{{{type3}}} monster| ]][[Monster type Text::{{{type3}}} monster| ]]
    | [[Monster type::{{{type3}}} Monster| ]][[Monster type Text::{{{type3}}} Monster| ]]
 
  }}{{ #ifeq: {{{type3}}} | Flip
 
    | [[Monster type::{{{type3}}} monster| ]][[Monster type Text::{{{type3}}} monster| ]]
 
 
   }}{{ #if: {{ #var: $monster }}{{{type|}}}
 
   }}{{ #if: {{ #var: $monster }}{{{type|}}}
 
     | {{ #if: {{{effect|}}}{{{type2|}}}{{ #ifeq: {{ uc: {{{attribute}}} }} | DIVINE | 1 }}{{ #var: $non-game }}
 
     | {{ #if: {{{effect|}}}{{{type2|}}}{{ #ifeq: {{ uc: {{{attribute}}} }} | DIVINE | 1 }}{{ #var: $non-game }}

Revision as of 09:33, 21 June 2016

CardTable2
{{{ja_name}}}
Back-EN.png
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
CardTable2

Video games

Video gameDate#NameCostStatus
Nightmare Troubadour2005-07-21Present
Online2005-11-04Present
GX Spirit Caller2006-11-30Unlimited
Duel Arena2014-06-26Present
Template:CardTable2/statusgroupTemplate:CardTable2/statusgroupTemplate:CardTable2/statusgroupTemplate:CardTable2/statusgroup