Template:CardSearch: Difference between revisions

From LOTR-TCG Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 25: Line 25:
AND ("{{{twilightMore|}}}" = "" OR CR.TwilightCost >= "{{{twilightMore|}}}")
AND ("{{{twilightMore|}}}" = "" OR CR.TwilightCost >= "{{{twilightMore|}}}")
AND ("{{{twilightLess|}}}" = "" OR CR.TwilightCost <= "{{{twilightLess|}}}")
AND ("{{{twilightLess|}}}" = "" OR CR.TwilightCost <= "{{{twilightLess|}}}")
 
AND ("{{{strength|}}}" = "" OR CASE WHEN "{{{strength|}}}" LIKE '+%' OR "{{{strength|}}}" LIKE '-%' THEN CR.StrengthMod = "{{{strength|}}}" ELSE CR.Strength = "{{{strength|}}}" END)
AND ("{{{strengthMore|}}}" = "" OR CR.Strength >= "{{{strengthMore|}}}")
AND ("{{{strengthMore|}}}" = "" OR CR.Strength >= "{{{strengthMore|}}}")
AND ("{{{strengthLess|}}}" = "" OR CR.Strength <= "{{{strengthLess|}}}")
AND ("{{{strengthLess|}}}" = "" OR CR.Strength <= "{{{strengthLess|}}}")

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