Template:CSFTemplate

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
 
             | Common
 
             | Common
 
             | Uncommon
 
             | Uncommon
             | Rare = There are {{#ask:[[Category:Cards]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
+
             | Rare = {{#switch: {{{release|}}}
 +
                    | All= There are {{#ask:[[Category:Cards]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
 
                     {{#ask:[[Category:Cards]][[Has Cardrarity::{{{rarity|}}}]] |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has titlebar |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results | link=none| format=template| template=CSFTableQuery7col| introtemplate=Intro_CSFTableQuery7col | outrotemplate=Outro_CSFTableQuery7col |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }}
 
                     {{#ask:[[Category:Cards]][[Has Cardrarity::{{{rarity|}}}]] |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has titlebar |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results | link=none| format=template| template=CSFTableQuery7col| introtemplate=Intro_CSFTableQuery7col | outrotemplate=Outro_CSFTableQuery7col |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }}
 +
                    |#default=There are {{#ask:[[Category:{{{release}}} Card]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
 +
                    {{#ask:[[Category:{{{release}}} Card]][[Has Cardrarity::{{{rarity|}}}]] |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has titlebar |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results | link=none| format=template| template=CSFTableQuery7col| introtemplate=Intro_CSFTableQuery7col | outrotemplate=Outro_CSFTableQuery7col |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity from the {{{release}}} release did not match any cards. }}
 +
                    }}
 
             }}
 
             }}
 
       | Black
 
       | Black

Revision as of 19:36, 12 April 2014

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