Appearance
Legends of Runeterra card search
The search box on the Legends of Runeterra Cards page and in the deck builder understands a small query language. A plain word is enough to find a card by name, and fields let you ask for things like "Demacia units that cost 2 or less" in one line: t:unit cost<=2 region:demacia.
How search works
Type a query into the search box on the Cards page or in the deck builder. A query is one or more terms separated by spaces, and a card has to match every term.
- A plain word searches card names and rules text:
draw. field:valuesearches one field:t:spell. Every field has a full name and usually a short alias, sotype:spellandt:spellare the same search. Field names and values ignore upper and lower case unless this page says otherwise.
The fields, shortcuts and examples for this game are further down the page.
Matching text
How you write a value decides how strictly it has to match.
| You type | It matches |
|---|---|
word | Names close to word, typos allowed, plus any card whose name or rules text contains word. |
n:word | Names close to word, typos allowed. |
"two words" | Names or rules text containing exactly two words. Quotes turn typo tolerance off and let a value hold spaces. |
field:"two words" | That field contains exactly two words. |
field:!value | That field is exactly value, not just containing it. |
field:/pattern/ | That field matches a regular expression, ignoring case: n:/^the / finds names starting with "The". |
Some details:
- Only names are typo-tolerant. Every other field matches when its value contains what you typed, so
o:drawfinds "draws" and "Draw 1". - Best matches come first. When a query has a plain word or a
n:term, the closest names are listed first. A query with only fields keeps the page's normal order, and a sort you pick yourself always wins. - Use
!and/…/with a field. On a plain word they compare against a card's name and rules text all at once, which rarely matches. - The word
oris special (see below). To search for it, quote it:"or".
Combining terms
| You type | It means |
|---|---|
a b | Both a and b must match. |
a or b | Either a or b must match. OR works too. |
-a | Leave out cards that match a. Works before any term or group: -t:spell, -(a or b). |
(a or b) c | Parentheses group terms: c plus either a or b. |
a b or c | Terms next to each other are joined first, so this is (a b) or c. Add parentheses if not. |
Comparing numbers and ranks
Number fields such as cost take a comparison:
| Operator | Meaning | Example |
|---|---|---|
: | Has this value: contains for text and values, equal for numbers | cost:3 |
= | Equal to | cost=3 |
!= | Not equal to | cost!=3 |
< | Less than | cost<3 |
<= | Less than or equal to | cost<=3 |
> | Greater than | cost>3 |
>= | Greater than or equal to | cost>=3 |
A field whose allowed values are listed in order, such as rarity, can be compared the same way: r>=rare finds Rare and everything ranked above it in the list shown in the fields table. A value that is not in that list never matches a comparison, though it still matches with :.
Shortcut syntax
is:name finds a whole kind of card in one term. not:name is the same as -is:name. If a shortcut's name has a space, quote it: is:"two words". Each game's shortcuts are listed below.
A field or shortcut the game doesn't have matches no cards, so check the spelling if a search comes back empty.
Field kinds
| Kind | How it matches |
|---|---|
| Text | Free text, such as a name or rules text. : means contains (names also allow typos). |
| Value | One of a set of values, such as a type or region. : means contains, so part of a value is enough. When the allowed values are listed, comparisons follow their order. |
| Number | A number. : means equal, and every comparison operator works. |
| Cost symbols | A cost written as a number (the total) or as symbols (the exact mix). See the cost section on this page. |
Fields
| Field | Aliases | Kind | Description | Values |
|---|---|---|---|---|
name | n | Text | The card's name. Unquoted text is typo-tolerant. | Any text |
text | o, oracle | Text | Rules text, including a champion's level-up text. | Any text |
type | t | Value | Card type: Unit, Spell, Landmark, Ability, Equipment and so on. | Unit, Spell, Landmark, Ability, Equipment |
rarity | r | Value | Rarity. Comparisons use the order Common, Rare, Epic, Champion. | Common, Rare, Epic, Champion |
set | e | Value | Set code, such as set1 or set6cde. | Values come from the card catalog. |
cost | mv, cmc | Number | Mana cost. | A number |
region | c, color | Value | Region, such as Demacia or ShadowIsles. | Demacia, Freljord, Ionia, Noxus, PiltoverZaun, ShadowIsles, Bilgewater, Shurima, Targon, BandleCity, Runeterra |
keyword | kw | Value | Keyword, written as one word with no spaces, such as QuickStrike or LastBreath. | Values come from the card catalog. |
supertype | Value | Supertype. Champion is the only one in use. | Champion |
Regions and keywords use their English names written as one word, the same in every language: region:piltoverzaun, region:shadowisles, kw:quickstrike. Because : means contains, region:shadow is enough.
Shortcuts
| Shortcut | Finds |
|---|---|
is:champion | Champion units (not their spells or abilities). |
is:landmark | Landmarks. |
is:unit | Units, champions included. |
is:spell | Spells. |
is:equipment | Equipment. |
is:collectible | Cards you can put in a deck (leaves out tokens, abilities and level-ups). |
is:runeterra | Cards whose region is Runeterra. |
Examples
| Query | Finds |
|---|---|
t:unit cost<=2 region:demacia | Demacia units that cost 2 or less. |
is:champion (region:freljord or region:ionia) | Freljord or Ionia champions. |
kw:elusive -is:champion | Elusive units that are not champions. |
t:spell o:"draw 1" | Spells whose text says "draw 1". |
r>=epic e:set1 | Epic and Champion rarity cards from the first set. |
jnx | Jinx, despite the typo. |
n:!vi | Only the card named exactly Vi. |
kw:strike | Quick Attack and Double Attack cards (QuickStrike, DoubleStrike). |
is:landmark region:shurima | Shurima landmarks. |
region:bandle t:spell | Bandle City spells. |