Difference between revisions of "Template:Pw restrict"
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
| − | + | Generally notifies about planeswalker restrictions in an event, or shows specific requirements in an event or node. | |
| − | + | If no parameters are given, a general notification is produced. | |
| + | |||
| + | Otherwise, the parameters are in groups of 2: | ||
* The first parameter in a group is the name of the situation in which the first planeswalker is required for a node. | * The first parameter in a group is the name of the situation in which the first planeswalker is required for a node. | ||
| − | * The second | + | * The second parameter in a group is the name of the Planeswalker required for the node. |
| − | |||
==Example== | ==Example== | ||
| Line 12: | Line 13: | ||
The following shorthand: | The following shorthand: | ||
<pre><nowiki> | <pre><nowiki> | ||
| + | {{Pw restrict}} | ||
| + | |||
{{Pw restrict | {{Pw restrict | ||
|Elspeth HoD | |Elspeth HoD | ||
| − | |||
|Elspeth, Sun's Champion | |Elspeth, Sun's Champion | ||
|Bolas HoD | |Bolas HoD | ||
| − | |||
|Nicol Bolas, God-Pharaoh | |Nicol Bolas, God-Pharaoh | ||
}} | }} | ||
| Line 23: | Line 24: | ||
Produces: | Produces: | ||
| + | |||
| + | {{Pw restrict}} | ||
{{Pw restrict | {{Pw restrict | ||
|Elspeth HoD | |Elspeth HoD | ||
| − | |||
|Elspeth, Sun's Champion | |Elspeth, Sun's Champion | ||
|Bolas HoD | |Bolas HoD | ||
| − | |||
|Nicol Bolas, God-Pharaoh | |Nicol Bolas, God-Pharaoh | ||
}} | }} | ||
| Line 37: | Line 38: | ||
</noinclude><includeonly>{| class="wikitable" | </noinclude><includeonly>{| class="wikitable" | ||
! style="text-align:left" colspan="2" | {{Event Icon|pw_restrict}} Planeswalker requirement | ! style="text-align:left" colspan="2" | {{Event Icon|pw_restrict}} Planeswalker requirement | ||
| − | + | {{#if:{{{1|}}}| | |
| − | |||
{{!}}- | {{!}}- | ||
! {{{1}}} | ! {{{1}}} | ||
| − | + | {{!}} colspan="1" {{!}} [[{{Trim|{{{2}}}}}]] '''·''' {{Color Icons|{{PW data: {{{2}}}|7}}}} '''·''' <!-- | |
| − | {{!}} colspan="1" {{!}} [[{{Trim|{{{ | + | -->{{Creatures|{{#explode: {{PW data: {{{2}}}|9}}|,|0}}}} '''·''' <!-- |
| − | -->{{Creatures|{{#explode: {{PW data: {{{ | + | -->{{Spells|{{#explode: {{PW data: {{{2}}}|9}}|,|1}}}} '''·''' <!-- |
| − | -->{{Spells|{{#explode: {{PW data: {{{ | + | -->{{Supports|{{#explode: {{PW data: {{{2}}}|9}}|,|2}}}} |
| − | -->{{Supports|{{#explode: {{PW data: {{{ | + | <!-- |
| − | -->{{#if:{{{4|}}}|< | + | -->{{#if:{{{3|}}}| |
| + | {{!}}- | ||
| + | ! {{{3}}} | ||
| + | {{!}} colspan="1" {{!}} [[{{Trim|{{{4}}}}}]] '''·''' {{Color Icons|{{PW data: {{{4}}}|7}}}} '''·''' <!-- | ||
| + | -->{{Creatures|{{#explode: {{PW data: {{{4}}}|9}}|,|0}}}} '''·''' <!-- | ||
| + | -->{{Spells|{{#explode: {{PW data: {{{4}}}|9}}|,|1}}}} '''·''' <!-- | ||
| + | -->{{Supports|{{#explode: {{PW data: {{{4}}}|9}}|,|2}}}} | ||
| + | }} | ||
{{!}}- | {{!}}- | ||
| − | + | {{!}} colspan="2" {{!}} <small>''This node is restricted to one of the above '''required Planeswalkers''', depending on which version of the event is run.''</small> | |
| − | + | | | |
| − | {{!}} colspan=" | + | {{!}} <small>''One or more nodes in this event can only be played with a '''required Planeswalker'''.''</small>}} |
| − | |||
| − | |||
| − | |||
|}</includeonly> | |}</includeonly> | ||
Revision as of 06:08, 16 March 2019
Usage
Generally notifies about planeswalker restrictions in an event, or shows specific requirements in an event or node.
If no parameters are given, a general notification is produced.
Otherwise, the parameters are in groups of 2:
- The first parameter in a group is the name of the situation in which the first planeswalker is required for a node.
- The second parameter in a group is the name of the Planeswalker required for the node.
Example
The following shorthand:
{{Pw restrict}}
{{Pw restrict
|Elspeth HoD
|Elspeth, Sun's Champion
|Bolas HoD
|Nicol Bolas, God-Pharaoh
}}
Produces:
| One or more nodes in this event can only be played with a required Planeswalker. | ||
| Elspeth HoD | |
|---|---|
| Bolas HoD | |
| This node is restricted to one of the above required Planeswalkers, depending on which version of the event is run. | |