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 3: | Line 3: | ||
|fields= CR.ImageFilename=ImageFile | |fields= CR.ImageFilename=ImageFile | ||
,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageTitle | ,REPLACE(REPLACE(C._pageName, '/Data', ''), 'Data:', '')=PageTitle | ||
,CONCAT(CASE WHEN L.Code = 'TW' THEN 'EN Tengwar Foil' WHEN L.Code = 'TG' THEN 'DE Tengwar Foil' ELSE 'EN Foil' END)=Suffix | |||
|where=(L.Code='EN' OR (L.Code IN ('TW', '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', 'G', 'A', 'O') AND C.SetNum = '{{{SetNum}}}' | |||
|order by={{StandardSort}} | |||
,CONCAT(CASE WHEN L.Code = 'TW' THEN 'EN Tengwar Foil' WHEN L.Code = 'TG' THEN 'DE Tengwar Foil' ELSE | |||
|where=( | |||
|order by={{StandardSort}} | |||
|named args= yes | |named args= yes | ||
|format=template | |format=template |