Form:Card Search Form

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<noinclude> This is the "Card Search Form" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a for...")
 
 
(47 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Card Search Form" form.
+
This is the form source for Card search, works via [[Special:RunQuery/Card Search Form|special 'run query']] page.
To create a page with this form, enter the page name below;
+
</noinclude>
if a page with that name already exists, you will be sent to a form to edit that page.
+
  
 +
<includeonly>
 +
{{{info|query form at top|query title=Card Search Form}}}
 +
{{{for template|CSFTemplate}}}
  
{{#forminput:form=Card Search Form}}
+
<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>
  
</noinclude><includeonly>
+
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
+
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
{{{for template|CSFTemplate}}}
+
! valign="top" align="left" style="width: 10%"| Type:
{| class="formtable"
+
| {{{field|type|input type=radiobutton|values=Any, Attack, Armor, Assist, Block, Movement, Utility, Boost, Handicap, Hybrid|show on select=Hybrid=>hybrid|mandatory|default=Any}}}
! Talent:
+
|}
| {{{field|talent}}}
+
<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}}}
 
|-
 
|-
! Itemtype:
+
| <!--spacer-->
| {{{field|itemtype}}}
+
| <div style="margin-top:1em;"></div>
 
|-
 
|-
! Cardname:
+
! style="width: 10%; padding-right: 1em" align="left" | Rarity:
| {{{field|cardname}}}
+
| {{{field|rarity|input type=radiobutton|values=Any, Common, Uncommon, Rare |mandatory|default=Any}}}  
 
|-
 
|-
! Exactly2pip:
+
| <!--spacer-->
| {{{field|exactly2pip}}}
+
| <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}}}  
 
|}
 
|}
{{{end template}}}
+
<div style="margin-top:1em;"></div>
  
'''Free text:'''
+
<div style="margin-top:1em;"></div>
 
+
<div id="specific">
{{{standard input|free text|rows=10}}}
+
{| cellpadding="0" cellspacing="0" style="white-space: nowrap; width: 100%"
 
+
! valign="top" style="width: 10%; padding-right: 1em" align="left" | Pick keyword:
 
+
| {{{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}}}
{{{standard input|summary}}}
+
|}
 
+
</div>
{{{standard input|minor edit}}} {{{standard input|watch}}}
+
{{{end template}}}
 
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
+
 
</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