Template:CardSearch: Difference between revisions

From LOTR-TCG Wiki
(Created page with "<noinclude> {{#template_params:filter|sort}} </noinclude><includeonly> {{#cargo_query:tables=Cards=C,CardReleases=CR |join on=C.ID = CR.ID |fields=CR.ID=CardID ,IFNULL(IFNULL(...")
 
No edit summary
Line 17: Line 17:
,CR.SiteNum
,CR.SiteNum
,IFNULL(CR.CollInfo,C.CollInfo)=CollInfo
,IFNULL(CR.CollInfo,C.CollInfo)=CollInfo
|where= ('{{{isUnique|any}}}' = 'any' OR C.IsUnique = '{{{isUnique|any}}}')
|where= ('{{{isUnique|any}}}' = 'any' OR CR.IsUnique = '{{{isUnique|any}}}')
|order by={{{sort|{{StandardSort}}}}}
|order by={{{sort|{{StandardSort}}}}}
|limit=400
|limit=400

Revision as of 21:36, 24 September 2022

This is the "CardSearch" template.

It should be called in the following format:

{{CardSearch
|filter=
|sort=
}}

Edit the page to see the template text.