Template:CSFTemplate
From Card Hunter Wiki
(Difference between revisions)
| Line 2: | Line 2: | ||
</noinclude> | </noinclude> | ||
| − | <!--{{{type|}}}, {{{titlebar|}}}, {{{rarity|}}}, {{{hybridtype1|}}}, {{{hybridtype2|}}}--> | + | <!--{{{type|}}}, {{{titlebar|}}}, {{{rarity|}}}, {{{hybridtype1|}}}, {{{hybridtype2|}}}, {{{keyword_choice}}}, {{{keyword}}}--> |
<includeonly> | <includeonly> | ||
| − | {{#switch: {{{type|}}} | + | {{#switch: {{{keyword_choice|}}} |
| + | |Any={{#switch: {{{type|}}} | ||
| Any={{#switch: {{{titlebar|}}} | | Any={{#switch: {{{titlebar|}}} | ||
| Any={{#switch: {{{rarity|}}} | | Any={{#switch: {{{rarity|}}} | ||
| Line 117: | Line 118: | ||
}} | }} | ||
}} | }} | ||
| + | }} | ||
| + | }} | ||
| + | |#default={{#switch: {{{type|}}} | ||
| + | | Any={{#switch: {{{titlebar|}}} | ||
| + | | Any={{#switch: {{{rarity|}}} | ||
| + | | Any = There are {{#ask:[[Category:Cards]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Cards]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | | Common | ||
| + | | Uncommon | ||
| + | | Rare = There are {{#ask:[[Category:Cards]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Cards]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | }} | ||
| + | | Black | ||
| + | | Paper | ||
| + | | Bronze | ||
| + | | Silver | ||
| + | | Gold | ||
| + | | Emerald | ||
| + | | Amethyst = {{#switch: {{{rarity|}}} | ||
| + | | Any = There are {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | | Common | ||
| + | | Uncommon | ||
| + | | Rare = There are {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Cards]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | }} | ||
| + | }} | ||
| + | | Attack | ||
| + | | Armor | ||
| + | | Assist | ||
| + | | Block | ||
| + | | Movement | ||
| + | | Utility | ||
| + | | Boost | ||
| + | | Handicap={{#switch: {{{titlebar|}}} | ||
| + | | Any={{#switch: {{{rarity|}}} | ||
| + | | Any = There are {{#ask:[[Category:Cards]][[Has Cardtype::{{{type|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Cards]][[Has Cardtype::{{{type|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?Has Cardtype |?Has titlebar |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results | link=none| format=template| template=CSFTableQuery5col| introtemplate=Intro_CSFTableQuery5col | outrotemplate=Outro_CSFTableQuery5col |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }} | ||
| + | | Common | ||
| + | | Uncommon | ||
| + | | Rare = There are {{#ask:[[Category:Cards]][[Has Cardtype::{{{type|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Cards]][[Has Cardtype::{{{type|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?Has Cardtype |?Has titlebar |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results | link=none| format=template| template=CSFTableQuery5col| introtemplate=Intro_CSFTableQuery5col | outrotemplate=Outro_CSFTableQuery5col |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:Cards]][[Has Cardtype::{{{type|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Cards]][[Has Cardtype::{{{type|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?Has Cardtype |?Has titlebar |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results | link=none| format=template| template=CSFTableQuery5col| introtemplate=Intro_CSFTableQuery5col | outrotemplate=Outro_CSFTableQuery5col |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }} | ||
| + | | Common | ||
| + | | Uncommon | ||
| + | | Rare = There are {{#ask:[[Category:Cards]][[Has Cardtype::{{{type|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Cards]][[Has Cardtype::{{{type|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?Has Cardtype |?Has titlebar |?Has Cardrarity |?Has Attack type |?Has Damage type | limit=30 | searchlabel=Click to browse more results | link=none| format=template| template=CSFTableQuery5col| introtemplate=Intro_CSFTableQuery5col | outrotemplate=Outro_CSFTableQuery5col |default=Your search for {{{type}}} cards of {{{titlebar}}} quality with {{{rarity}}} rarity did not match any cards. }} | ||
| + | }} | ||
| + | }} | ||
| + | | Hybrid={{#switch: {{{hybridtype1|}}} | ||
| + | |Attack | ||
| + | |Armor | ||
| + | |Assist | ||
| + | |Block | ||
| + | |Move | ||
| + | |Utility | ||
| + | |Boost | ||
| + | |Handicap={{#switch: {{{titlebar|}}} | ||
| + | | Any={{#switch: {{{rarity|}}} | ||
| + | | Any = There are {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]][[Has {{{keyword}}}_keyword::Yes}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]][[Has {{{keyword}}}_keyword::Yes}]]| format=count}} results ! | ||
| + | {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]][[Has {{{keyword}}}_keyword::Yes}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | | Common | ||
| + | | Uncommon | ||
| + | | Rare = There are {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]]| format=count}} results ! | ||
| + | {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | }} | ||
| + | | Black | ||
| + | | Paper | ||
| + | | Bronze | ||
| + | | Silver | ||
| + | | Gold | ||
| + | | Emerald | ||
| + | | Amethyst = {{#switch: {{{rarity|}}} | ||
| + | | Any = There are {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]]| format=count}} results ! | ||
| + | {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | | Common | ||
| + | | Uncommon | ||
| + | | Rare = There are {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]]| format=count}} results ! | ||
| + | {{#ask:[[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype1|}}}]][[Has Hybridtype2::{{{hybridtype2|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] OR [[Category:Hybrid Card]][[Has Hybridtype1::{{{hybridtype2|}}}]][[Has Hybridtype2::{{{hybridtype1|}}}]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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={{#switch: {{{titlebar|}}} | ||
| + | | Any={{#switch: {{{rarity|}}} | ||
| + | | Any =There are {{#ask:[[Category:Hybrid Card]][[Has {{{keyword}}}_keyword::Yes}]]| format=count}} results ! | ||
| + | {{#ask:[[Category:Hybrid Card]][[Has {{{keyword}}}_keyword::Yes}]] |?Has Cardtype |?Has Hybridtype1 |?Has Hybridtype2 |?Has titlebar |?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|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Hybrid Card]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | }} | ||
| + | | Black | ||
| + | | Paper | ||
| + | | Bronze | ||
| + | | Silver | ||
| + | | Gold | ||
| + | | Emerald | ||
| + | | Amethyst = {{#switch: {{{rarity|}}} | ||
| + | | Any = There are {{#ask:[[Category:Hybrid Card]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Hybrid Card]][[Has titlebar::{{{titlebar|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | | Common | ||
| + | | Uncommon | ||
| + | | Rare = There are {{#ask:[[Category:Hybrid Card]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] | format=count}} results ! | ||
| + | {{#ask:[[Category:Hybrid Card]][[Has titlebar::{{{titlebar|}}}]][[Has Cardrarity::{{{rarity|}}}]][[Has {{{keyword}}}_keyword::Yes}]] |?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. }} | ||
| + | }} | ||
| + | }} | ||
| + | }} | ||
}} | }} | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
Revision as of 00:45, 6 November 2013
This is the 'Card Search Form' template. It should be called via the Form:Card_Search_Form form.