Template:CSFTemplate

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 61: Line 61:
 
             }}
 
             }}
 
       }}
 
       }}
| Hybrid={{#if: {{{hybridtype1|}}}=None|There are {{#ask:[[Category:Hybrid Card]]| format=count}} results !
+
| Hybrid={{#switch: {{{hybridtype1|}}}
                     {{#ask:[[Category:Hybrid Card]] |?Has titlebar |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }}|{{#switch: {{{titlebar|}}}
+
|None={{#switch: {{{titlebar|}}}
 +
      | Any={{#switch: {{{rarity|}}}
 +
            | Any =There are {{#ask:[[Category:Hybrid Card]]| format=count}} results !
 +
                     {{#ask:[[Category:Hybrid Card]] |?Has titlebar |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }}
 +
            | Common
 +
            | Uncommon
 +
            | Rare = There are {{#ask:[[Category:Hybrid Card]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
 +
                    {{#ask:[[Category:Hybrid Card]][[Has Cardrarity::{{{rarity|}}}]] |?Has titlebar |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }}
 +
            }}
 +
      | Black
 +
      | Paper
 +
      | Bronze
 +
      | Silver
 +
      | Gold
 +
      | Emerald
 +
      | Amethyst = {{#switch: {{{rarity|}}}
 +
            | Any = There are {{#ask:[[Category:Hybrid Card]][[Has titlebar::{{{titlebar|}}}]] | format=count}} results !
 +
                    {{#ask:[[Category:Hybrid Card]][[Has titlebar::{{{titlebar|}}}]] |?Has titlebar |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }}
 +
            | Common
 +
            | Uncommon
 +
            | Rare = There are {{#ask:[[Category:Hybrid Card]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
 +
                    {{#ask:[[Category:Hybrid Card]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]] |?Has titlebar |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }}
 +
}}
 +
}}
 +
|#default={{#switch: {{{titlebar|}}}
 
       | Any={{#switch: {{{rarity|}}}
 
       | Any={{#switch: {{{rarity|}}}
 
             | Any = There are {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]]| format=count}} results !
 
             | Any = There are {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]]| format=count}} results !

Revision as of 00:51, 10 September 2013

This is the 'Card Search Form' template. It should be called via the Form:Card_Search_Form form.


, , , ,



      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools