Difference between revisions of "Template:Pw restrict"

From mtgpq wiki
Jump to: navigation, search
Line 20: Line 20:
 
|Bolas HoD
 
|Bolas HoD
 
|Nicol Bolas, God-Pharaoh
 
|Nicol Bolas, God-Pharaoh
 +
|Samut HoD
 +
|Samut, the Tested
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 32: Line 34:
 
|Bolas HoD
 
|Bolas HoD
 
|Nicol Bolas, God-Pharaoh
 
|Nicol Bolas, God-Pharaoh
 +
|Samut HoD
 +
|Samut, the Tested
 
}}
 
}}
  
Line 44: Line 48:
 
-->{{Creatures|{{#explode: {{PW data: {{{2}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Creatures|{{#explode: {{PW data: {{{2}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Spells|{{#explode: {{PW data: {{{2}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Spells|{{#explode: {{PW data: {{{2}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
-->{{Supports|{{#explode: {{PW data: {{{2}}}|9}}|,|2}}}}
+
-->{{Supports|{{#explode: {{PW data: {{{2}}}|9}}|,|2}}}}<!--
<!--
+
-->{{#if:{{{3|}}}|<br>
-->{{#if:{{{3|}}}|
 
 
{{!}}-
 
{{!}}-
 
! {{{3}}}
 
! {{{3}}}
Line 53: Line 56:
 
-->{{Spells|{{#explode: {{PW data: {{{4}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Spells|{{#explode: {{PW data: {{{4}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Supports|{{#explode: {{PW data: {{{4}}}|9}}|,|2}}}}
 
-->{{Supports|{{#explode: {{PW data: {{{4}}}|9}}|,|2}}}}
 +
}}<!--
 +
-->{{#if:{{{5|}}}|<br>
 +
{{!}}-
 +
! {{{5}}}
 +
{{!}} colspan="1" {{!}} [[{{Trim|{{{6}}}}}]]&nbsp;  '''·''' &nbsp;{{Color Icons|{{PW data: {{{6}}}|7}}}}&nbsp; '''·''' &nbsp;<!--
 +
-->{{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}}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-

Revision as of 05:41, 17 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
|Samut HoD
|Samut, the Tested
}}

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  
Samut HoD Samut, the Tested  Samut, the Tested  ·  RedGreen  ·  Creatures 10 · Spells 4 · Supports 4  
This node is restricted to one of the above required Planeswalkers, depending on which version of the event is run.