Template:List cards/Choice

From Hearthstone Wiki
Jump to navigation Jump to search

This template is a simple wrapper for {{List cards/Section}}, passing a default title of 'Choice cards' and default category of Category:Choice card data. This checks to see if there are any matching cards in the category, and if so creates a section complete with title and optional introduction, in which {{List cards}} is called to provide a list of all cards matching the parameters supplied.

Usage[edit source]

The template accepts all parameters used by {{List cards}}, and three optional additional parameters: level, title and text.

  • level - This parameter accepts values between 2 and 4 to determine the level of the section header. Default value: 3
  • title - This parameter sets the title for the section header. Default value: Choice cards
  • text - This parameter places text in the section, above the card listings. By default no text is presented.
  • category - This parameter allows the user to specify a different category than Category:Choice card data. This can be useful for multiple category card types, such as Category:Removed choice card data. Note that while categoryname can be used to add additional categories, it cannot override the default category.

Template[edit source]


Choice cards

Cargo Query Error: Error 3995: Character set 'utf8mb4_unicode_ci' cannot be used in conjunction with 'binary' in call to regexp_like. Function: CargoSQLQuery::run Query: SELECT `cargo__Cards`.`targetpage` AS `targetpage`,`cargo__Cards`.`name` AS `name`,`cargo__Cards`.`raritySortOrder` AS `rarity_index`,`cargo__Cards`.`rarity` AS `rarity`,`cargo__Cards`.`type` AS `type`,`cargo__Cards`.`subtype` AS `subtype`,`class__full` AS `class`,`cargo__Cards`.`is_multiclass` AS `is_multiclass`,`cargo__Cards`.`multiclass` AS `multiclass`,`cargo__Cards`.`cost` AS `cost`,`cargo__Cards`.`attack` AS `attack`,`cargo__Cards`.`hp` AS `hp`,`cargo__Cards`.`description` AS `description`,`cargo__Cards`.`flavor` AS `flavor`,CONCAT("") AS `show_tier` FROM `cargo__Cards` LEFT OUTER JOIN `cargo___pageData` ON ((`cargo__Cards`.`_pageId`=`cargo___pageData`.`_pageId`)) WHERE (`cargo___pageData`.`_categories__full` RLIKE CONCAT("(^|\\|)","C","h","o","i","c","e","_","c","a","r","d","_","d","a","t","a","(\\||$)")) GROUP BY `cargo__Cards`.`_pageName` ORDER BY `cargo__Cards`.`cost`,`cargo__Cards`.`name` LIMIT 1000 Cargo Query Error: Error 3995: Character set 'utf8mb4_unicode_ci' cannot be used in conjunction with 'binary' in call to regexp_like. Function: CargoSQLQuery::run Query: SELECT CONCAT(`cargo__Cards`.`targetpage`) AS `targetpage`,CONCAT(`cargo__Cards`.`name`) AS `name`,CONCAT(`cargo__Cards`.`image`) AS `image`,CONCAT(`cargo__Cards`.`gold_image`) AS `gold_image`,CONCAT("no") AS `gold` FROM `cargo__Cards` LEFT OUTER JOIN `cargo___pageData` ON ((`cargo__Cards`.`_pageId`=`cargo___pageData`.`_pageId`)) WHERE (`cargo___pageData`.`_categories__full` RLIKE CONCAT("(^|\\|)","C","h","o","i","c","e","_","c","a","r","d","_","d","a","t","a","(\\||$)")) GROUP BY `cargo__Cards`.`_pageName` ORDER BY `cargo__Cards`.`cost`,`cargo__Cards`.`name` LIMIT 1000