Difference between revisions of "Template:Card panel"

From mtgpq wiki
Jump to: navigation, search
Line 25: Line 25:
 
[[{{Set expand|{{Card data: {{{1}}}|2}}}}]] {{SetSymbol|{{Card data: {{{1}}}|2}}}}<br>
 
[[{{Set expand|{{Card data: {{{1}}}|2}}}}]] {{SetSymbol|{{Card data: {{{1}}}|2}}}}<br>
 
{{Card data: {{{1}}}|5}} mana &nbsp;'''·'''&nbsp;
 
{{Card data: {{{1}}}|5}} mana &nbsp;'''·'''&nbsp;
{{{{Card data: {{{1}}}|6}}s}} ({{Card data: {{{1}}}|8}}) &nbsp;'''·'''&nbsp;
+
{{{{Card data: {{{1}}}|6}}s}} {{#if:{{Card data: {{{1}}}|8}}|({{Card data: {{{1}}}|8}})}} &nbsp;'''·'''&nbsp;
 
{{Color Icons|{{Card data: {{{1}}}|4}}}}
 
{{Color Icons|{{Card data: {{{1}}}|4}}}}
 
</div></includeonly>
 
</div></includeonly>

Revision as of 11:09, 10 March 2019

Usage

Generates content for a given card in a panel whose layout is up to the user of the template.

The only parameter is the name of the card.

Example

The following shorthand (containing the card panel in a table):

{| class="wikitable"
| {{Card panel|Abbot of Keral Keep}}
|}

Produces:

160307.png Abbot of Keral Keep CommonUncommon|Rare|MythicMasterpiece
Origins Origins
13 mana  ·  Creatures (6/5)  ·  Red