Template:ISFTemplate
From Card Hunter Wiki
(Difference between revisions)
Line 3: | Line 3: | ||
<includeonly> | <includeonly> | ||
− | {{#switch: {{{itemtype|}}} | + | {{#switch: {{{talent|}}} |
+ | | Any={{#switch: {{{itemtype|}}} | ||
| Weapon | | Weapon | ||
| Divine Weapon | | Divine Weapon | ||
| Staff = | | Staff = | ||
{{#if: {{{cardname|}}} | | {{#if: {{{cardname|}}} | | ||
− | {{#ask:[[Category:{{{itemtype|}}}]][[Has itemcard1 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard2 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard3 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard4 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard5 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard6 name::{{{cardname|}}}]] | + | {{#ask:[[Category:{{{itemtype|}}}]][[Has itemcard1 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard2 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard3 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard4 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard5 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard6 name::{{{cardname|}}}]] |mainlabel=Item |?Has itemcard1 qty=qty |?Has itemcard1 name=card name |?Has itemcard2 qty=qty |?Has itemcard2 name=card name |?Has itemcard3 qty=qty |?Has itemcard3 name=card name |?Has itemcard4 qty=qty |?Has itemcard4 name=card name |?Has itemcard5 qty=qty |?Has itemcard5 name=card name |?Has itemcard6 qty=qty |?Has itemcard6 name=card name |?Has talent |default=Your search did not match any items.}} |
− | |mainlabel=Item | + | | {{#ask:[[Category:{{{itemtype|}}}]] |mainlabel=Item |?Has itemcard1 qty=qty |?Has itemcard1 name=card name |?Has itemcard2 qty=qty |?Has itemcard2 name=card name |?Has itemcard3 qty=qty |?Has itemcard3 name=card name |?Has itemcard4 qty=qty |?Has itemcard4 name=card name |?Has itemcard5 qty=qty |?Has itemcard5 name=card name |?Has itemcard6 qty=qty |?Has itemcard6 name=card name |?Has talent |default=Your search did not match any items.}} }} |
− | |?Has itemcard1 qty=qty | + | |
− | |?Has itemcard1 name=card name | + | |
− | |?Has itemcard2 qty=qty | + | |
− | |?Has itemcard2 name=card name | + | |
− | |?Has itemcard3 qty=qty | + | |
− | |?Has itemcard3 name=card name | + | |
− | |?Has itemcard4 qty=qty | + | |
− | |?Has itemcard4 name=card name | + | |
− | |?Has itemcard5 qty=qty | + | |
− | |?Has itemcard5 name=card name | + | |
− | |?Has itemcard6 qty=qty | + | |
− | |?Has itemcard6 name=card name | + | |
− | |default=Your search did not match any items. | + | |
− | }} | {{#ask:[[Category:{{{itemtype|}}}]] | + | |
− | |mainlabel=Item | + | |
− | |?Has itemcard1 qty=qty | + | |
− | |?Has itemcard1 name=card name | + | |
− | |?Has itemcard2 qty=qty | + | |
− | |?Has itemcard2 name=card name | + | |
− | |?Has itemcard3 qty=qty | + | |
− | |?Has itemcard3 name=card name | + | |
− | |?Has itemcard4 qty=qty | + | |
− | |?Has itemcard4 name=card name | + | |
− | |?Has itemcard5 qty=qty | + | |
− | |?Has itemcard5 name=card name | + | |
− | |?Has itemcard6 qty=qty | + | |
− | |?Has itemcard6 name=card name | + | |
− | |default=Your search did not match any items. | + | |
− | }} }} | + | |
| #default = | | #default = | ||
{{#if: {{{cardname|}}} | | {{#if: {{{cardname|}}} | | ||
− | {{#ask:[[Category:{{{itemtype|}}}]][[Has itemcard1 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard2 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard3 name::{{{cardname|}}}]] | + | {{#ask:[[Category:{{{itemtype|}}}]][[Has itemcard1 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard2 name::{{{cardname|}}}]] OR [[Category:{{{itemtype|}}}]][[Has itemcard3 name::{{{cardname|}}}]] |mainlabel=Item |?Has itemcard1 qty=qty |?Has itemcard1 name=card name |?Has itemcard2 qty=qty |?Has itemcard2 name=card name |?Has itemcard3 qty=qty |?Has itemcard3 name=card name |?Has talent |default=Your search did not match any items. }} |
− | |mainlabel=Item | + | | {{#ask:[[Category:{{{itemtype|}}}]] |mainlabel=Item |?Has itemcard1 qty=qty |?Has itemcard1 name=card name |?Has itemcard2 qty=qty |?Has itemcard2 name=card name |?Has itemcard3 qty=qty |?Has itemcard3 name=card name |?Has talent |default=Your search did not match any items.}} }} |
− | |?Has itemcard1 qty=qty | + | }} |
− | |?Has itemcard1 name=card name | + | |
− | |?Has itemcard2 qty=qty | + | |
− | |?Has itemcard2 name=card name | + | |
− | |?Has itemcard3 qty=qty | + | |
− | |?Has itemcard3 name=card name | + | |
− | |default=Your search did not match any items. | + | |
− | }} | {{#ask:[[Category:{{{itemtype|}}}]] | + | |
− | |mainlabel=Item | + | |
− | |?Has itemcard1 qty=qty | + | |
− | |?Has itemcard1 name=card name | + | |
− | |?Has itemcard2 qty=qty | + | |
− | |?Has itemcard2 name=card name | + | |
− | |?Has itemcard3 qty=qty | + | |
− | |?Has itemcard3 name=card name | + | |
− | |default=Your search did not match any items. | + | |
− | }} }} | + | |
}} | }} | ||
{{{talent}}} | {{{talent}}} |
Revision as of 00:13, 25 April 2013
This is the 'ItemQuerier' template. It should be called via the Form:Item_Search_Form form.