Template:Search categories/doc

From Yugipedia
< Template:Search categories
Revision as of 18:39, 3 June 2019 by Dinoguy1000 (talk | contribs) (create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

Copy paste the following to add this to a template:

{{ #if: {{{supports|}}}{{{anti-supports|}}}{{{archseries|}}}{{{supports_archetypes|}}}{{{anti-supports_archetypes|}}}{{{related_to_archseries|}}}{{{counter|}}}{{{action|}}}{{{stat_change|}}}{{{m/s/t|}}}{{{summoning|}}}{{{attack|}}}{{{banished|}}}{{{life_points|}}}{{{fm_for|}}}{{{sm_for|}}}{{{misc<includeonly>|</includeonly>}}} | &#32;
==Search categories==
  {{Search categories
  | monster                  = <!-- parameters/checks to determine if the card is a monster, e.g. {{ #if: {{{atk|}}}{{{def|}}}{{ #var: $stars }} }} -->
  | monster_type             = <!-- check to see if the monster is a type that can't always be Special Summoned: Fusion, Ritual, Synchro, or Xyz -->
  | token                    = <!-- check to see if the monster is a token -->
  | supports                 = {{{supports<includeonly>|</includeonly>}}}
  | anti-supports            = {{{anti-supports<includeonly>|</includeonly>}}}
  | archseries               = {{{archseries<includeonly>|</includeonly>}}}
  | supports_archetypes      = {{{supports_archetypes<includeonly>|</includeonly>}}}
  | anti-supports_archetypes = {{{anti-supports_archetypes<includeonly>|</includeonly>}}}
  | related_to_archseries    = {{{related_to_archseries<includeonly>|</includeonly>}}}
  | counter                  = {{{counter<includeonly>|</includeonly>}}}
  | action                   = {{{action<includeonly>|</includeonly>}}}
  | stat_change              = {{{stat_change<includeonly>|</includeonly>}}}
  | m/s/t                    = {{{m/s/t<includeonly>|</includeonly>}}}
  | summoning                = {{{summoning<includeonly>|</includeonly>}}}
  | attack                   = {{{attack<includeonly>|</includeonly>}}}
  | banished                 = {{{banished<includeonly>|</includeonly>}}}
  | life_points              = {{{life_points<includeonly>|</includeonly>}}}
  | fm_for                   = {{{fm_for<includeonly>|</includeonly>}}}
  | sm_for                   = {{{sm_for<includeonly>|</includeonly>}}}
  | misc                     = {{{misc<includeonly>|</includeonly>}}}
  }}
}}

See also