Template:FoilList: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
, IFNULL(CR.CollInfo,C.CollInfo)=CollInfo | , IFNULL(CR.CollInfo,C.CollInfo)=CollInfo | ||
,CONCAT(CASE WHEN L.Code = 'TW' THEN 'EN Tengwar Foil' WHEN L.Code = 'TG' THEN 'DE Tengwar Foil' ELSE CASE WHEN CR.Subset = 'A' THEN 'Rare Foil' WHEN CR.Subset = 'O' THEN 'Masterworks Foil' ELSE 'EN Foil' END END)=Suffix | ,CONCAT(CASE WHEN L.Code = 'TW' THEN 'EN Tengwar Foil' WHEN L.Code = 'TG' THEN 'DE Tengwar Foil' ELSE CASE WHEN CR.Subset = 'A' THEN 'Rare Foil' WHEN CR.Subset = 'O' THEN 'Masterworks Foil' ELSE 'EN Foil' END END)=Suffix | ||
|where=(L.Code IN ({{{Lang|'EN'}}}) OR (L.Code IN ('TW' | |where=(L.Code IN ({{{Lang|'EN'}}}) OR ((L.Code IN ('TW') OR ('DE' IN ({{{Lang|'EN'}}}) AND L.Code IN ('TG'))) AND CASE WHEN C.SetNum RLIKE '^-?[0-9]+$' THEN CAST(C.SetNum AS UNSIGNED INTEGER) ELSE 0 END > 10)) AND (CR.Subset IN ('F', 'A', 'O') OR (CR.Subset = 'G' AND C.SetNum != '15')) AND C.SetNum = '{{{SetNum}}}' | ||
|order by={{StandardSort}}, L.Code | |order by={{StandardSort}}, L.Code | ||
|named args= yes | |named args= yes |
Revision as of 03:19, 16 April 2022
No results