Template:CardSearch: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 18: Line 18:
AND ("{{{isPlayable|any}}}" = "any" OR IFNULL(CR.isPlayable, C.isPlayable) = {{Boolean|{{{isPlayable|any}}}}})
AND ("{{{isPlayable|any}}}" = "any" OR IFNULL(CR.isPlayable, C.isPlayable) = {{Boolean|{{{isPlayable|any}}}}})
AND ("{{{isErrata|any}}}" = "any" OR CR.Revision >= {{Boolean|{{{isPlayable|any}}}}})
AND ("{{{isErrata|any}}}" = "any" OR CR.Revision >= {{Boolean|{{{isPlayable|any}}}}})
AND ("{{{languageName|}}}" = "" OR L.Name IN ("{{#replace:{{{languageName}}}|,|" ,"}}"))
AND ("{{{languageName|}}}" = "" OR L.Name IN ("{{#replace:{{{languageName}}}| <nowiki/>, <nowiki/> |" ,"}}"))


|order by={{{sort|{{CultureSort}}}}}
|order by={{{sort|{{CultureSort}}}}}

Revision as of 07:59, 25 September 2022

This is the "CardSearch" template.

It should be called in the following format:

{{CardSearch
|isUnique=
|sort=
}}

Edit the page to see the template text.