Difference between revisions of "Template:Card panel"

From mtgpq wiki
Jump to: navigation, search
Line 19: Line 19:
 
|}
 
|}
  
</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}}<!--
+
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><!--
 
-->&nbsp;<span style="text-align:right; float:right">{{Rarity icon lineup|{{Card data: {{{1}}}|3}}}}</span><br>
 
-->&nbsp;<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>

Revision as of 22:28, 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:

161219.png Crush of Tentacles CommonUncommonRare|Mythic|Masterpiece
Oath of the Gatewatch Oath of the Gatewatch
21 mana  ·  Spells   ·  Blue