Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
Line 21: Line 21:
 
| above  = {{Event data: {{{1}}}|1}} {{#if:{{Event data: {{{1}}}|2}}|({{Event data: {{{1}}}|2}})}}
 
| 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]]}}
| label2 = {{#if:{{Event data: {{{1}}}|3}}|Type}}
+
| label1 = {{#if:{{Event data: {{{1}}}|3}}|Type}}
| data2   = {{#if:{{Event data: {{{1}}}|3}}|<!--
+
| data1   = {{#if:{{Event data: {{{1}}}|3}}|<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
[[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] PvP Legacy Coalition | [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] PvP Legacy}} }} }}<!--
 
[[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] PvP Legacy Coalition | [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] PvP Legacy}} }} }}<!--
Line 32: Line 32:
 
[[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#Icon descriptions]] PvE Standard Coalition| [[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] PvE Standard}} }} }}
 
[[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#Icon descriptions]] PvE Standard Coalition| [[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] PvE Standard}} }} }}
 
}}
 
}}
| label3 = {{#if:{{Event data: {{{1}}}|4}}|Rewards}}
+
| label2 = {{#if:{{Event data: {{{1}}}|4}}|Rewards}}
| data3   = {{#if:{{Event data: {{{1}}}|4}}|<!--
+
| data2   = {{#if:{{Event data: {{{1}}}|4}}|<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=#Icon descriptions]] Progression<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=#Icon descriptions]] Progression<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=#Icon descriptions]] Individual placement<br>}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=#Icon descriptions]] Individual placement<br>}}<!--
 
-->{{#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}}
+
| label3  = {{#if:{{Event data: {{{1}}}|5}}|Entry fee}}
| data4  = {{#if:{{Event data: {{{1}}}|5}}|'''{{Event data: {{{1}}}|5}}'''}}<!--
+
| data3  = {{#if:{{Event data: {{{1}}}|5}}|{{crystals|{{Event data: {{{1}}}|5}}}}}}
-->{{#if: {{Event data: {{{1}}}|6}}| &nbsp;(x{{Event data: {{{1}}}|6}} sub-nodes)}}
+
| label4  = {{#if:{{Event data: {{{1}}}|6}}|Nodes}}
| label5  = {{#if:{{Event data: {{{1}}}|7}}|Charges}}
+
| data4  = {{#if:{{Event data: {{{1}}}|6}}|'''{{Event data: {{{1}}}|5}}'''}}<!--
| data5  = {{#if:{{Event data: {{{1}}}|7}}| * '''{{Event data: {{{1}}}|7}}''' initial charges}}
+
-->{{#if: {{Event data: {{{1}}}|7}}| &nbsp;(x{{Event data: {{{1}}}|7}} sub-nodes)}}
{{#if:{{Event data: {{{1}}}|8}}| * '''{{Event data: {{{1}}}|8}}''' maximum charges}}
+
| label5  = {{#if:{{Event data: {{{1}}}|8}}|Charges}}
{{#if:{{Event data: {{{1}}}|9}}| * '''{{Event data: {{{1}}}|9}}''' recharge}}
+
| data5  = {{#if:{{Event data: {{{1}}}|8}}| * '''{{Event data: {{{1}}}|8}}''' initial charges}}
| label6  = {{#if:{{Event data: {{{1}}}|10}}|Specials}}
+
{{#if:{{Event data: {{{1}}}|9}}| * '''{{Event data: {{{1}}}|9}}''' maximum charges}}
| data6  = {{#if:{{Event data: {{{1}}}|10}}|<!--
+
{{#if:{{Event data: {{{1}}}|10}}| * '''{{Event data: {{{1}}}|10}}''' recharge}}
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|color_restrict}}|{{Event Icon|color_restrict}} &nbsp;PW color-restricted<br>}}<!--
+
| label6  = {{#if:{{Event data: {{{1}}}|11}}|Specials}}
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|locked_nodes}}|{{Event Icon|locked_nodes}} &nbsp; &nbsp;PW choice locked<br>}}<!--
+
| data6  = {{#if:{{Event data: {{{1}}}|11}}|<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|pw_restrict}}|{{Event Icon|pw_restrict}} &nbsp;PW restricted<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|{{Event Icon|color_restrict}} &nbsp;PW color-restricted<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|boss_hp}}|{{Event Icon|boss_hp}} &nbsp;Boss Health event<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|{{Event Icon|locked_nodes}} &nbsp; &nbsp;PW choice locked<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|duel_decks}}|{{Event Icon|duel_decks}} Duel Decks event<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|pw_restrict}}|{{Event Icon|pw_restrict}} &nbsp;PW restricted<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|perm_support}}|{{Event Icon|perm_support}} &nbsp;Perma-support in play<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|{{Event Icon|boss_hp}} &nbsp;Boss Health event<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|special_rules}}|{{Event Icon|special_rules}} &nbsp;Special rules affect play<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|duel_decks}}|{{Event Icon|duel_decks}} Duel Decks event<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|bonus_cards}}|{{Event Icon|bonus_cards}} Bonus cards in hand<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|perm_support}}|{{Event Icon|perm_support}} &nbsp;Perma-support in play<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|enraged}}|{{Event Icon|enraged}} &nbsp;Enraged (x2 damage)<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|special_rules}}|{{Event Icon|special_rules}} &nbsp;Special rules affect play<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|supercharged}}|{{Event Icon|supercharged}} &nbsp;Supercharged (x2 mana)<br>}}<!--
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|bonus_cards}}|{{Event Icon|bonus_cards}} Bonus cards in hand<br>}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|10}}|legendary}}|{{Event Icon|legendary}} &nbsp;Legendary (x2 both)<br>}}}}
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|enraged}}|{{Event Icon|enraged}} &nbsp;Enraged (x2 damage)<br>}}<!--
| label7  = {{#if:{{Event data: {{{1}}}|11}}|Introduced in}}
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|supercharged}}|{{Event Icon|supercharged}} &nbsp;Supercharged (x2 mana)<br>}}<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|legendary}}|{{Event Icon|legendary}} &nbsp;Legendary (x2 both)<br>}}}}
 +
| label7  = {{#if:{{Event data: {{{1}}}|12}}|Introduced in}}
 
| data7  = <!--
 
| data7  = <!--
-->{{#if:{{Event data: {{{1}}}|13}}|{{SetSymbol|{{Event data: {{{1}}}|13}}}} [[{{Event data: {{{1}}}|13}}]]}}<!--
+
-->{{#if:{{Event data: {{{1}}}|14}}|{{SetSymbol|{{Event data: {{{1}}}|14}}}} [[{{Event data: {{{1}}}|14}}]]}}<!--
--> &nbsp;''({{#if:{{Event data: {{{1}}}|11}}|{{Event data: {{{1}}}|11}}}}<!--
+
--> &nbsp;''({{#if:{{Event data: {{{1}}}|12}}|{{Event data: {{{1}}}|12}}}}<!--
-->{{#if:{{Event data: {{{1}}}|12}}|, v{{Event data: {{{1}}}|12}}}})''
+
-->{{#if:{{Event data: {{{1}}}|13}}|, v{{Event data: {{{1}}}|13}}}})''
 
 
 
| belowstyle = background:#ddf;
 
| belowstyle = background:#ddf;
 
| below      = [[Events]]
 
| below      = [[Events]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 06:51, 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)