Template:List cards/Artist

{{#ifeq:{{#vardefineecho:boss_all|{{Card count|where=Cards.artist = "{{#var:artist}}" AND ({{#lstmap:Boss_card_data,Boss_choice_card_data,Removed_boss_card_data,Removed_boss_choice_card_data|,|@@@@|_pageData._categories__full RLIKE " (^|\\\|)@@@@(\\\||$) "|\_OR\_}})}} }}|0||

Boss
The following cards are seen only in boss encounters, within adventures or the tutorial. }}{{#ifeq:{{#vardefineecho:tb_all|{{Card count|where=Cards.artist = "{{#var:artist}}" AND ({{#lstmap:Tavern_Brawl_card_data,Tavern_Brawl_choice_card_data,Removed_Tavern_Brawl_card_data,Removed_Tavern_Brawl_choice_card_data|,|@@@@|_pageData._categories__full RLIKE " (^|\\\|)@@@@(\\\||$) "|\_OR\_}})}} }}|0||

Tavern Brawls
The following cards are seen only in Tavern Brawls. }}{{#ifeq:{{#vardefineecho:arena_all|{{Card count|where=Cards.artist = "{{#var:artist}}" AND ({{#lstmap:arena_card_data,arena_choice_card_data,Removed_arena_card_data,Removed_arena_choice_card_data|,|@@@@|_pageData._categories__full RLIKE " (^|\\\|)@@@@(\\\||$) "|\_OR\_}})}} }}|0||

Arena
The following cards are seen only in Arena during special events. }}{{#ifeq:{{#vardefineecho:battlegrounds_all|{{Card count|where=Cards.artist = "{{#var:artist}}" AND ({{#lstmap:Battlegrounds_card_data,Battlegrounds_choice_card_data,Removed_battlegrounds_card_data,Removed_battlegrounds_choice_card_data|,|@@@@|_pageData._categories__full RLIKE " (^|\\\|)@@@@(\\\||$) "|\_OR\_}})}} }}|0||

Battlegrounds
The following cards are seen only in Battlegrounds. }}{{#ifeq:{{#vardefineecho:duels_all|{{Card count|where=Cards.artist = "{{#var:artist}}" AND ({{#lstmap:Duels_card_data,Duels_choice_card_data,Removed_duels_card_data,Removed_duels_choice_card_data|,|@@@@|_pageData._categories__full RLIKE " (^|\\\|)@@@@(\\\||$) "|\_OR\_}})}} }}|0||

Duels
The following cards are seen only in Duels. }}

This template automatically creates card list sections for all cards whose  property matches the artist specified. The page title is used by default, or the artist can be specified using. Note that this is necessary for pages whose titles include ampersands (&).