Thread:Cqm/@comment-4370375-20140214173733/@comment-5083036-20140216150920

So you want a list of pages that link to a certain page, but only if that link is within the flavor text parameter?

Try this:

 linksto = Pagename uses = Template:Cardtable ignorecase = true include = {Cardtable}:flavor includematch = /\|\s*flavor\s*=\s*[^\|]*\[\[pagename\]\]/ 

This will be a tricky thing a bit. It will actually list every page that links to what you want (whatever you put for pagename) that also uses the cardtable template, but it will only display the ones in that list that have the link inside the flavor parameter; e.g., let's say 510 pages were found, and of those, 50 have the link in this parameter, it will show the first 50 of those 500 only. It can't find and search the last 10 pages. I'm not sure how much of a problem this will be, but if you need more searches, you can just use a second DPL query.

I'm also not sure what you want done with the flavor texts. The code here just has the flavor text displayed after the link to the page. If you want the flavor text gone, just add tablerow =

in there somewhere.