Difference between revisions of "Template:Pw restrict"

From mtgpq wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Explains planeswalker restrictions affecting an event.
+
Generally notifies about planeswalker restrictions in an event, or shows specific requirements in an event or node.
  
The parameters are in groups of 3:
+
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 parameter in a group is the name of the node a planeswalker is required for.
+
* The second parameter in a group is the name of the Planeswalker required for the node.
* The third 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
|Node 1
 
 
|Elspeth, Sun's Champion
 
|Elspeth, Sun's Champion
 
|Bolas HoD
 
|Bolas HoD
|Node 1
 
 
|Nicol Bolas, God-Pharaoh
 
|Nicol Bolas, God-Pharaoh
 
}}
 
}}
Line 23: Line 24:
  
 
Produces:
 
Produces:
 +
 +
{{Pw restrict}}
  
 
{{Pw restrict
 
{{Pw restrict
 
|Elspeth HoD
 
|Elspeth HoD
|Node 1 (top)
 
 
|Elspeth, Sun's Champion
 
|Elspeth, Sun's Champion
 
|Bolas HoD
 
|Bolas HoD
|Node 1 (top)
 
 
|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
| <small>''One or more nodes can only be played with a '''required Planeswalker'''.''</small><!--
+
{{#if:{{{1|}}}|
-->{{#if:{{{1|}}}|<br>
 
 
{{!}}-
 
{{!}}-
 
! {{{1}}}
 
! {{{1}}}
{{!}} {{{2}}}
+
{{!}} colspan="1" {{!}} [[{{Trim|{{{2}}}}}]]&nbsp; '''·''' &nbsp;{{Color Icons|{{PW data: {{{2}}}|7}}}}&nbsp; '''·''' &nbsp;<!--
{{!}} colspan="1" {{!}} [[{{Trim|{{{3}}}}}]]&nbsp; '''·''' &nbsp;{{Color Icons|{{PW data: {{{3}}}|7}}}}}}&nbsp; '''·''' &nbsp;<!--
+
-->{{Creatures|{{#explode: {{PW data: {{{2}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
-->{{Creatures|{{#explode: {{PW data: {{{3}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
+
-->{{Spells|{{#explode: {{PW data: {{{2}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
-->{{Spells|{{#explode: {{PW data: {{{3}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
+
-->{{Supports|{{#explode: {{PW data: {{{2}}}|9}}|,|2}}}}
-->{{Supports|{{#explode: {{PW data: {{{3}}}|9}}|,|2}}}}<!--
+
<!--
-->{{#if:{{{4|}}}|<br>
+
-->{{#if:{{{3|}}}|
 +
{{!}}-
 +
! {{{3}}}
 +
{{!}} colspan="1" {{!}} [[{{Trim|{{{4}}}}}]]&nbsp;  '''·''' &nbsp;{{Color Icons|{{PW data: {{{4}}}|7}}}}&nbsp; '''·''' &nbsp;<!--
 +
-->{{Creatures|{{#explode: {{PW data: {{{4}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
 +
-->{{Spells|{{#explode: {{PW data: {{{4}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
 +
-->{{Supports|{{#explode: {{PW data: {{{4}}}|9}}|,|2}}}}
 +
}}
 
{{!}}-
 
{{!}}-
! {{{4}}}
+
{{!}} colspan="2" {{!}} <small>''This node is restricted to one of the above '''required Planeswalkers''', depending on which version of the event is run.''</small>
{{!}} {{{5}}}
+
|
{{!}} colspan="1" {{!}} [[{{Trim|{{{6}}}}}]]&nbsp;  '''·''' &nbsp;{{Color Icons|{{PW data: {{{6}}}|7}}}}}}&nbsp; '''·''' &nbsp;<!--
+
{{!}} <small>''One or more nodes in this event can only be played with a '''required Planeswalker'''.''</small>}}
-->{{Creatures|{{#explode: {{PW data: {{{6}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Spells|{{#explode: {{PW data: {{{6}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Supports|{{#explode: {{PW data: {{{6}}}|9}}|,|2}}}}
 
 
|}</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:

Planeswalker requirement Planeswalker requirement One or more nodes in this event can only be played with a required Planeswalker.
Planeswalker requirement Planeswalker requirement
Elspeth HoD Elspeth, Sun's Champion  Elspeth, Sun's Champion  ·  White  ·  Creatures 6 · Spells 6 · Supports 5  
Bolas HoD Nicol Bolas, God-Pharaoh  Nicol Bolas, God-Pharaoh  ·  BlueBlackRed  ·  Creatures 5 · Spells 8 · Supports 5  
This node is restricted to one of the above required Planeswalkers, depending on which version of the event is run.