FANDOM


This template adds various statistics to a page using the {{Deck}} template; i.e. Mana Curve, Color Distribution and Card Types.

If done properly, stats should look similar to this example. Deckstats example

Usage

Below the deck add {{DeckCharts}} and hit "Publish". Currently Preview will just show placeholders without the actual data. See also Decklists Tutorial.

Limitations

A page can only contain one {{DeckCharts}}.

If used on a page with more than one {{Deck}} it will always show the stats from the first {{Deck}} only.

Troubleshooting

In case stats don't show up, there could be one of the following issues:

  • There are no valid cards or only land cards in the deck.
  • Javascript is disabled in your browser.
  • Tracking protection addins including "Tracking Protection" in Mozilla Firefox.
  • Some ad-block software may interfere with the charts.
  • Your browser is outdated.
Tested browsers
OS Browser Version
Windows 10 Edge
Chrome
Firefox
Opera
40.15063.0.0
61.0.3163.100
56.0
47.0.2631.71
Windows 7 Chrome
Firefox
Opera
62.0
56.0
48
MacOS X Safari
Chrome
11.0
62.0
iOS Safari 602.1
Ubuntu Linux Firefox 56.0

FAQ

Q:-Why does some tracking protection software prevent the rendering of charts?

A: The charts are rendered by the Google Visualization API, some tracking preventers will block access to this.

Contributing

The master copy of this template is maintained in this github repository. Please use this repository rather than directly editing the template on the wiki. This template can be found at src/web/wikitemplates/DeckCharts.html.

The supporting client side javascript can be found at DeckCharts.js or DeckChartsTwo.js. See ImportJS to see which one is currently live.

Help

If you still have problems making the deck stats work, please contact an admin.

Community content is available under CC-BY-SA unless otherwise noted.