Difference between revisions of "Template:Card stats inline"
Line 36: | Line 36: | ||
-->{{#if:{{#pos:{{Card data: {{{1}}}|6}}|Support}}| ({{Card data: {{{1}}}|9}})}}}}}}<!-- | -->{{#if:{{#pos:{{Card data: {{{1}}}|6}}|Support}}| ({{Card data: {{{1}}}|9}})}}}}}}<!-- | ||
-->{{#if:{{#pos:{{{2}}}|color}}|<!-- | -->{{#if:{{#pos:{{{2}}}|color}}|<!-- | ||
− | --> '''·''' {{Color Icons|{{Card data: {{{1}}}|4}}}}}}<!-- | + | --> '''·''' {{Color Icons|{{Card data: {{{1}}}|4}}|skipnowrap=1}}}}<!-- Color |
-->{{#if:{{#pos:{{{2}}}|rarity}}|<!-- | -->{{#if:{{#pos:{{{2}}}|rarity}}|<!-- | ||
--> '''·''' {{Rarity|{{Card data: {{{1}}}|3}}}}}}<!-- Rarity | --> '''·''' {{Rarity|{{Card data: {{{1}}}|3}}}}}}<!-- Rarity |
Latest revision as of 10:15, 13 May 2020
Usage
Produces a visual display of card stats in inline text.
The first parameter is the card name.
The second parameter is a comma-separated list of fields indicate the 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
- color - The color of the card
- rarity - The rarity of the card
- set - The set containing the card
- legacy - A legacy banner if the card is from a legacy set
Example
The following shorthand:
{{Card stats inline|Zetalpa, Primal Dawn|cost,type,color,rarity,set,legacy}} {{Card stats inline|Beanstalk Giant//Fertile Footsteps|cost,type,color,rarity,set,legacy}}
Produces: