Changes

Jump to: navigation, search

Template:Deck List Row Mini

387 bytes removed, 03:09, 10 April 2020
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==
-->{{Deck List Row Mini|Time of Ice|cost,type,rarity}}<!--
-->{{Deck List Row Mini|Storm the Vault|cost,type,rarity}}<!--
-->{{Deck List Row Mini|Storm the Vault//Vault of Catlacan|cost,type,rarity}}<!---->{{Deck List Row Mini|Black Lotus|cost,type,rarity}}
|}
</nowiki></pre>
-->{{Deck List Row Mini|Time of Ice|cost,type,rarity}}<!--
-->{{Deck List Row Mini|Storm the Vault|cost,type,rarity}}<!--
-->{{Deck List Row Mini|Storm the Vault//Vault of Catlacan|cost,type,rarity}}<!---->{{Deck List Row Mini|Black Lotus|cost,type,rarity}}
|}
</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
{{!}}-
{{!}} [https://mtgpq.info/cards/{{#replace:{{#replaceifexpr:{{#replace:{{#if:{{#poslen:{{Card data: {{{1}}}|12}}|/}}|{{#explode:{{Card data: {{{1}}}|1}}|/|0}}|{{Card data: {{{1}}}|1}}}}|'|}}|,|}}| |}}{{#if:{{#pos:{{Card data: {{{1}}}|7}}|Saga}}|I}} {{{1}}}] <!--Name-->{{#ifexist: Template:Card data: {{{1}}}= 3|<!---->{{!}} style="border-right:solid 0px;{{#if:{{#pos:{{{2}}}|cost}}3|<!---->{{Card data: {{{1}}}|5}}}}<!-- Cost-->{{#if:Tint{{#pos:{{{2}}}|type}}Rarity expand|<!---->&nbsp;'''·''' {{{{Card data: {{{1}}}|63}}s}}<!-- Type-->{{#ifeq:{{Card data: {{{1}}}|6}}|Creature|&nbsp;(" {{Card data: {{{1!}}}|8}})|<!---->{{#ifeq:nowrap|{{Card data: {URL|{{1}}}|6}}|SupportTrim|&nbsp;({{Card data: {{{1}}}|9}})}}}}}} <!--Name-->{{#if:{{#pos:{{{2!}}}|color}}|<!style="border---->&nbspleft:solid 0px;'''·''' {{Color Icons|{{Card data#if: {{{13|}}}|4}}}}}}<!-- Color-->{{#if:{{#pos:{{{2}}}|rarity}}|<!---->&nbsp;'''·''' Tint{{Rarityexpand|{{Card data: {{{1}}}|3}}}}}}<!-- Rarity-->}}" {{#if:{{#pos:{{{2}}}|set!}}|<!---->&nbsp;'''·''' {{SetSymbolnowrap|{{Card data: stats inline|{{{1}}}|{{{2}}}}}}}<!-- Set-->|{{#if:{{#pos:{{{2!}}}|legacy}}|<!-style="border--->{{#ifright:solid 0px;" {{#pos:{{StandardSetList!}}|{{Card data: nowrap|{{{1}}}|2}}}}||&nbsp;'''·''' [[File:Legacy-bg.png|x18px|link=Legacy|Legacy]]}}}}<!-- Legacy-->|{{!}} colspanstyle="5border-left:solid 0px;" {{!}} <small>{{nowrap|''Missing card data''}}</small>}}}}</includeonly>

Navigation menu