Editing Template:CardSearch
From LOTR-TCG Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 64: | Line 64: | ||
AND ("{{{sitesitenumLess|}}}" = "" OR (C.CardType = 'Site' AND CR.SiteNum <= "{{{sitesitenumLess|}}}")) | AND ("{{{sitesitenumLess|}}}" = "" OR (C.CardType = 'Site' AND CR.SiteNum <= "{{{sitesitenumLess|}}}")) | ||
AND ("{{{shadownum|}}}" = "" OR (C.CardType = 'Site' AND IFNULL(CR. | AND ("{{{shadownum|}}}" = "" OR (C.CardType = 'Site' AND IFNULL(CR.ShadowNumber, CR.TwilightCost) = "{{{shadownum|}}}")) | ||
AND ("{{{shadownumMore|}}}" = "" OR (C.CardType = 'Site' AND IFNULL(CR. | AND ("{{{shadownumMore|}}}" = "" OR (C.CardType = 'Site' AND IFNULL(CR.ShadowNumber, CR.TwilightCost) >= "{{{shadownumMore|}}}")) | ||
AND ("{{{shadownumLess|}}}" = "" OR (C.CardType = 'Site' AND IFNULL(CR. | AND ("{{{shadownumLess|}}}" = "" OR (C.CardType = 'Site' AND IFNULL(CR.ShadowNumber, CR.TwilightCost) <= "{{{shadownumLess|}}}")) | ||
AND ("{{{isSanctuary|any}}}" = "any" OR CASE WHEN {{Boolean|{{{isSanctuary|any}}}}} = 1 THEN CR.GameText RLIKE '(?<!\\w )Sanctuary\\.' ELSE CR.GameText NOT RLIKE '(?<!\\w )Sanctuary\\.' END) | AND ("{{{isSanctuary|any}}}" = "any" OR CASE WHEN {{Boolean|{{{isSanctuary|any}}}}} = 1 THEN CR.GameText RLIKE '(?<!\\w )Sanctuary\\.' ELSE CR.GameText NOT RLIKE '(?<!\\w )Sanctuary\\.' END) |