Difference between revisions of "Template:Block restrict icons"

From mtgpq wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Show the icons of the sets which may be used in a Block restricted event.
+
Show the icons of the sets (up to 12) which may be used in a Block restricted event.
  
 
The first parameter is the name of the event to show block restriction icons for.
 
The first parameter is the name of the event to show block restriction icons for.
Line 24: Line 24:
 
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|6}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|6}}|{{{2|18}}}}}}}<!--
 
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|6}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|6}}|{{{2|18}}}}}}}<!--
 
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|7}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|7}}|{{{2|18}}}}}}}<!--
 
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|7}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|7}}|{{{2|18}}}}}}}<!--
 +
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|8}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|8}}|{{{2|18}}}}}}}<!--
 +
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|9}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|9}}|{{{2|18}}}}}}}<!--
 +
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|10}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|10}}|{{{2|18}}}}}}}<!--
 +
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|11}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|11}}|{{{2|18}}}}}}}<!--
 
--></includeonly>
 
--></includeonly>

Revision as of 10:13, 2 June 2021

Usage

Show the icons of the sets (up to 12) which may be used in a Block restricted event.

The first parameter is the name of the event to show block restriction icons for.

A second optional parameter is the height in pixels at which to display the icons. (The default is 18px.)

Example

{{Block restrict icons|Seize the Day|30}}

Produces:

OriginsFrom the Vault: OdysseyFrom the Vault: TormentFrom the Vault: Judgment