Template:Scryfall stats
Jump to navigation
Jump to search
This template is meant to make the statistical breakdown by color identity easier and more consistent across the wiki.
The template calculates the total and the percentage breakdown based on a Scryfall search query.
Works in tandem with {{Scryfall count}}.
Parameter
{{{1}}}the search query, e.g. type:"Angel"{{{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).{{{state}}}(optional) can be set to "collapsed" to start in a collapsed state.
Examples
- Simple
- Code:
{{Scryfall stats|type:"Angel"}}
- Result:
301 cards
1.7%
66.1%
2%
4.7%
2.7%
1.7%
21.3%
- Collapsed
- Code:
{{Scryfall stats|keyword:"Flying"|state=collapsed}}
- Result:
3607 cards
3%
22.6%
25.3%
16.9%
9.9%
4.3%
18%
- Complex query
- Code:
{{Scryfall stats|type:"Town" -type:"Townsfolk"}}
- Result:
58 cards
12.1%
13.8%
13.8%
13.8%
13.8%
13.8%
19%
- Complex query with post info
- Code:
{{Scryfall stats|fo:/\bAngels?\b/|post=with Angel in textbox}}
- Result:
118 cards
5.1%
52.5%
6.8%
9.3%
5.1%
5.1%
16.1%