Template:CSFTemplate

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(Undo revision 24288 by Phaselock (talk))
Line 9: Line 9:
 
| Any={{#switch: {{{titlebar|}}}
 
| Any={{#switch: {{{titlebar|}}}
 
       | Any={{#switch: {{{rarity|}}}
 
       | Any={{#switch: {{{rarity|}}}
             | Any = {{#switch: {{{release|}}}
+
             | Any = There are {{#ask:[[Category:Cards]] | format=count}} results !
                    | All= There are {{#ask:[[Category:Cards]] | format=count}} results !
+
 
                     {{#ask:[[Category:Cards]] |?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 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]] | format=count}} results !
 
                    {{#ask:[[Category:{{{release}}} Card]] |?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. }}
 
                    }}
 
 
             | Common
 
             | Common
 
             | Uncommon
 
             | Uncommon
             | Rare = {{#switch: {{{release|}}}
+
             | Rare = There are {{#ask:[[Category:Cards]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
                    | 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
Line 31: Line 23:
 
       | Emerald
 
       | Emerald
 
       | Amethyst = {{#switch: {{{rarity|}}}
 
       | Amethyst = {{#switch: {{{rarity|}}}
             | Any = {{#switch: {{{release|}}}
+
             | Any = There are {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]] | format=count}} results !
                    | All= There are {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]] | format=count}} results !
+
 
                     {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]] |?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 titlebar::{{{titlebar|}}}]] |?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 titlebar::{{{titlebar|}}}]] | format=count}} results !
 
                    {{#ask:[[Category:{{{release}}} Card]][[Has titlebar::{{{titlebar|}}}]] |?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. }}
 
                    }}
 
 
             | Common
 
             | Common
 
             | Uncommon
 
             | Uncommon
             | Rare = {{#switch: {{{release|}}}
+
             | Rare = There are {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
                    | All= There are {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
+
                     {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]][[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 titlebar::{{{titlebar|}}}]][[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 titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]] | format=count}} results !
+
                    {{#ask:[[Category:{{{release}}} Card]][[Has titlebar::{{{titlebar|}}}]][[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. }}
+
                    }}
+
 
             }}
 
             }}
 
       }}
 
       }}

Revision as of 21: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