Open main menu

mtgpq wiki β

Changes

Template:Color restrict overview

21 bytes added, 03:38, 28 February 2019
no edit summary
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 Zero to 5 parameters are accepted.
==Example==
The following shorthand:
<pre><nowiki>
{{Color restrict_overviewrestrict overview|W|G|R|U}}
</nowiki></pre>
Produces:
{{Color restrict_overview|W|G|R|Urestrict overview}}
</noinclude><includeonly>{| class="wikitable"
! style="text-align:left" | {{Event Icon|color_restrict}} Color restriction
{{#if:{{{1| }}}|{{!}} {{#if:{{{1|}}}|'''1:''' {{Color Icons|{{{1}}}}}}}<!--
-->{{#if:{{{2|}}}|'''&nbsp;· &nbsp;2:''' {{Color Icons|{{{2}}}}}}}<!--
-->{{#if:{{{3|}}}|'''&nbsp;· &nbsp;3:''' {{Color Icons|{{{3}}}}}}}<!--
-->{{#if:{{{4|}}}|'''&nbsp;· &nbsp;4:''' {{Color Icons|{{{4}}}}}}}<!--
-->{{#if:{{{5|}}}|'''&nbsp;· &nbsp;5:''' {{Color Icons|{{{5}}}}}}}
|{{!}}-}}
| colspan="2" | <small>''One or more nodes in this event can only be played by Planeswalkers of a specified '''color'''.''</small>
|}</includeonly>
[[Category:Event tip templates]]