Template:Scryfall stats
Jump to navigation
Jump to search
| We currently disabled the scryfall queries to automatically retrieve the numbers, because the plug-in caused heavy slowdown. |
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:
- Collapsed
- Code:
{{Scryfall stats|keyword:"Flying"|state=collapsed}}
- Result:
- Complex query
- Code:
{{Scryfall stats|type:"Town" -type:"Townsfolk"}}
- Result:
- Complex query with post info
- Code:
{{Scryfall stats|fo:/\bAngels?\b/|post=with Angel in textbox}}
- Result: