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

From Yugipedia
< User:Becasita‎ | SubPages‎ | Templates‎ | Card
Jump to: navigation, search
(Very simple way to handle Counters and Tip/Strategy Cards.)
 
(Support for FAQ cards and non-game cards.)
Line 5: Line 5:
 
* Tip Cards
 
* Tip Cards
  
-->{{ #vardefine: $input | {{ #replace: {{ lc: {{{1|}}} }} | card }} }}<!--
+
-->{{ #vardefine: $input | {{ #replace: {{ #replace: {{ lc: {{{1|}}} }} | card }} | - }} }}<!--
  
 
== Check ==
 
== Check ==
Line 12: Line 12:
 
       | counter  = {{ #vardefine: $Counter  | 1 }}<!--
 
       | counter  = {{ #vardefine: $Counter  | 1 }}<!--
 
                 -->{{ #vardefine: $full-card-type | [[Counter]]      }}
 
                 -->{{ #vardefine: $full-card-type | [[Counter]]      }}
 +
      | faq      = {{ #vardefine: $FAQ      | 1 }}<!--
 +
                -->{{ #vardefine: $full-card-type | [[FAQ card]]      }}
 +
      | nongame  = {{ #vardefine: $NonGame  | 1 }}<!--
 +
                -->{{ #vardefine: $full-card-type | [[Non-game card]] }}
 
       | strategy = {{ #vardefine: $Strategy | 1 }}<!--
 
       | strategy = {{ #vardefine: $Strategy | 1 }}<!--
 
                 -->{{ #vardefine: $full-card-type | [[Strategy Card]] }}
 
                 -->{{ #vardefine: $full-card-type | [[Strategy Card]] }}
Line 22: Line 26:
 
-->{{ #if: {{{test<includeonly>|</includeonly>}}} |
 
-->{{ #if: {{{test<includeonly>|</includeonly>}}} |
 
* Is Counter? {{ #if: {{ #var: $Counter }} | Yes! | No... }}
 
* Is Counter? {{ #if: {{ #var: $Counter }} | Yes! | No... }}
 +
* Is a FAQ card? {{ #if: {{ #var: $FAQ  }} | Yes! | No... }}
 +
* Is a generic non-game card? {{ #if: {{ #var: $NonGame  }} | Yes! | No... }}
 
* Is a Strategy Card? {{ #if: {{ #var: $Strategy }} | Yes! | No... }}
 
* Is a Strategy Card? {{ #if: {{ #var: $Strategy }} | Yes! | No... }}
 
* Is a Tip Card? {{ #if: {{ #var: $Tip }} | Yes! | No... }}
 
* Is a Tip Card? {{ #if: {{ #var: $Tip }} | Yes! | No... }}
 
* Conclusion: {{ #if: {{ #var: $full-card-type }} | It's a {{ #var: $full-card-type }} | No card given... }}
 
* Conclusion: {{ #if: {{ #var: $full-card-type }} | It's a {{ #var: $full-card-type }} | No card given... }}
 
}}
 
}}

Revision as of 20:59, 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...