Template:List card art

{{#if:{{{1|}}}|

{{#if:{{{2|}}}|{{#ifeq:{{Card count|where={{#uesc:_pageData._categories__full RLIKE " (^|\\\|){{#lstsep: {{{2}}} |\_|_}}(\\\||$) "}} AND ({{#lstmap:Card_data,Choice_card_data,Upcoming_card_data,Upcoming_choice_card_data|,|@@@@|_pageData._categories__full RLIKE " (^|\\\|)@@@@(\\\||$) "|\_OR\_}})}}|0||


 * }} |}} |}}

This template is designed for use on card art pages. It takes one or two arguments, creating titled level 3 sections for each, in which all relevant cards are listed using List cards and List cards/Upcoming. List cards/Upcoming is automatically set to create level 4 sections.

The template searches the categories specified, in combination with Category:Card data and Category:Choice card data, and then Category:Upcoming card data and Category:Upcoming choice card data.