Template:CardSearch: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
| 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 ("{{{strengthLess|}}}" = "" OR CR.Strength <= "{{{strengthLess|}}}") | |||
|order by={{{sort|{{CultureSort}}}}} | |order by={{{sort|{{CultureSort}}}}} | ||
Revision as of 09:21, 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.