Difference between revisions of "Template:Card panel"
Line 10: | Line 10: | ||
<pre><nowiki> | <pre><nowiki> | ||
{| class="wikitable" | {| class="wikitable" | ||
− | | {{Card panel| | + | | {{Card panel|Crush of Tentacles}} |
|} | |} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 16: | Line 16: | ||
Produces: | Produces: | ||
{| class="wikitable" style="width: 320px;" | {| class="wikitable" style="width: 320px;" | ||
− | | {{Card panel| | + | | {{Card panel|Crush of Tentacles}} |
|} | |} | ||
</noinclude><includeonly><div id="Card_Panel_{{{!}}}" style="width: 277px; margin: 0 auto;"> | </noinclude><includeonly><div id="Card_Panel_{{{!}}}" style="width: 277px; margin: 0 auto;"> | ||
− | + | https://mtgpq.info/assets/packs/{{lc:{{Card data: {{{1}}}|2}}}}/{{Card data: {{{1}}}|11}} | |
<span style="text-align:left; float:left">'''{{Card URL|{{Card data: {{{1}}}|1}}}}'''</span><!-- | <span style="text-align:left; float:left">'''{{Card URL|{{Card data: {{{1}}}|1}}}}'''</span><!-- | ||
--> <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> |
Revision as of 22:27, 23 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|Crush of Tentacles}} |}
Produces:
Crush of Tentacles || |