Open main menu

mtgpq wiki β

Changes

Template:Deck List Row Mini

398 bytes added, 10:04, 13 March 2019
no edit summary
The first parameter is the card name.
The second field parameter is a comma-separated list of parameters fields indicate the fields card information to display.  The possible display fields are:
* cost - The cost in mana of the card
* type - The type of the card, along with P/T for creatures and shields for supports
* legacy - A legacy banner if the card is from a legacy set
Fields are always displayed The third parameter (optional) is a list of fields for formatting the row. Currently, the only formatting parameter is:* rarity_bg - Shade the background of the table row in a color corresponding to the order above.card's rarity
==Example==
</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
{{!}}-
{{!}} style="border-right:solid 0px;{{#if:{{{3|}}}|{{Tint{{Rarity expand|{{Card data: {{{1}}}|3}}}}}}}}" {{!}} {{Card URL|{{Trim|{{{1}}}}}}} <!--Name-->
{{#ifexist: Template:Card data: {{{1}}}|<!--
-->{{!}} style="border-left:solid 0px;{{#if:{{{3|}}}|{{Tint{{Rarity expand|{{Card data: {{{1}}}|3}}}}}}}}" {{!}} {{#if:{{#pos:{{{2}}}|cost}}|<!--
-->{{Card data: {{{1}}}|5}}}}<!-- Cost
-->{{#if:{{#pos:{{{2}}}|type}}|<!--