Difference between revisions of "Template:Color restrict"

From mtgpq wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Shows the planeswalker color restrictions on an event node.
+
Shows the planeswalker color restrictions on an event or event node.
  
 
The only parameter is a string of letters representing colors, from the set WUBRGC.
 
The only parameter is a string of letters representing colors, from the set WUBRGC.
Line 20: Line 20:
 
! {{Color Icons|{{{1}}}}} &nbsp;{{Colors expand|{{{1}}}}}
 
! {{Color Icons|{{{1}}}}} &nbsp;{{Colors expand|{{{1}}}}}
 
|-
 
|-
| colspan="2" | <small>''Only planeswalkers with affinity to '''{{Colors expand|{{{1}}}|or}}''' can be played on this node.''</small>
+
| colspan="2" | <small>''Only planeswalkers with affinity to '''{{Colors expand|{{{1}}}|or}}''' can be played.''</small>
 
|}</includeonly>
 
|}</includeonly>
  
 
[[Category:Event tip templates]]
 
[[Category:Event tip templates]]

Revision as of 03:42, 28 February 2019

Usage

Shows the planeswalker color restrictions on an event or event node.

The only parameter is a string of letters representing colors, from the set WUBRGC.

Example

The following shorthand:

{{Color restrict|WRG}}

Produces:

Color restriction Planeswalker color restriction WhiteRedGreen  White, Red, Green
Only planeswalkers with affinity to White, Red, or Green can be played.