servatrice/cockatrice/resources/help/search.md
SlightlyCircuitous f444ba9665
Corrected edition search syntax (#4752)
* Replaced "e:lea,leb" with "e:lea or e:leb"
* Removed "e:lea,leb -(e:lea e:leb) (Cards that appear in Alpha or Beta but not in both editions)" as this does not produce results in Cockatrice (even when using "or" instead of "," as above)
2023-02-16 12:08:00 +01:00

3.5 KiB

Syntax Help


The search bar recognizes a set of special commands similar to some other card databases. Here is a list with examples. Each entry can be clicked to test the query and has a small explanation. Note that all searches are case insensitive.

Name:
[birds of paradise](#birds of paradise) (Any card name containing the words birds, of, and paradise)
["birds of paradise"](#%22birds of paradise%22) (Any card name containing the exact phrase "birds of paradise")
Rules Text (Oracle):
[o:flying](#o:flying) (Any card text that has the word flying)
[o:"first strike"](#o:%22first strike%22) (Any card text that has the exact phrase "first strike")
[o:"{T}" o:"add one mana of any color"](#o:%22{T}%22 o:%22add one mana of any color%22) (Any card text that has a tap symbol and the phrase "add one mana of any color")
Types:
[t:angel](#t:angel) (Any card with the type angel)
[t:angel t:legendary](#t:angel t:legendary) (Any angel that's also legendary)
[t:basic](#t:basic) (Any card with the type basic)
[t:arcane t:instant](#t:arcane t:instant) (Any card with the types arcane and instant)
Colors:
[c:w](#c:w) (Any card that is white)
[c:wu](#c:wu) (Any card that is white or blue)
[c:wum](#c:wum) (Any card that is white or blue, and multicolored)
[c:c](#c:c) (Any colorless card)
[ci:w](#ci:w) (Any card that has white in it's color identity)
Power, Toughness, Mana Value:
[tou:1](#tou:1) (Any card with a toughness of 1)
[pow>=8](#pow>=8) (Any card with a power greater than or equal to 8)
[mv=7](#mv=7) (Any card with a mana value equal to 7)
Rarity:
[r:mythic](#r:mythic) (Any card that has the mythic-rare rarity)
Format:
[f:standard](#f:standard) (Any card that can be played in standard)
[banned:modern](#banned:modern) (Any card that is banned in modern)
[restricted:vintage](#restricted:vintage) (Any card that is restricted in vintage)
[legal:pauper](#legal:pauper) (Any card that is legal in pauper)
Edition:
[set:lea](#set:lea) (Cards that appear in Alpha, which has the set code LEA)
[e:lea or e:leb](#e:lea or e:leb) (Cards that appear in Alpha or Beta)
Negate:
[c:wu -c:m](#c:wu -c:m) (Any card that is white or blue, but not multicolored)
Branching:
[t:sliver or o:changeling](#t:sliver or o:changeling) (Any card that is either a sliver or has changeling)
Grouping:
t:angel -(angel or c:w) (Any angel that doesn't have angel in its name and isn't white)