Template:CardSearch: Difference between revisions
From LOTR-TCG Wiki
No edit summary Tag: Manual revert |
No edit summary |
||
Line 2: | Line 2: | ||
{{#template_params:isUnique|sort}} | {{#template_params:isUnique|sort}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{{advancedOptions|}}} | |||
{{#cargo_query:tables=Cards=C,CardReleases=EN,CardReleases=CR,CardSets=S,Languages=L | {{#cargo_query:tables=Cards=C,CardReleases=EN,CardReleases=CR,CardSets=S,Languages=L | ||
Line 77: | Line 79: | ||
AND ("{{#replace:{{{loreSearch|}}}|"|}}" = "" OR CR.Lore RLIKE "{{#replace:{{{loreSearch|}}}|"|}}") | AND ("{{#replace:{{{loreSearch|}}}|"|}}" = "" OR CR.Lore RLIKE "{{#replace:{{{loreSearch|}}}|"|}}") | ||
AND ("{{{ | AND ("{{{advancedOptions|}}}" = "" OR | ||
("{{{ | ("{{{advancedOptions|}}}" LIKE '%Add Burdens%' AND CR.GameText RLIKE 'add (up to )?(a{{!}}X{{!}}\\d) burden') OR | ||
("{{{ | ("{{{advancedOptions|}}}" LIKE '%Prevent Burden Removal%' AND CR.GameText RLIKE '(burden[^\\.]*(can{{!}}may) ?not (be )?remove{{!}}about to remove[^\\.]*burdens?,)') OR | ||
("{{{ | ("{{{advancedOptions|}}}" LIKE '%Remove Burdens%' AND CR.GameText RLIKE 'remove (up to )?(a{{!}}X{{!}}\\d) burden') OR | ||
("{{{ | ("{{{advancedOptions|}}}" LIKE '%Prevent Burden Adding%' AND CR.GameText RLIKE '(burden[^\\.]*(can{{!}}may) ?not (be )?add{{!}}about to add[^\\.]*burdens?,)') OR | ||
Revision as of 05:11, 5 October 2022
This is the "CardSearch" template.
It should be called in the following format:
{{CardSearch |isUnique= |sort= }}
Edit the page to see the template text.