Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 57: Line 57:
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|special_rules}}|{{Event Icon|special_rules}} &nbsp;Special rules affect play<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|special_rules}}|{{Event Icon|special_rules}} &nbsp;Special rules affect play<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|bonus_cards}}|{{Event Icon|bonus_cards}} Bonus cards in hand<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|bonus_cards}}|{{Event Icon|bonus_cards}} Bonus cards in hand<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|starting_cards}}|{{Event Icon|starting_cards}} Begin with cards in play<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|enraged}}|{{Event Icon|enraged}} &nbsp;Enraged (x2 damage)<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|enraged}}|{{Event Icon|enraged}} &nbsp;Enraged (x2 damage)<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|supercharged}}|{{Event Icon|supercharged}} &nbsp;Supercharged (x2 mana)<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|supercharged}}|{{Event Icon|supercharged}} &nbsp;Supercharged (x2 mana)<br>}}<!--

Revision as of 04:02, 14 December 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)