Form:Card Search Form

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
 
(46 intermediate revisions by one user not shown)
Line 7: Line 7:
 
{{{for template|CSFTemplate}}}
 
{{{for template|CSFTemplate}}}
  
<span style="color:LightGreen"> '''Instructions:''' Click on radiobuttons to select item type and power token pips. Type in the card name to search for items bearing queried cards. Autocompletion is enabled for the text field. Search results are capped at 30.<br /> </span>
+
<span style="color:LightGreen"> '''Instructions:''' Click on radiobuttons to select card characteristics. Search results are capped at 30.<br /> </span>
 
<span style="color:red">'''Note:''' A 'None' radio button will appear in 'Pick a combination' options for successive queries, it is there to enforce users to select valid options. This is a feature of Semantic Forms, it is not a bug.</span>
 
<span style="color:red">'''Note:''' A 'None' radio button will appear in 'Pick a combination' options for successive queries, it is there to enforce users to select valid options. This is a feature of Semantic Forms, it is not a bug.</span>
  
  
 
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Item type:
+
! valign="top" align="left" style="width: 10%"| Type:
| {{{field|itemtype|input type=radiobutton|values=Weapon, Divine Weapon, Staff, Heavy Armor, Divine Armor, Robe, Helmet, Shield, Divine Item, Arcane Item, Boots, Martial Skill, Divine Skill, Arcane Skill, Human Skill, Elf Skill, Dwarf Skill|mandatory|default=Weapon}}}
+
| {{{field|type|input type=radiobutton|values=Any, Attack, Armor, Assist, Block, Movement, Utility, Boost, Handicap, Hybrid|show on select=Hybrid=>hybrid|mandatory|default=Any}}}
 +
|}
 +
<div style="margin-top:1em;"></div>
 +
 
 +
<div style="margin-top:1em;"></div>
 +
<div id="hybrid">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 1st component:
 +
| {{{field|hybridtype1|input type=radiobutton|values=Attack, Armor, Assist, Block, Movement, Utility, Boost, Handicap|show on select=Attack=>no_attack;Armor=>no_armor;Assist=>no_assist;Block=>no_block;Movement=>no_move;Utility=>no_utility;Boost=>no_boost;Handicap=>no_handicap|default=Attack}}}
 +
|}
 +
<div id="no_attack">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 2nd component:
 +
| {{{field|hybridtype2|input type=radiobutton|values= Armor, Assist, Block, Movement, Utility, Boost, Handicap|default=Armor}}}
 +
|}
 +
</div>
 +
<div id="no_armor">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 2nd component:
 +
| {{{field|hybridtype2|input type=radiobutton|values= Attack, Assist, Block, Movement, Utility, Boost, Handicap|default=Attack}}}
 +
|}
 +
</div>
 +
<div id="no_assist">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 2nd component:
 +
| {{{field|hybridtype2|input type=radiobutton|values= Attack, Armor, Block, Movement, Utility, Boost, Handicap|default=Attack}}}
 +
|}
 +
</div>
 +
<div id="no_block">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 2nd component:
 +
| {{{field|hybridtype2|input type=radiobutton|values= Attack, Armor, Assist, Movement, Utility, Boost, Handicap|default=Attack}}}
 +
|}
 +
</div>
 +
<div id="no_move">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 2nd component:
 +
| {{{field|hybridtype2|input type=radiobutton|values= Attack, Armor, Assist, Block, Utility, Boost, Handicap|default=Attack}}}
 +
|}
 +
</div>
 +
<div id="no_utility">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 2nd component:
 +
| {{{field|hybridtype2|input type=radiobutton|values= Attack, Armor, Assist, Block, Movement, Boost, Handicap|default=Attack}}}
 +
|}
 +
</div>
 +
<div id="no_boost">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 2nd component:
 +
| {{{field|hybridtype2|input type=radiobutton|values= Attack, Armor, Assist, Block, Movement, Utility, Handicap|default=Attack}}}
 +
