Difference between revisions of "Template:Search categories"
Dinoguy1000 (talk | contribs) (rm the No Entry checks - pages which use a value of "No Entry" should just have it removed, unless it refers to the card, in which case the value should be corrected to include the punctuation) |
(Let's see if this works of if it breaks.) |
||
Line 57: | Line 57: | ||
|| {{ #if: {{ #arraysearch: $search_array | /Nomi/i }} | || {{ #if: {{ #arraysearch: $search_array | /Nomi/i }} | ||
|| {{ #if: {{ #arraysearch: $search_array | /Cannot Special Summon/i }}{{ #arraysearch: $search_array | /Cannot be Special Summoned/i }} | || {{ #if: {{ #arraysearch: $search_array | /Cannot Special Summon/i }}{{ #arraysearch: $search_array | /Cannot be Special Summoned/i }} | ||
− | || [[Summoning::Can be Special Summoned| ]]{{ #if: {{ #arraysearch: $search_array | /Semi[ -]?Nomi/i }}{{{monster_type|}}} | + | || [[Summoning::Can be Special Summoned| ]]{{ #if: {{ #arraysearch: $search_array | /(Semi[ -]?Nomi|Special Summon[ -]only monster)/i }}{{{monster_type|}}} |
|| [[Summoning::Can always be Special Summoned| ]] | || [[Summoning::Can always be Special Summoned| ]] | ||
}} | }} |
Revision as of 17:26, 27 April 2017
- Supports
- [[{{{supports}}}|{{{supports}}}]]
- Anti-supports
- [[{{{anti-supports}}}|{{{anti-supports}}}]]
- Archetypes and series
- [[{{{archseries}}}|{{{archseries}}}]]
- Supports archetypes
- [[{{{supports_archetypes}}}|{{{supports_archetypes}}}]]
- Anti-supports archetypes
- [[{{{anti-supports_archetypes}}}|{{{anti-supports_archetypes}}}]]
- Related to archetypes and series
- [[{{{related_to_archseries}}}|{{{related_to_archseries}}}]]
- Counters
- [[{{{counter}}}|{{{counter}}}]]
- Actions
- [[{{{action}}}|{{{action}}}]]
- Stat changes
- [[{{{stat_change}}}|{{{stat_change}}}]]
- Summoning categories
- [[{{{summoning}}}|{{{summoning}}}]]
- Attack categories
- [[{{{attack}}}|{{{attack}}}]]
- Banished categories
- [[{{{banished}}}|{{{banished}}}]]
- LP
- [[{{{life_points}}}|{{{life_points}}}]]
- Fusion Material for
- [[{{{fm_for}}}|{{{fm_for}}}]]
- Synchro Material for
- [[{{{sm_for}}}|{{{sm_for}}}]]
- Miscellaneous
- [[{{{misc}}}|{{{misc}}}]]
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>}}} |   ==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>}}} }} }}