Difference between revisions of "Template:Card panel"
Line 16: | Line 16: | ||
Produces: | Produces: | ||
{| class="wikitable" style="width: 320px;" | {| class="wikitable" style="width: 320px;" | ||
− | | {{Card panel| | + | | {{Card panel|Beanstalk Giant//Fertile Footsteps}} |
|} | |} | ||
Line 24: | Line 24: | ||
--> <span style="text-align:right; float:right">{{Rarity icon lineup|{{Card data: {{{1}}}|3}}}}</span><br> | --> <span style="text-align:right; float:right">{{Rarity icon lineup|{{Card data: {{{1}}}|3}}}}</span><br> | ||
[[{{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 '''·''' | + | {{#replace:{{Card data: {{{1}}}|5}}|,|//}} mana '''·''' |
− | {{{{Card data: {{{1}}}|6}}s}} {{#if:{{Card data: {{{1}}}|8}}|({{Card data: {{{1}}}|8}})}} '''·''' | + | {{{{#explode:{{Card data: {{{1}}}|6}}|,|0}}s}}<!-- Type |
+ | -->{{#if:{{#pos:{{Card data: {{{1}}}|6}}|,}}|//{{{{#explode:{{Card data: {{{1}}}|6}}|,|1}}s}}}} <!-- | ||
+ | -->{{#if:{{Card data: {{{1}}}|8}}|({{Card data: {{{1}}}|8}})}} '''·''' | ||
{{Color Icons|{{Card data: {{{1}}}|4}}}} | {{Color Icons|{{Card data: {{{1}}}|4}}}} | ||
</div></includeonly> | </div></includeonly> |
Revision as of 02:19, 23 February 2020
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|Crush of Tentacles}} |}
Produces:
Beanstalk Giant//Fertile Footsteps || |