Difference between revisions of "Template:Color restrict"
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
− | + | Generally notifies about color restrictions on an event, or shows specific planeswalker color restrictions on an event or event node. | |
− | + | If no parameters are given, a general notification is produced. | |
+ | |||
+ | Otherwise, the only parameter is a string of letters representing colors, from the set WUBRGC. | ||
==Example== | ==Example== | ||
Line 9: | Line 11: | ||
The following shorthand: | The following shorthand: | ||
<pre><nowiki> | <pre><nowiki> | ||
+ | {{Color restrict}} | ||
+ | |||
{{Color restrict|WRG}} | {{Color restrict|WRG}} | ||
</nowiki></pre> | </nowiki></pre> | ||
Produces: | Produces: | ||
+ | {{Color restrict}} | ||
{{Color restrict|WRG}} | {{Color restrict|WRG}} | ||
</noinclude><includeonly>{| class="wikitable" | </noinclude><includeonly>{| class="wikitable" | ||
− | ! {{Event Icon|color_restrict}} Planeswalker color restriction | + | ! style="text-align:left" | {{Event Icon|color_restrict}} {{#if:{{{1|}}}|Planeswalker color restriction |
! {{Color Icons|{{{1}}}}} {{Colors expand|{{{1}}}}} | ! {{Color Icons|{{{1}}}}} {{Colors expand|{{{1}}}}} | ||
− | + | {{!}}- | |
− | + | {{!}} colspan="2" {{!}} <small>''Only planeswalkers with affinity to '''{{Colors expand|{{{1}}}|or}}''' can be played.''</small> |Color restriction | |
+ | {{!}} <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]] |
Revision as of 04:24, 28 February 2019
Usage
Generally notifies about color restrictions on an event, or shows specific planeswalker color restrictions on an event or event node.
If no parameters are given, a general notification is produced.
Otherwise, the only parameter is a string of letters representing colors, from the set WUBRGC.
Example
The following shorthand:
{{Color restrict}} {{Color restrict|WRG}}
Produces:
Color restriction | One or more nodes in this event can only be played by Planeswalkers of a specified color. |
---|
Planeswalker color restriction | White, Red, Green |
---|---|
Only planeswalkers with affinity to White, Red, or Green can be played. |