Template:CardSearch: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 14: Line 14:
AND ("{{{rarityabbr|}}}" = "" OR "{{{rarityabbr|}}}" LIKE CONCAT('%(', C.Rarity, ')%'))
AND ("{{{rarityabbr|}}}" = "" OR "{{{rarityabbr|}}}" LIKE CONCAT('%(', C.Rarity, ')%'))


AND ("{{{isPhysical|}}}" = "" OR C.IsUnique = {{Boolean|{{{isPhysical|}}}}})
AND ("{{{isPhysical|}}}" = "" OR ISNULL(CR.IsPhysical, C.IsPhysical) = {{Boolean|{{{isPhysical|}}}}})
|order by={{{sort|{{CultureSort}}}}}
|order by={{{sort|{{CultureSort}}}}}
|limit=100
|limit=100

Revision as of 07:01, 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.