Talk:Card Stats

How to update card data
To most easily update these tables, find a copy of the game data in JSON format here (carddata.json): https://drive.google.com/drive/folders/0B-3hJBoCehBpSkpwdE0zamFvTDg Copy the text from that file to here: Template:JSONGameData If a particular card's stats have still not been updated, then go to the page for that card, and select the menu option (top-right) More -> Refresh You can check what stats each card currently has by goint to the card's page and then selecting "Browse Properties" from the side-menu.

How does it do that?
The wiki has both the Scribunto and the Semantic Mediawiki addons installed. Module:GameData is a Scribunto module which parses the JSON text and turns it into markup which Semantic Mediawiki then uses to add properties to each of the card pages. The module is called on each card page with markup such as for example: Further markup on this Card Stats page then uses Semantic Mediawiki to query the card pages and report the values of each of these properties in the form of the tables here.