Difference between revisions of "Template:Event Icon"
(2 intermediate revisions by the same user not shown) | |||
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>{{Inline|[[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 (bonus mana) | ||
+ | |legendary = Legendary (2x damage and bonus mana) | ||
+ | |{{{1}}} | ||
+ | }}]]}}</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).