|}
 +
</div>
 +
<div id="no_handicap">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick 2nd component:
 +
| {{{field|hybridtype2|input type=radiobutton|values= Attack, Armor, Assist, Block, Movement, Utility, Boost|default=Attack}}}
 +
|}
 +
</div>
 +
</div>
 +
<div style="margin-top:1em;"></div>
 +
{| class="formtable" cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Card quality: <br /> (titlebar color)
 +
|  <span style="color:yellow">''Black is the worst quality, Amethyst is the best quality''</span><br/>{{{field|titlebar|input type=radiobutton|values=Any, Black, Paper, Bronze, Silver, Gold, Emerald, Amethyst|mandatory|default=Any}}}
 
|-
 
|-
 
| <!--spacer-->
 
| <!--spacer-->
 
| <div style="margin-top:1em;"></div>
 
| <div style="margin-top:1em;"></div>
 
|-
 
|-
! valign="top" align="left"| Power Token:
+
! style="width: 10%; padding-right: 1em" align="left" | Rarity:
| ''C = [[File:talentNormalFlat.png]], B = [[File:talentBronzeFlat.png]], S = [[File:talentSilverFlat.png]], G = [[File:talentGoldFlat.png]]''<br/>{{{field|talent|input type=radiobutton|values =Any, None, at least 1 C,at least 1 B,at least 1 S,at least 1 G, exactly 1 C, exactly 1 B, exactly 1 S, exactly 1 G, exactly 2 pips|show on select=exactly 2 pips=>exactly2pip|mandatory|default=Any}}}  
+
| {{{field|rarity|input type=radiobutton|values=Any, Common, Uncommon, Rare |mandatory|default=Any}}}
 +
|-
 +
| <!--spacer-->
 +
| <div style="margin-top:1em;"></div>
 +
|-
 +
! style="width: 10%; padding-right: 1em" align="left" | Release:
 +
| {{{field|release|input type=radiobutton|values=All, Basic set, Attack of the Artifacts, Expedition to the Sky Citadel|mandatory|default=All}}}
 +
|-
 +
| <!--spacer-->
 +
| <div style="margin-top:1em;"></div>
 +
|-
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Keyword:
 +
| {{{field|keyword_choice|input type=radiobutton|values=Any, Specific|show on select=Specific=>specific|mandatory|default=Any}}}  
 
|}
 
|}
 
<div style="margin-top:1em;"></div>
 
<div style="margin-top:1em;"></div>
  
 
<div style="margin-top:1em;"></div>
 
<div style="margin-top:1em;"></div>
<div id="exactly2pip">
+
<div id="specific">
 
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick a combination:
+
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick keyword:
| {{{field|exactly2pip|input type=radiobutton|values=CC,CB,CS,CG,BB,BS,BG,SS,SG,GG |mandatory|default=CC}}}
+
| {{{field|keyword|input type=radiobutton|values=Armor, Block Any, Block Melee, Block Magic, Block Projectile, Burning, Burst, Cantrip, Cone, Encumber, Fly, Free Move, Frenzy, Halt, Hard to Block, Heal, Keep, Linear, Penetrating, Poison, Push, Saving Roll, Self Target, Slide, Slide Back, Stealthy, Step, Stop, Stun, Teleport, Trait, Unblockable|mandatory|default=Armor}}}
 
|}
 
|}
 
</div>
 
</div>
<div style="margin-top:1em;"></div>
 
{| class="formtable" cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 
! style="width: 10%; padding-right: 1em" align="left" | Card:
 
| {{{field|cardname|input type=text with autocomplete|values from category=Cards}}}
 
|}
 
 
{{{end template}}}
 
{{{end template}}}
 
</includeonly>
 
</includeonly>

Latest revision as of 13:03, 23 February 2017

This is the form source for Card search, works via special 'run query' page.


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools