Form:Item Search Form

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
 
(126 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Jayce Testing, in theory this should work via [[Special:RunQuery/Item_query|special 'run query']] page.
+
This is the form source for Item search, works via [[Special:RunQuery/Item Search Form|special 'run query']] page.
 
+
 
</noinclude>
 
</noinclude>
  
 
<includeonly>
 
<includeonly>
{{{info|query form at top}}}
+
{{{info|query form at top|query title=Item Search Form}}}
{{{for template|Jayce/ItemQuerier}}}
+
{{{for template|ISFTemplate}}}
Enter values below; this search is case-sensitive.
+
  
{| class="formtable"
+
<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>
! Has Card:
+
<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>
| {{{field|name|combobox|values from category=Cards|}}}
+
{{{end template}}}
+
  
(This is a demonstration of the "RunQuery" special page: you can see the form it uses at [[Form:Jayce/Item query]], and the template it uses at [[Template:Jayce/ItemQuerier]].)
+
 
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! 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, Martial Skill, Divine Skill, Arcane Skill, Human Skill, Elf Skill, Dwarf Skill|mandatory|default=Weapon}}}
 +
|-
 +
| <!--spacer-->
 +
| <div style="margin-top:1em;"></div>
 +
|-
 +
! 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>
 +
<div id="exactly2pip">
 +
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 +
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick a combination:
 +
<!-- | {{{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 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>
 +
{| 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}}}
 
</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.


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools