Editing Template:FoilList

From LOTR-TCG Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 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 CONCAT(L.Code, ' Rare Foil') WHEN CR.Subset = 'O' THEN CONCAT(L.Code, ' Masterworks Foil') ELSE CONCAT(L.Code, ' 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 CONCAT(L.Code, ' Rare Foil') WHEN CR.Subset = 'O' THEN CONCAT(L.Code, ' Masterworks Foil') ELSE CONCAT(L.Code, ' Foil') END END)=Suffix
|where=(CR.LanguageCode IN ('{{{Lang|EN}}}') OR ((('EN' IN ('{{{Lang|EN}}}') AND CR.LanguageCode IN ('TW')) OR ('DE' IN ('{{{Lang|EN}}}') AND CR.LanguageCode 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}}}'
|where=(CR.LanguageCode IN ({{{Lang|'EN'}}}) OR ((('EN' IN ({{{Lang|'EN'}}}) AND CR.LanguageCode IN ('TW')) OR ('DE' IN ({{{Lang|'EN'}}}) AND CR.LanguageCode 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
Please note that all contributions to the LOTR-TCG Wiki may be edited, altered, or removed by other contributors. Your writing is liable to be edited mercilessly, so be sure to back up any major claims with links if possible.

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: