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 = 'English')
AND ("{{{languageName|}}}" = "" OR L.Name IN ("{{#replace:{{#replace:{{{languageName}}}|,|","}}||}}"))


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

Revision as of 08:09, 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.