Open main menu

mtgpq wiki β

Changes

Template:Pw restrict

1,416 bytes added, 11:54, 26 October 2019
no edit summary
Generally notifies about planeswalker restrictions in an event, or shows specific requirements in an event or node.
This template may be used in three different modes.
'''First mode'''
If no parameters are given, a general notification is produced.
'''Second mode'''Otherwise, if a single parameter is given, the parameter is the name of a Planeswalker, and the result is a notification that that planeswalker is required. '''Third mode'''Otherwise, an even number of parameters must be given, and the parameters are in groups of 2:* The first parameter in a group is the name of the situation in which the first planeswalker Planeswalker is required for a node.
* The second parameter in a group is the name of the Planeswalker required for the node.
<pre><nowiki>
{{Pw restrict}}
 
{{Pw restrict|Arlinn Kord}}
{{Pw restrict
{{Pw restrict}}
 
{{Pw restrict|Arlinn Kord}}
{{Pw restrict
{{#if:{{{1|}}}|
{{!}}-
{{#if:{{{2|}}}|
! {{{1}}}
{{!}} colspan="1" {{!}} <!---->{{#if: {{PW data: {{{2}}}|3}}|[[File:{{PW data: {{{2}}}|3}}|x26px|link={{Trim|{{{2}}}}}|{{{2}}}]]|&nbsp; &nbsp; &nbsp; &thinsp;}} &nbsp;[[{{Trim|{{{2}}}}}]]<!---->&nbsp; '''·''' &nbsp;{{Color Icons|{{PW data: {{{2}}}|7}}}}&nbsp; '''·''' &nbsp;<!--
-->{{Creatures|{{#explode: {{PW data: {{{2}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
-->{{Spells|{{#explode: {{PW data: {{{2}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
{{!}}-
! {{{3}}}
{{!}} colspan="1" {{!}} <!---->{{#if: {{PW data: {{{4}}}|3}}|[[File:{{PW data: {{{4}}}|3}}|x26px|link={{Trim|{{{4}}}}}|{{{4}}}]]|&nbsp; &nbsp; &nbsp; &thinsp;}} &nbsp;[[{{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;<!--
{{!}}-
! {{{5}}}
{{!}} colspan="1" {{!}} <!---->{{#if: {{PW data: {{{6}}}|3}}|[[File:{{PW data: {{{6}}}|3}}|x26px|link={{Trim|{{{6}}}}}|{{{6}}}]]|&nbsp; &nbsp; &nbsp; &thinsp;}} &nbsp;[[{{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}}}}
}}
|
{{!}} colspan="1" {{!}}<!--
-->{{#if: {{PW data: {{{1}}}|3}}|[[File:{{PW data: {{{1}}}|3}}|x26px|link={{{1}}}|{{{1}}}]]|&nbsp; &nbsp; &nbsp; &thinsp;}} &nbsp;[[{{{1}}}]]<!--
-->&nbsp; '''·''' &nbsp;{{Color Icons|{{PW data: {{{1}}}|7}}}}&nbsp; '''·''' &nbsp;<!--
-->{{Creatures|{{#explode: {{PW data: {{{1}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
-->{{Spells|{{#explode: {{PW data: {{{1}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
-->{{Supports|{{#explode: {{PW data: {{{1}}}|9}}|,|2}}}}
}}
{{!}}-
{{!}} colspan="2" {{!}} <small>{{#if:{{{2|}}}| ''This node is restricted to one of the above '''required Planeswalkers''', depending on which version of the event is run.''| ''This node is restricted to the above '''required Planeswalker'''.''}}</small>
|
{{!}} <small>''One or more nodes in this event can only be played with a '''required Planeswalker'''.''</small>}}
|}</includeonly>