Template:DecklistCatquery

This DecklistCatquery template is to be used in conjunction with the Decklistquery template. It returns properly formatted cardpage link with primary category entry per card. Supports up to 1 x cardname result and 1 x card category result.
 * {{#if:{{{2|}}}|{{{2}}}
 * {{#if:{{{2|}}}|{{{2}}}