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". To include card numbers use expressions likecn≥1,cn≤286orcn: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).{{{state}}}(optional) can be set to "collapsed" to start in a collapsed state.
Examples
- Simple
- Code:
{{Scryfall stats|type:"Angel"}} - Result: 276 cards
1.8%
70.3%
0.4%
3.3%
1.1%
23.2%
- Collapsed
- Code:
{{Scryfall stats|keyword:"Flying"|state=collapsed}} - Result: 3083 cards
3.6%
23%
26.4%
16.3%
8%
1.5%
21.2%
- Complex query
- Code:
{{Scryfall stats|type:"Town" -type:"Townsfolk"}} - Result: 23 cards
30.4%
4.3%
4.3%
4.3%
4.3%
4.3%
47.8%
- Complex query with pre-info
- Code:
{{Scryfall stats|banned:"Legacy"|pre=banned}} - Result: 168 banned cards
25%
9.5%
16.7%
17.9%
8.9%
13.1%
8.9%
- Complex query with post info
- Code:
{{Scryfall stats|fo:/\bAngels?\b/|post=with Angel in textbox}} - Result: 88 cards with Angel in textbox
6.8%
63.6%
2.3%
5.7%
21.6%