Template:Cardbox

{{#ifexpr: {{{cardcount|}}}+0 > 3 | {{{!}}cellspacing="0" border="0" style="margin:auto;" {{!}}- {{!}}style="height: 47px; width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}{{{card4name|card4name}}} {{#ifexpr: {{{cardcount|}}}+0 > 4 | {{!}}style="width:31px;"{{!}} {{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}{{{card5name|card5name}}} |}} {{#ifexpr: {{{cardcount|}}}+0 > 5 | {{!}}style="width:31px;"{{!}} {{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}{{{card6name|card6name}}} {{!}}- | {{!}}-}} {{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}} {{{card4rarity|card4rarity}}} {{{card4desc|card4desc}}} {{#ifexpr: {{{cardcount|}}}+0 > 4 | {{!}}style="width:31px;"{{!}} {{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}} {{{card5rarity|card5rarity}}} {{{card5desc|card5desc}}} |}} {{#ifexpr: {{{cardcount|}}}+0 > 5 | {{!}}style="width:31px;"{{!}} {{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}} {{{card6rarity|card6rarity}}} {{{card6desc|card6desc}}} {{!}}} | {{!}}} }} |}}

{{#ifexpr: {{{cardcount|}}}+0 > 6 | {{{!}}cellspacing="0" border="0" style="margin:auto;" {{!}}- {{!}}style="height: 47px; width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}{{{card7name|card7name}}} {{#ifexpr: {{{cardcount|}}}+0 > 7 | {{!}}style="width:31px;"{{!}} {{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}{{{card8name|card8name}}} |}} {{#ifexpr: {{{cardcount|}}}+0 > 8 | {{!}}style="width:31px;"{{!}} {{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}{{{card9name|card9name}}} {{!}}- | {{!}}-}} {{!}} style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}} {{{card7rarity|card7rarity}}} {{{card7desc|card7desc}}} {{#ifexpr: {{{cardcount|}}}+0 > 7 | {{!}}style="width:31px;"{{!}} {{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}} {{{card8rarity|card8rarity}}} {{{card8desc|card8desc}}} |}} {{#ifexpr: {{{cardcount|}}}+0 > 8 | {{!}}style="width:31px;"{{!}} {{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}} {{{card9rarity|card9rarity}}} {{{card9desc|card9desc}}} {{!}}} | {{!}}} }} |}}

This template is used to display information about a set of up to 9 Battlecast Cards. For more, use multiple templates.