Difference between revisions of "Template:Color restrict overview"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Usage== Gives an overview of the planeswalker color restrictions for a whole event. Each parameter is a string of letters representing colors, from the set WUBR...")
 
Line 17: Line 17:
  
 
</noinclude><includeonly>{| class="wikitable"
 
</noinclude><includeonly>{| class="wikitable"
! Planeswalker color restriction {{Event Icon|color_restrict}}
+
! style="text-align:left" | {{Event Icon|color_restrict}} Planeswalker color restriction
! {{#if:{{{1|}}}|'''1:''' {{Color Icons|{{{1}}}}}}}<!--
+
| {{#if:{{{1|}}}|'''1:''' {{Color Icons|{{{1}}}}}}}<!--
 
-->{{#if:{{{2|}}}|'''&nbsp;· &nbsp;2:'''  {{Color Icons|{{{2}}}}}}}<!--
 
-->{{#if:{{{2|}}}|'''&nbsp;· &nbsp;2:'''  {{Color Icons|{{{2}}}}}}}<!--
 
-->{{#if:{{{3|}}}|'''&nbsp;· &nbsp;3:'''  {{Color Icons|{{{3}}}}}}}<!--
 
-->{{#if:{{{3|}}}|'''&nbsp;· &nbsp;3:'''  {{Color Icons|{{{3}}}}}}}<!--

Revision as of 05:44, 24 February 2019

Usage

Gives an overview of the planeswalker color restrictions for a whole event.

Each parameter is a string of letters representing colors, from the set WUBRGC. The nth parameter is the color restriction for the nth node. Up to 5 parameters are accepted.

Example

The following shorthand:

{{Color restrict_overview|W|G|R|U}}

Produces:

Color restriction Color restriction 1: White ·  2: Green ·  3: Red ·  4: Blue
One or more nodes in this event can only be played by Planeswalkers of a specified color.