Form:CardSearch: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
<div class="sidebar flex" style="max-width: | <div class="sidebar flex" style="max-width:300px"> | ||
<div class=" | <div> | ||
<div class="content mw-collapsible mw-collapsed" data-expandtext="Show more" data-collapsetext="Show less"> | |||
<div class="title">Game Text</div> | |||
<span class="heading"> | <span class="heading">Text Search: </span>{{{field|textSearch|input type=textarea|autogrow|default=|cols=40|placeholder=Game Text to search}}} | ||
Use % for wildcards. Twilight symbols are stored like (1) (X), and Culture symbols are referenced like [GONDOR] or [RINGWRAITH]. | |||
<div class="mw-collapsible-content"> | |||
<!-- --><span class="heading">Regex Text Search: </span>{{{field|textRegexSearch|input type=textarea|autogrow|default=|cols=40|placeholder=Game Text to match (using regex)}}} | |||
Uses [https://www.regular-expressions.info/ regex] to perform more powerful searching. | |||
<span class="heading"> | <span class="heading">Tagged Text Search: </span>{{{field|taggedTextRegexSearch|input type=textarea|autogrow|default=|cols=40|placeholder=HTML Tagged Game Text to match (using regex)}}} | ||
Sometimes the bracket syntax of the symbols makes things hard. Cards are also stored in HTML, using <nowiki><symbol>gondor</symbol></nowiki> and <nowiki><twilight>1</twilight></nowiki> syntax. However, other card text is also formatted using HTML, using <nowiki><keyword>Fellowship</keyword></nowiki> and similar syntax, which can make searching harder. YMMV. | |||
</div> | |||
</div> | |||
Line 105: | Line 105: | ||
<div class="sidebar flex" style="max-width: | <div class="sidebar flex" style="max-width:250px"> | ||
<div> | <div class="title">Collection Info</div> | ||
< | <span class="heading">Foil Images</span>{{{field|isFoil|input type=radiobutton|mandatory|default=no|values=yes,no|size=40}}} | ||
< | |||
<span class="heading">Physical</span>{{{field|isPhysical|input type=radiobutton|mandatory|default=yes|values=any,yes,no|size=40}}} | |||
<span class="heading">Playable</span>{{{field|isPlayable|input type=radiobutton|mandatory|default=yes|values=any,yes,no|size=40}}} | |||
<span class="heading">Errata</span>{{{field|isErrata|input type=radiobutton|mandatory|default=any|values=any,yes,no|size=40}}} | |||
<span class="heading">Language: </span>{{{field|languageName|input type=tokens|default=English|size=30|cargo table=Languages|cargo field=Name|placeholder=Select 1 or more from dropdown}}} | |||
<span class="heading">Text Search: </span>{{{field| | <span class="heading">Lore Text Search: </span>{{{field|loreSearch|input type=textarea|autogrow|default=|cols=30|placeholder=Lore regex search to match}}} | ||
<span class="heading"> | <!-- <span class="heading">Promo Text Search: </span>{{{field|promoSearch|input type=textarea|autogrow|default=|cols=30|placeholder=Lore text to match}}} --> | ||
</div> | </div> | ||