Difference between revisions of "Template:Deck List Row"

From mtgpq wiki
Jump to: navigation, search
Line 14: Line 14:
 
Produces this content:
 
Produces this content:
  
{{Deck List Row|Champion of Wits|creature}}
+
{{Deck List Row|Champion of Wits|Creature}}
  
 
</noinclude><includeonly>|-
 
</noinclude><includeonly>|-
  
|{{#ifeq:{{{2}}}|creature|[[File:Creature-Icon.png|{{{size|x16px}}}]]|<!--
+
|{{#ifeq:{{lc:{{{2}}}}}|creature|[[File:Creature-Icon.png|{{{size|x16px}}}]]|<!--
-->{{#ifeq:{{{2}}}|spell|[[File:Spell-Icon.png|{{{size|x16px}}}]]|<!--
+
-->{{#ifeq:{{lc:{{{2}}}}}|spell|[[File:Spell-Icon.png|{{{size|x16px}}}]]|<!--
-->{{#ifeq:{{{2}}}|support|[[File:Support-Icon.png|{{{size|x16px}}}]]}}}}}}<!--
+
-->{{#ifeq:{{lc:{{{2}}}}}|support|[[File:Support-Icon.png|{{{size|x16px}}}]]}}}}}}<!--
 
--> &nbsp;[[{{{1|(unknown card)}}}]]</includeonly>
 
--> &nbsp;[[{{{1|(unknown card)}}}]]</includeonly>

Revision as of 11:24, 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