Difference between revisions of "Template:Color restrict overview"
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
Gives an overview of the planeswalker color restrictions for a whole event. | 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. | + | Each parameter is a string of letters representing colors, from the set WUBRGC. The nth parameter is the color restriction for the nth node. Zero to 5 parameters are accepted. |
==Example== | ==Example== | ||
Line 9: | Line 9: | ||
The following shorthand: | The following shorthand: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{Color | + | {{Color restrict overview|W|G|R|U}} |
</nowiki></pre> | </nowiki></pre> | ||
Produces: | Produces: | ||
− | {{Color | + | {{Color restrict overview|W|G|R|U}} |
</noinclude><includeonly>{| class="wikitable" | </noinclude><includeonly>{| class="wikitable" | ||
− | ! style="text-align:left" | {{Event Icon|color_restrict}} | + | ! style="text-align:left" | {{Event Icon|color_restrict}} Color restriction |
− | | {{#if:{{{1|}}}|'''1:''' {{Color Icons|{{{1}}}}}}}<!-- | + | {{#if:{{{1|}}}| |
+ | {{!}} {{#if:{{{1|}}}|'''1:''' {{Color Icons|{{{1}}}}}}}<!-- | ||
-->{{#if:{{{2|}}}|''' · 2:''' {{Color Icons|{{{2}}}}}}}<!-- | -->{{#if:{{{2|}}}|''' · 2:''' {{Color Icons|{{{2}}}}}}}<!-- | ||
-->{{#if:{{{3|}}}|''' · 3:''' {{Color Icons|{{{3}}}}}}}<!-- | -->{{#if:{{{3|}}}|''' · 3:''' {{Color Icons|{{{3}}}}}}}<!-- | ||
-->{{#if:{{{4|}}}|''' · 4:''' {{Color Icons|{{{4}}}}}}}<!-- | -->{{#if:{{{4|}}}|''' · 4:''' {{Color Icons|{{{4}}}}}}}<!-- | ||
-->{{#if:{{{5|}}}|''' · 5:''' {{Color Icons|{{{5}}}}}}} | -->{{#if:{{{5|}}}|''' · 5:''' {{Color Icons|{{{5}}}}}}} | ||
− | + | {{!}}- | |
− | | colspan="2" | <small>'' | + | }} |
+ | | colspan="2" | <small>''One or more nodes in this event can only be played by Planeswalkers of a specified '''color'''.''</small> | ||
|}</includeonly> | |}</includeonly> | ||
[[Category:Event tip templates]] | [[Category:Event tip templates]] |
Latest revision as of 03:38, 28 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. Zero to 5 parameters are accepted.
Example
The following shorthand:
{{Color restrict overview|W|G|R|U}}
Produces:
Color restriction | 1: · 2: · 3: · 4: |
---|---|
One or more nodes in this event can only be played by Planeswalkers of a specified color. |