Template:Scryfall count

From Magic: The Gathering Wiki
Jump to navigation Jump to search

This template is meant to make automatically count the total numeric result of a specific search query on Scryfall.

Works in tandem with {{Scryfall stats}}.

Parameter

  • {{{1}}} the search query, e.g. type:"Angel". To include card numbers use expressions like cn≥1, cn≤286 or cn:42.
  • {{{label}}} (optional) if something other than card(s) should be displayed.
  • {{{pre}}} (optional) if something should appear before card(s).
  • {{{post}}} (optional) if something should appear after card(s).

Usage

Simple example
Code: {{Scryfall count|type:"Angel"}}
Result: 276 cards
Complex search query
Code: {{Scryfall count|type:"Town" -type:"Townsfolk"}}
Result: 23 cards
Complex search query with post info
Code: {{Scryfall count|fo:/\bAngels?\b/|post=with Angel in textbox}}
Result: 88 cards with Angel in textbox
Simple search (just number)
Code: {{Scryfall count|type:"Angel"|label=}}
Result: 276