Difference between revisions of "User:Becasita/SubPages/Templates/Card/NonMonsterTypes"

From Yugipedia
< User:Becasita‎ | SubPages‎ | Templates‎ | Card
Jump to: navigation, search
(Support for FAQ cards and non-game cards.)
(I think this counts as cheating, but it'll make it way easier to deal with, since I then just need to call for the content of the flags directly.)
Line 10: Line 10:
 
-->{{ #switch: {{ #var: $input }}
 
-->{{ #switch: {{ #var: $input }}
 
       |          = <!-- Just because. -->
 
       |          = <!-- Just because. -->
       | counter  = {{ #vardefine: $Counter  | 1 }}<!--
+
       | counter  = {{ #vardefine: $Counter  | Counter      }}<!--
 
                 -->{{ #vardefine: $full-card-type | [[Counter]]      }}
 
                 -->{{ #vardefine: $full-card-type | [[Counter]]      }}
       | faq      = {{ #vardefine: $FAQ      | 1 }}<!--
+
       | faq      = {{ #vardefine: $FAQ      | FAQ card      }}<!--
 
                 -->{{ #vardefine: $full-card-type | [[FAQ card]]      }}
 
                 -->{{ #vardefine: $full-card-type | [[FAQ card]]      }}
       | nongame  = {{ #vardefine: $NonGame  | 1 }}<!--
+
       | nongame  = {{ #vardefine: $NonGame  | Non-game card }}<!--
 
                 -->{{ #vardefine: $full-card-type | [[Non-game card]] }}
 
                 -->{{ #vardefine: $full-card-type | [[Non-game card]] }}
       | strategy = {{ #vardefine: $Strategy | 1 }}<!--
+
       | strategy = {{ #vardefine: $Strategy | Strategy Card }}<!--
 
                 -->{{ #vardefine: $full-card-type | [[Strategy Card]] }}
 
                 -->{{ #vardefine: $full-card-type | [[Strategy Card]] }}
       | tip      = {{ #vardefine: $Tip      | 1 }}<!--
+
       | tip      = {{ #vardefine: $Tip      | Tip Card      }}<!--
 
                 -->{{ #vardefine: $full-card-type | [[Tip Card]]      }}
 
                 -->{{ #vardefine: $full-card-type | [[Tip Card]]      }}
 
       | #default = <span class="error">Error: Invalid input for «types»!</span>
 
       | #default = <span class="error">Error: Invalid input for «types»!</span>

Revision as of 22:55, 9 December 2016

  • Is Counter? No...
  • Is a FAQ card? No...
  • Is a generic non-game card? No...
  • Is a Strategy Card? No...
  • Is a Tip Card? No...
  • Conclusion: No card given...