Form:Item Search Form
From Card Hunter Wiki
(Difference between revisions)
(23 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | + | This is the form source for Item search, works via [[Special:RunQuery/Item Search Form|special 'run query']] page. | |
− | + | ||
</noinclude> | </noinclude> | ||
Line 8: | Line 7: | ||
{{{for template|ISFTemplate}}} | {{{for template|ISFTemplate}}} | ||
− | <span style="color: | + | <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:red">'''Note:''' A 'None' radio button will appear for successive queries, it is there to enforce users to | + | <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" style="width: 10%; padding-right: 1em" align="left" | Item type: | ||
− | | {{{field|itemtype|input type=radiobutton|values=Weapon, Divine Weapon, Staff, Heavy Armor, Divine Armor, Robe, Helmet, Shield, Divine Item, Arcane Item, Boots | + | | {{{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}}} |
|- | |- | ||
| <!--spacer--> | | <!--spacer--> | ||
| <div style="margin-top:1em;"></div> | | <div style="margin-top:1em;"></div> | ||
|- | |- | ||
− | ! valign="top" align="left"| | + | ! valign="top" align="left"| Power Token: |
− | + | <!-- | {{{field|talent|input type=radiobutton|values =Any, None, at least 1 C,at least 1 S,at least 1 T,at least 1 P, exactly 1 C, exactly 1 S, exactly 1 T, exactly 1 P, exactly 2 pips|show on select=exactly 2 pips=>exactly2pip|mandatory|default=Any}}} --> | |
+ | | {{{field|talent|input type=radiobutton|values =Any, None, at least 1 C,at least 1 S, exactly 1 C, exactly 1 S, exactly 2 pips|show on select=exactly 2 pips=>exactly2pip|mandatory|default=Any}}} | ||
|} | |} | ||
<div style="margin-top:1em;"></div> | <div style="margin-top:1em;"></div> | ||
Line 27: | Line 27: | ||
<div id="exactly2pip"> | <div id="exactly2pip"> | ||
{| 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" | | + | ! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick a combination: |
− | | {{{field|exactly2pip|input type=radiobutton|values=CC, | + | <!-- | {{{field|exactly2pip|input type=radiobutton|values=CC,SC,TC,PC,SS,TS,PS,TT,PT,PP |mandatory|default=CC}}} --> |
+ | | {{{field|exactly2pip|input type=radiobutton|values=CC,SC,SS |mandatory|default=CC}}} | ||
|} | |} | ||
</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" | Item rarity: | ||
+ | | {{{field|rarity|input type=radiobutton|values=Any, Common, Uncommon, Rare, Epic, Legendary|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" | Item Level: | ||
+ | | {{{field|itemlevel_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 id="specific"> | ||
+ | {| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%" | ||
+ | ! valign="top" style="width: 10%; padding-right: 1em" align="left" | Enter item level: | ||
+ | | {{{field|itemlevel|input type=text with autocomplete|values from property=Has Itemlevel}}} | ||
+ | |} | ||
+ | </div> | ||
+ | <div style="margin-top:1em;"></div> | ||
+ | |||
<div style="margin-top:1em;"></div> | <div style="margin-top:1em;"></div> | ||
{| class="formtable" cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%" | {| class="formtable" cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%" | ||
! style="width: 10%; padding-right: 1em" align="left" | Card: | ! style="width: 10%; padding-right: 1em" align="left" | Card: | ||
− | | {{{field|cardname|input type=text with autocomplete|}}} | + | | {{{field|cardname|input type=text with autocomplete|values from category=Cards}}} |
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
</includeonly> | </includeonly> |
Latest revision as of 06:41, 13 July 2015
This is the form source for Item search, works via special 'run query' page.