Editing Template:FoilList
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 4: | Line 4: | ||
,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageTitle | ,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageTitle | ||
,IFNULL(CR.Title,C.Title)=Title | ,IFNULL(CR.Title,C.Title)=Title | ||
,IFNULL(CR.Subtitle,C.Subtitle)=Subtitle | , IFNULL(CR.Subtitle,C.Subtitle)=Subtitle | ||
,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 | ,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=( | |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 |