Template:Cards

From Artifact: The Dota Card Game Wiki
Revision as of 23:50, 13 December 2018 by Sanhard (talk | contribs)
Jump to: navigation, search
Template-info.png 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,

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

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 Function: CargoSQLQuery::run Error: 1054 Unknown column 'color desc' in 'order clause' (geo-db-i-master.query.consul.)

{{Cards
| keyword     = Swap
}}