Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 17: Line 17:
 
| headerstyle  = {{Infobox sec|header}}
 
| headerstyle  = {{Infobox sec|header}}
 
| labelstyle  = {{Infobox sec|label|width=30%}}
 
| labelstyle  = {{Infobox sec|label|width=30%}}
| above  = {{Event data: {{{1}}}|1}}
+
| above  = {{Event data: {{{1}}}|1}} {{#if:{{Event data: {{{1}}}|2}}|({{Event data: {{{1}}}|2}})}}
 
| image  = {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}
 
| image  = {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}
| label1  = {{#if:{{Event data: {{{1}}}|2}}|Abbreviation}}
 
| data1  = {{#if:{{Event data: {{{1}}}|2}}|{{Event data: {{{1}}}|2}}}}
 
 
| label2  = {{#if:{{Event data: {{{1}}}|3}}|Type}}
 
| label2  = {{#if:{{Event data: {{{1}}}|3}}|Type}}
 
| data2  = {{#if:{{Event data: {{{1}}}|3}}|<!--
 
| data2  = {{#if:{{Event data: {{{1}}}|3}}|<!--

Revision as of 03:16, 14 February 2019

Template usage

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

Example

{{Infobox event|A World Reborn}}
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)