Difference between revisions of "Template:Event Icon"

From mtgpq wiki
Jump to: navigation, search
Line 37: Line 37:
 
| {{Event Icon|legendary|32}}
 
| {{Event Icon|legendary|32}}
 
|}
 
|}
 
 
  
 
[[Category:Symbol templates]]
 
[[Category:Symbol templates]]
</noinclude><includeonly>[[File:event-{{{1}}}.png|{{#if:{{{2|}}}|x{{{2}}}px|x24px}}|link={{{1}}}|{{{1}}}]]</includeonly>
+
</noinclude><includeonly>[[File:event-{{{1}}}.png|{{#if:{{{2|}}}|x{{{2}}}px|x24px}}|link={{{1}}}|
 +
{{#switch:{{{1}}}
 +
|color_restrict = Color restriction
 +
|locked_nodes = Locked nodes
 +
|pw_restrict = Planeswalker requirement
 +
|duel_decks = Duel Decks event
 +
|boss_hp = Boss Health event
 +
|perm_support = Permanent support
 +
|special_rules = Ongoing special rules
 +
|bonus_cards = Bonus cards
 +
|enraged = Enraged (2x damage)
 +
|supercharged = Supercharged (2x mana)
 +
|legendary = Legendary (2x damage and mana)
 +
|{{{1}}}
 +
}}]]</includeonly>

Revision as of 01:04, 15 February 2019

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)