Difference between revisions of "Template:Block restrict icons"

From mtgpq wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Show the icons of the sets (up to 12) which may be used in a Block restricted event.
+
Show the icons of the sets (up to 15) 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 9: Line 9:
 
==Example==
 
==Example==
 
<pre><nowiki>
 
<pre><nowiki>
{{Block restrict icons|Seize the Day|30}}
+
{{Block restrict icons|Emrakul's Corruption|30}}
 
</nowiki></pre>
 
</nowiki></pre>
 
Produces:
 
Produces:
  
{{Block restrict icons|Seize the Day|30}}
+
{{Block restrict icons|Emrakul's Corruption|30}}
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
Line 28: Line 28:
 
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|10}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|10}}|{{{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}}}}}}}<!--
 
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|11}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|11}}|{{{2|18}}}}}}}<!--
 +
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|12}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|12}}|{{{2|18}}}}}}}<!--
 +
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|13}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|13}}|{{{2|18}}}}}}}<!--
 +
-->{{#if:{{#explode:{{Event data: {{{1}}}|18}}|,|14}}|{{SetSymbol|{{#explode:{{Event data: {{{1}}}|18}}|,|14}}|{{{2|18}}}}}}}<!--
 
--></includeonly>
 
--></includeonly>

Latest revision as of 05:48, 8 June 2021

Usage

Show the icons of the sets (up to 15) 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|Emrakul's Corruption|30}}

Produces: