Artifact: The Dota Card Game Wiki
Advertisement
Template-info Documentation

This is a fairly simple query template that returns a alphabetically sorted table of card images.

Usage

{{Cards
| keyword    = 
}}

Example

With the keyword "Swap" specified,

Error 1054: Unknown column 'type="Hero"' in 'order clause'

Function: CargoSQLQuery::run Query: SELECT CONCAT(name) AS `name`,CONCAT(image) AS `image` FROM `cargo__card_data` WHERE type LIKE "%%%" AND type NOT LIKE "%%Ability" AND UPPER(text) LIKE UPPER("%Swap%")AND is_crosslane LIKE "True" GROUP BY `_pageName` ORDER BY `color` DESC,`type="Hero"` DESC,`manacost`,`goldcost`,`name` LIMIT 500

{{Cards
| keyword     = Swap
}}
Advertisement