Difference between revisions of "Template:Deck List Row"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> A row in Template:Deck_List. == Parameters == # A card name # The card type (creature, spell, or support) == Example == This code: <pre><nowiki> {{Deck List...")
 
Line 17: Line 17:
  
 
</noinclude><includeonly>|-
 
</noinclude><includeonly>|-
|[[{{{1|(unknown card)}}}]]
+
 
|{{{2|(unknown)}}}</includeonly>
+
|{{#ifeq:{{{2}}}|creature|[[File:Creature-Icon.png|{{{size|x16px}}}]]|<!--
 +
-->{{#ifeq:{{{2}}}|spell|[[File:Spell-Icon.png|{{{size|x16px}}}]]|<!--
 +
-->{{#ifeq:{{{2}}}|support|[[File:Support-Icon.png|{{{size|x16px}}}]]}}}}}}<!--
 +
--> [[{{{1|(unknown card)}}}]]</includeonly>

Revision as of 11:15, 7 February 2019

A row in Template:Deck_List.

Parameters

  1. A card name
  2. The card type (creature, spell, or support)

Example

This code:

{{Deck List Row|Champion of Wits|creature}}

Produces this content:

  |- | Champion of Wits