Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 38: Line 38:
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=#Icon descriptions]] Coalition placement<br>}}}}
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=#Icon descriptions]] Coalition placement<br>}}}}
 
| label3  = {{#if:{{Event data: {{{1}}}|5}}|Entry fee}}
 
| label3  = {{#if:{{Event data: {{{1}}}|5}}|Entry fee}}
| data3  = {{#if:{{Event data: {{{1}}}|5}}|{{crystals|{{Event data: {{{1}}}|5}}}}}}
+
| data3  = {{#if:{{Event data: {{{1}}}|5}}|'''{{crystals|{{Event data: {{{1}}}|5}}}}'''}}
 
| label4  = {{#if:{{Event data: {{{1}}}|6}}|Nodes}}
 
| label4  = {{#if:{{Event data: {{{1}}}|6}}|Nodes}}
 
| data4  = {{#if:{{Event data: {{{1}}}|6}}|'''{{Event data: {{{1}}}|6}}'''}}<!--
 
| data4  = {{#if:{{Event data: {{{1}}}|6}}|'''{{Event data: {{{1}}}|6}}'''}}<!--

Revision as of 07:45, 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)