Template:CardSearch: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
Line 21: Line 21:
AND ("{{#replace:{{{loreSearch|}}}|"|}}" = "" OR CR.Lore RLIKE "{{#replace:{{{loreSearch|}}}|"|}}")
AND ("{{#replace:{{{loreSearch|}}}|"|}}" = "" OR CR.Lore RLIKE "{{#replace:{{{loreSearch|}}}|"|}}")


AND ("{{{twilight|}}}" = "" OR CR.TwilightCost = {{{twilight|}}})
AND ("{{{twilight|}}}" = "" OR CR.TwilightCost = "{{{twilight|}}}")
AND ("{{{twilightMore|}}}" = "" OR CR.TwilightCost >= {{{twilightMore|}}})
AND ("{{{twilightMore|}}}" = "" OR CR.TwilightCost >= "{{{twilightMore|}}}")
AND ("{{{twilightLess|}}}" = "" OR CR.TwilightCost <= {{{twilightLess|}}})
AND ("{{{twilightLess|}}}" = "" OR CR.TwilightCost <= "{{{twilightLess|}}}")


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

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