Template:Card data/doc

From Artifact: The Dota Card Game Wiki
Jump to: navigation, search
Template-info.png Documentation

This template is used to set up a card data page.

These will be set up as Data namespace pages by automated imports of data extracted from the game client, however editors may need to create data pages while waiting for imports to occur should there be early card leaks before the API is updated.

Card data is populated through User:Sanhardbot running a targeted C# console app to interface with the MediaWiki software.

The template currently accepts the following parameters:

| id = String
| base_id = String
| set_id = String
| name = String
| image = File
| icon = File
| type = Wikitext
| subtype = Wikitext
| color = Wikitext
| manacost = Integer
| goldcost = Integer
| attack = String
| armor = String
| health = String
| rarity = Wikitext
| is_crosslane = String
| is_quick = String
| charges = Integer
| illustrator = Wikitext
| text = Wikitext (size=5000)
| sig_id = String
| ability_id = String
| ability2_id = String

This template should only be called on appropriately named pages in the Data: namespace.