Difference between revisions of "Template:Search categories/doc"

From Yugipedia
Jump to: navigation, search
(create)
(Tags: Mobile edit, Mobile web edit)
 
(Usage: document `{{{mentions}}}`)
 
Line 6: Line 6:
 
Copy paste the following to add this to a template:
 
Copy paste the following to add this to a template:
 
<pre>
 
<pre>
{{ #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>}}} | &amp;#32;
+
{{ #if: {{{mentions|}}}{{{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>}}} | &amp;#32;
 
==Search categories==
 
==Search categories==
 
   {{Search categories
 
   {{Search categories
Line 12: Line 12:
 
   | monster_type            = <!-- check to see if the monster is a type that can't always be Special Summoned: Fusion, Ritual, Synchro, or Xyz -->
 
   | 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 -->
 
   | token                    = <!-- check to see if the monster is a token -->
 +
  | mentions                = {{{mentions<includeonly>|</includeonly>}}}
 
   | supports                = {{{supports<includeonly>|</includeonly>}}}
 
   | supports                = {{{supports<includeonly>|</includeonly>}}}
 
   | anti-supports            = {{{anti-supports<includeonly>|</includeonly>}}}
 
   | anti-supports            = {{{anti-supports<includeonly>|</includeonly>}}}

Latest revision as of 04:35, 13 June 2023

Usage[edit]

Copy paste the following to add this to a template:

{{ #if: {{{mentions|}}}{{{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 -->
  | mentions                 = {{{mentions<includeonly>|</includeonly>}}}
  | 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[edit]