Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 49: Line 49:
 
| label6  = {{#if:{{Event data: {{{1}}}|11}}|Specials}}
 
| label6  = {{#if:{{Event data: {{{1}}}|11}}|Specials}}
 
| data6  = {{#if:{{Event data: {{{1}}}|11}}|<!--
 
| data6  = {{#if:{{Event data: {{{1}}}|11}}|<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|duel_decks}}|{{Event Icon|duel_decks}} Duel Decks event<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|{{Event Icon|color_restrict}} &nbsp;PW color-restricted<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|{{Event Icon|color_restrict}} &nbsp;PW color-restricted<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|{{Event Icon|locked_nodes}} &nbsp; &nbsp;PW choice locked<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|{{Event Icon|locked_nodes}} &nbsp; &nbsp;PW choice locked<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|pw_restrict}}|{{Event Icon|pw_restrict}} &nbsp;PW restricted<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|pw_restrict}}|{{Event Icon|pw_restrict}} &nbsp;PW restricted<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|{{Event Icon|boss_hp}} &nbsp;Boss Health event<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|{{Event Icon|boss_hp}} &nbsp;Boss Health event<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|duel_decks}}|{{Event Icon|duel_decks}} Duel Decks event<br>}}<!--
 
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|perm_support}}|{{Event Icon|perm_support}} &nbsp;Perma-support in play<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|perm_support}}|{{Event Icon|perm_support}} &nbsp;Perma-support in 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}}|special_rules}}|{{Event Icon|special_rules}} &nbsp;Special rules affect play<br>}}<!--

Revision as of 01:33, 26 May 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)