Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 46: Line 46:
 
| label6  = {{#if:{{Event data: {{{1}}}|10}}|Specials}}
 
| label6  = {{#if:{{Event data: {{{1}}}|10}}|Specials}}
 
| data6  = {{#if:{{Event data: {{{1}}}|10}}|<!--
 
| data6  = {{#if:{{Event data: {{{1}}}|10}}|<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|color_restrict}}|[[File:event-color_restrict.png|x24px]] &nbsp;PW color-restricted<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|color_restrict}}|{{Event Icon|color_restrict}} &nbsp;PW color-restricted<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|locked_nodes}}|[[File:event-locked_nodes.png|x24px]] &nbsp; &nbsp;PW choice locked<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|locked_nodes}}|{{Event Icon|locked_nodes}} &nbsp; &nbsp;PW choice locked<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|pw_restrict}}|[[File:event-pw_restrict.png|x24px]] &nbsp;PW restricted<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|pw_restrict}}|{{Event Icon|pw_restrict}} &nbsp;PW restricted<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|boss_hp}}|[[File:event-boss_hp.png|x24px]] &nbsp;Boss Health event<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|boss_hp}}|{{Event Icon|boss_hp}} &nbsp;Boss Health event<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|duel_decks}}|[[File:event-duel_decks.png|x24px]] Duel Decks event<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|duel_decks}}|{{Event Icon|duel_decks}} Duel Decks event<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|perm_support}}|[[File:event-perm_support.png|x24px]] &nbsp;Perma-support in play<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|perm_support}}|{{Event Icon|perm_support}} &nbsp;Perma-support in play<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|special_rules}}|[[File:event-special_rules.png|x24px]] &nbsp;Special rules affect play<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|special_rules}}|{{Event Icon|special_rules}} &nbsp;Special rules affect play<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|bonus_cards}}|[[File:event-bonus_cards.png|x24px]] Bonus cards in hand<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|bonus_cards}}|{{Event Icon|bonus_cards}} Bonus cards in hand<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|enraged}}|[[File:event-enraged.png|x24px]] &nbsp;Enraged (x2 damage)<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|enraged}}|{{Event Icon|enraged}} &nbsp;Enraged (x2 damage)<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|supercharged}}|[[File:event-supercharged.png|x24px]] &nbsp;Supercharged (x2 mana)<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|supercharged}}|{{Event Icon|supercharged}} &nbsp;Supercharged (x2 mana)<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|legendary}}|[[File:event-legendary.png|x24px]] &nbsp;Legendary (x2 both)<br>}}}}
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|legendary}}|{{Event Icon|legendary}} &nbsp;Legendary (x2 both)<br>}}}}
 
| label7  = {{#if:{{Event data: {{{1}}}|11}}|Introduced in}}
 
| label7  = {{#if:{{Event data: {{{1}}}|11}}|Introduced in}}
 
| data7  = <!--
 
| data7  = <!--

Revision as of 06:36, 14 February 2019

Template usage

The only parameter is the event name. The event data is pulled from the associated event data template.

Example

This shorthand:

{{Infobox event|A World Reborn}}

Produces:

A World Reborn (AWR)
EventsStoryPlaneswalkersCardsGuides
AWorldReborn.png
Type PvE Legacy Coalition PvE Legacy Coalition
Rewards Progression rewards Progression
Coalition rewards Coalition placement
Nodes 2 (x3 sub-nodes)
Charges 2 initial charges
5 maximum charges
8h recharge time
Specials Permanent support  Perma-support in play
Bonus cards Bonus cards in hand
Introduced Dominaria DOM · May 2018 · v2.7
Portal:Events   (Infobox · Data)