Template:CardSearch: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
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 CR.IsUnique = '{{{isUnique|any}}}') | |where= ('{{{isUnique|any}}}' = 'any' OR CR.IsUnique = CASE WHEN '{{{isUnique|any}}}' = 'yes' THEN 1 WHEN '{{{isUnique|any}}}' = 'no' THEN 0 ELSE 2 END) | ||
|order by={{{sort|{{StandardSort}}}}} | |order by={{{sort|{{StandardSort}}}}} | ||
|limit=10 | |limit=10 | ||
|format= | |intro=<!-- | ||
-->{{{!}} class="cargoQueryTable sortable cargoDynamicTable" style="margin:4px" | |||
! Portrait !! Card Name !! Culture !! Card Type !! Game Text | |||
|format=template | |||
|template=CardReadoutRow | |||
|named args= yes | |named args= yes | ||
|outro=​ | |outro=​ | ||
Line 26: | Line 30: | ||
|default=''No Cards Found | |default=''No Cards Found | ||
|delimiter= | |delimiter= | ||
|no html | |||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 21:50, 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.