Difference between revisions of "Template:Search categories"
Dinoguy1000 (talk | contribs) (update after renames) |
Dinoguy1000 (talk | contribs) (update some labels, too) |
||
Line 31: | Line 31: | ||
}} }}{{ #arraydefine: $search_array | {{{counter<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{counter}}} | No Entry }}}} | | }} }}{{ #arraydefine: $search_array | {{{counter<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{counter}}} | No Entry }}}} | | ||
<div class="hlist"> | <div class="hlist"> | ||
− | ; | + | ; [[Counter]]s {{ #arrayprint: $search_array || $el | <nowiki/> |
: [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[Counters::{{ #var: $uel }}| ]] }} | : [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[Counters::{{ #var: $uel }}| ]] }} | ||
</div> | </div> | ||
Line 46: | Line 46: | ||
}} }}{{ #arraydefine: $search_array | {{{m/s/t<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{m/s/t}}} | No Entry }}}} | | }} }}{{ #arraydefine: $search_array | {{{m/s/t<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{m/s/t}}} | No Entry }}}} | | ||
<div class="hlist"> | <div class="hlist"> | ||
− | ; Monster/Spell/Trap categories {{ #arrayprint: $search_array || $el | <nowiki/> | + | ; [[Monster Card|Monster]]/[[Spell Card|Spell]]/[[Trap Card|Trap]] categories {{ #arrayprint: $search_array || $el | <nowiki/> |
: [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[MonsterSpellTrap::{{ #var: $uel }}| ]] }} | : [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[MonsterSpellTrap::{{ #var: $uel }}| ]] }} | ||
</div> | </div> | ||
}} }}{{ #arraydefine: $search_array | {{{summoning<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{summoning}}} | No Entry }}}} | | }} }}{{ #arraydefine: $search_array | {{{summoning<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{summoning}}} | No Entry }}}} | | ||
<div class="hlist"> | <div class="hlist"> | ||
− | ; | + | ; [[Summon]]ing categories {{ #arrayprint: $search_array || $el | <nowiki/> |
: [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[Summoning::{{ #var: $uel }}| ]] }} | : [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[Summoning::{{ #var: $uel }}| ]] }} | ||
</div>{{ #if: {{{monster|}}} | </div>{{ #if: {{{monster|}}} | ||
Line 69: | Line 69: | ||
}}{{ #arraydefine: $search_array | {{{attack<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{attack}}} | No Entry }}}} | | }}{{ #arraydefine: $search_array | {{{attack<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{attack}}} | No Entry }}}} | | ||
<div class="hlist"> | <div class="hlist"> | ||
− | ; Attack categories {{ #arrayprint: $search_array || $el | <nowiki/> | + | ; [[Attack]] categories {{ #arrayprint: $search_array || $el | <nowiki/> |
: [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[Attack::{{ #var: $uel }}| ]] }} | : [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[Attack::{{ #var: $uel }}| ]] }} | ||
</div> | </div> | ||
}} }}{{ #arraydefine: $search_array | {{{banished<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{banished}}} | No Entry }}}} | | }} }}{{ #arraydefine: $search_array | {{{banished<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{banished}}} | No Entry }}}} | | ||
<div class="hlist"> | <div class="hlist"> | ||
− | ; | + | ; [[Banish]]ed categories {{ #arrayprint: $search_array || $el | <nowiki/> |
: [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[Banishing::{{ #var: $uel }}| ]] }} | : [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[Banishing::{{ #var: $uel }}| ]] }} | ||
</div> | </div> | ||
}} }}{{ #arraydefine: $search_array | {{{life_points<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{life_points}}} | No Entry }}}} | | }} }}{{ #arraydefine: $search_array | {{{life_points<includeonly>|</includeonly>}}} | * | unique }}{{ #ifexpr: {{ #arraysize: $search_array }} > 0 | {{ #if: {{not|{{ #pos: {{{life_points}}} | No Entry }}}} | | ||
<div class="hlist"> | <div class="hlist"> | ||
− | ; | + | ; [[LP]] {{ #arrayprint: $search_array || $el | <nowiki/> |
: [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[LP::{{ #var: $uel }}| ]] }} | : [[{{ #vardefineecho: $uel | {{unlink|$el}} }}|{{ #explode: {{ #var: $uel }} | ( }}]][[LP::{{ #var: $uel }}| ]] }} | ||
</div> | </div> |
Revision as of 23:06, 18 May 2016
- 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>}}} }} }}