Form:CardSearch: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 106: Line 106:
<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)}}}
<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)}}}


{{#listunique:list={{#cargo_query:tables=Cards=C,CardReleases=CR|join on=C.ID = CR.ID|fields=CR.Subtypes|where=C.CardType IN ('Artifact', 'Possession')|format=list|more results text=|limit=600}}|insep=,|outsep=.}}
</div>


<span class="heading">Has Keywords: </span>{{{field|textSearch|input type=tokens|default=|size=20|values={{#cargo_query:tables=Cards=C,CardReleases=CR|join on=C.ID = CR.ID|fields=CR.Subtypes|where=C.CardType IN ('Artifact', 'Possession') AND Subtypes__full NOT LIKE '' AND Subtypes__full NOT LIKE '%•%'|format=list|more results text=|group by=Subtypes__full}}|placeholder=Game Text to match}}}
{{{field|setnum|input type=combobox|default=|size=40|values=All,Fellowship Block,Towers Block,King Block,Movie Block,War of the Ring Block,Hunters Block,Hobbit Draft Game|placeholder=Type single # or pick block}}}
{{{field|setnum|input type=combobox|default=|size=40|values={{#cargo_query:tables=Cards=C,CardReleases=CR|join on=C.ID = CR.ID|fields=CR.Subtypes|where=C.CardType IN ('Artifact', 'Possession') AND Subtypes__full NOT LIKE '' AND Subtypes__full NOT LIKE '%•%'|format=list|more results text=|group by=Subtypes__full}}|placeholder=Type single # or pick block}}}
{{#cargo_query:tables=Cards=C,CardReleases=CR|join on=C.ID = CR.ID|fields=CR.Subtypes|where=C.CardType IN ('Artifact', 'Possession') AND Subtypes__full NOT LIKE ''|format=list|more results text=|group by=Subtypes__full}}


{{#listunique:list=A,A,A,B,C,C|insep=,|outsep=.}}
{{#listunique:list=A,A,A,B,C,C|insep=,|outsep=.}}




   </div>
    





Revision as of 10:33, 21 January 2022