Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 19: Line 19:
 
| headerstyle  = {{Infobox sec|header}}
 
| headerstyle  = {{Infobox sec|header}}
 
| labelstyle  = {{Infobox sec|label|width=30%}}
 
| labelstyle  = {{Infobox sec|label|width=30%}}
| title  = {{Portal icons}}
+
| title  = {{Portal icons|noicon=1}}
 
| above  = {{#explode:{{Event data: {{{1}}}|1}}|(|0}} {{#if:{{Event data: {{{1}}}|2}}|({{Event data: {{{1}}}|2}})}}
 
| above  = {{#explode:{{Event data: {{{1}}}|1}}|(|0}} {{#if:{{Event data: {{{1}}}|2}}|({{Event data: {{{1}}}|2}})}}
 
| image  = {{#if:{{Event data: {{{1}}}|15}}|[[File:{{Event data: {{{1}}}|15}}|250px]]}}
 
| image  = {{#if:{{Event data: {{{1}}}|15}}|[[File:{{Event data: {{{1}}}|15}}|250px]]}}

Revision as of 10:19, 6 January 2020

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)