Difference between revisions of "Template:Event Icon"

From mtgpq wiki
Jump to: navigation, search
 
Line 39: Line 39:
  
 
[[Category:Symbol templates]]
 
[[Category:Symbol templates]]
</noinclude><includeonly>[[File:event-{{{1}}}.png|{{#if:{{{2|}}}|x{{{2}}}px|x24px}}|link={{{1}}}|
+
</noinclude><includeonly>{{Inline|[[File:event-{{{1}}}.png|{{#if:{{{2|}}}|x{{{2}}}px|x24px}}|link={{{1}}}|
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
 
|color_restrict = Color restriction
 
|color_restrict = Color restriction
Line 53: Line 53:
 
|legendary = Legendary (2x damage and bonus mana)
 
|legendary = Legendary (2x damage and bonus mana)
 
|{{{1}}}
 
|{{{1}}}
}}]]</includeonly>
+
}}]]}}</includeonly>

Latest revision as of 11:41, 28 April 2020

Usage

This template produces a small icon representing a special feature of an event.

  • The first parameter is the name of the special feature.
  • The second parameter (optional) is the height of the icon (default: 24).

Examples

{{Event Icon|color_restrict}} {{Event Icon|locked_nodes}} {{Event Icon|pw_restrict}} {{Event Icon|duel_decks}}
Color restriction Locked nodes Planeswalker requirement Duel Decks event
{{Event Icon|boss_hp}} {{Event Icon|perm_support}} {{Event Icon|special_rules}} {{Event Icon|bonus_cards}}
Boss Health event Permanent support Ongoing special rules Bonus cards
{{Event Icon|enraged|16}} {{Event Icon|supercharged|24}} {{Event Icon|legendary|32}}
Enraged (2x damage) Supercharged (bonus mana) Legendary (2x damage and bonus mana)