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>}}}}
 
| label4  = {{#if:{{Event data: {{{1}}}|5}}|Nodes}}
 
| label4  = {{#if:{{Event data: {{{1}}}|5}}|Nodes}}
| data4  = {{#if:{{Event data: {{{1}}}|5}}|{{Event data: {{{1}}}|5}}}}<!--
+
| data4  = {{#if:{{Event data: {{{1}}}|5}}|'''{{Event data: {{{1}}}|5}}'''}}<!--
-->{{#if: {{Event data: {{{1}}}|6}}|(x{{Event data: {{{1}}}|6}} sub-nodes)}}
+
-->{{#if: {{Event data: {{{1}}}|6}}| &nbsp;(x{{Event data: {{{1}}}|6}} sub-nodes)}}
 +
| label5  = {{#if:{{Event data: {{{1}}}|7}}|Charges}}
 +
| data5  = {{#if:{{Event data: {{{1}}}|7}}| * '''{{Event data: {{{1}}}|7}}''' initial charges}}
 +
{{#if:{{Event data: {{{1}}}|8}}| * '''{{Event data: {{{1}}}|8}}''' maximum charges}}
 +
{{#if:{{Event data: {{{1}}}|9}}| * '''{{Event data: {{{1}}}|9}}''' recharge}}
 +
| label6  = {{#if:{{Event data: {{{1}}}|10}}|Specials}}
 +
| data6  = {{#if:{{Event data: {{{1}}}|10}}|<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|color_restrict}}|[[File:event-color_restrict.png|x24px]] &nbsp;PW color-restricted<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|locked_nodes}}|[[File:event-locked_nodes.png|x24px]] &nbsp; &nbsp;PW choice locked<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|pw_restrict}}|[[File:event-pw_restrict.png|x24px]] &nbsp;PW restricted<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|boss_hp}}|[[File:event-boss_hp.png|x24px]] &nbsp;Boss Health event<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|duel_decks}}|[[File:event-duel_decks.png|x24px]] Duel Decks event<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|perm_support}}|[[File:event-perm_support.png|x24px]] &nbsp;Perma-support in play<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|special_rules}}|[[File:event-special_rules.png|x24px]] &nbsp;Special rules affect play<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|bonus_cards}}|[[File:event-bonus_cards.png|x24px]] Bonus cards in hand<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|enraged}}|[[File:event-enraged.png|x24px]] &nbsp;Enraged (x2 damage)<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|supercharged}}|[[File:event-supercharged.png|x24px]] &nbsp;Supercharged (x2 mana)<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|legendary}}|[[File:event-legendary.png|x24px]] &nbsp;Legendary (x2 both)<br>}}}}
 +
| label7  = {{#if:{{Event data: {{{1}}}|11}}|Introduced in}}
 +
| data7  = <!--
 +
-->{{#if:{{Event data: {{{1}}}|13}}|{{SetSymbol|{{Event data: {{{1}}}|13}}}} [[{{Event data: {{{1}}}|13}}]]}}<!--
 +
--> &nbsp; ''({{#if:{{Event data: {{{1}}}|11}}|{{Event data: {{{1}}}|11}}}}<!--
 +
-->{{#if:{{Event data: {{{1}}}|12}}|, v{{Event data: {{{1}}}|12}}}})''
 +
 
 
| belowstyle = background:#ddf;
 
| belowstyle = background:#ddf;
 
| below      = [[Events]]
 
| below      = [[Events]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 03:13, 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)