Difference between revisions of "Template:Event Icon"
(Created page with "<noinclude> == 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...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
== Examples == | == Examples == | ||
| − | {| border="0" width=" | + | {| border="0" width="1000" |
|- style="text-align: center;" | |- style="text-align: center;" | ||
| width="25%" | <code><nowiki>{{Event Icon|color_restrict}}</nowiki></code> | | width="25%" | <code><nowiki>{{Event Icon|color_restrict}}</nowiki></code> | ||
| 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).