Difference between revisions of "Template:Card stats icons"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Usage== Generate icons showing information about a card. The first parameter is the card name. ==Example== The following shorthand: <pre><nowiki> {{Card stats...")
 
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
  
 
{{Card stats icons|Storm the Vault}}
 
{{Card stats icons|Storm the Vault}}
 +
 +
{{Card stats icons|Beanstalk Giant//Fertile Footsteps}}
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 23: Line 25:
  
 
{{Card stats icons|Storm the Vault}}
 
{{Card stats icons|Storm the Vault}}
 +
 +
{{Card stats icons|Beanstalk Giant//Fertile Footsteps}}
  
  
 
</noinclude><includeonly>{{#if:{{{1|}}}|<!--
 
</noinclude><includeonly>{{#if:{{{1|}}}|<!--
-->{{Rarity|{{Card data: {{{1}}}|3}}}}&nbsp;<!--
+
-->{{Rarity|{{Card data: {{{1}}}|3}}}}&nbsp;<!--         rarity
-->{{{{Card data: {{{1}}}|6}}s}}&nbsp;<!--
+
-->{{{{#explode:{{Card data: {{{1}}}|6}}|,|0}}s}}<!--    type
-->{{Color Icons|{{Card data: {{{1}}}|4}}}}&nbsp;<!--
+
-->{{#if:{{#pos:{{Card data: {{{1}}}|6}}|,}}|//{{{{#explode:{{Card data: {{{1}}}|6}}|,|1}}s}}}}&nbsp;<!--
 +
-->{{Color Icons|{{Card data: {{{1}}}|4}}|13}}&nbsp;<!-- colour
 
-->}}</includeonly>
 
-->}}</includeonly>

Latest revision as of 02:15, 23 February 2020

Usage

Generate icons showing information about a card.

The first parameter is the card name.

Example

The following shorthand:

{{Card stats icons|Zetalpa, Primal Dawn}}

{{Card stats icons|Crush of Tentacles}}

{{Card stats icons|Storm the Vault}}

{{Card stats icons|Beanstalk Giant//Fertile Footsteps}}

Produces:

Mythic Creatures White 

Mythic Spells Blue 

Rare Supports BlueRed 

Mythic Creatures//Spells Green