Difference between revisions of "Template:Infobox event"

From mtgpq wiki
Jump to: navigation, search
(2 intermediate revisions by the same user not shown)
Line 73: Line 73:
 
| data5  = {{#if:{{Event data: {{{1}}}|8}}|'''{{Event data: {{{1}}}|8}}''' initial charges}}<!--
 
| data5  = {{#if:{{Event data: {{{1}}}|8}}|'''{{Event data: {{{1}}}|8}}''' initial charges}}<!--
 
-->{{#if:{{Event data: {{{1}}}|9}}|<br>'''{{Event data: {{{1}}}|9}}''' maximum charges}}<!--
 
-->{{#if:{{Event data: {{{1}}}|9}}|<br>'''{{Event data: {{{1}}}|9}}''' maximum charges}}<!--
-->{{#if:{{Event data: {{{1}}}|17}}|{{#if:{{#pos:{{Event data: {{{1}}}|17}}|17}}||<br>'''+{{Event data: {{{1}}}|17}}''' charges per recharge  }}}}<!--
+
-->{{#if:{{Event data: {{{1}}}|19}}|{{#if:{{#pos:{{Event data: {{{1}}}|19}}|19}}||<br>'''+{{Event data: {{{1}}}|19}}''' charges per recharge  }}}}<!--
 
-->{{#if:{{Event data: {{{1}}}|10}}|<br>'''{{Event data: {{{1}}}|10}}''' recharge time}}
 
-->{{#if:{{Event data: {{{1}}}|10}}|<br>'''{{Event data: {{{1}}}|10}}''' recharge time}}
 
| label6  = {{#if:{{Event data: {{{1}}}|11}}|Specials}}
 
| label6  = {{#if:{{Event data: {{{1}}}|11}}|Specials}}
Line 89: Line 89:
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|supercharged}}|{{Event Icon|supercharged}} &nbsp;Supercharged (x2 mana)<br>}}<!--
 
-->{{#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>}}}}
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|legendary}}|{{Event Icon|legendary}} &nbsp;Legendary (x2 both)<br>}}}}
| label7  = {{#if:{{Event data: {{{1}}}|12}}|Introduced in}}
+
| label7 = {{#if:{{Event data: {{{1}}}|16}}|Card XP gains}}
| data7   = <!--
+
| data7  = {{#if:{{Event data: {{{1}}}|16}}|{{#ifeq:{{Event data: {{{1}}}|16}}|{{Event data: {{{1}}}|17}}|'''{{Event data: {{{1}}}|16}}''' XP ''<small>(all wins on a node)</small>''|'''{{Event data: {{{1}}}|16}}''' XP ''<small>(first win on node)</small>''<br>'''{{Event data: {{{1}}}|17}}''' XP ''<small>(subsequent wins on node)</small>''}}}}
 +
| label8 = {{#if:{{Event data: {{{1}}}|12}}|Introduced in}}
 +
| data8   = <!--
 
-->{{#if:{{Event data: {{{1}}}|14}}|{{SetSymbol|{{Event data: {{{1}}}|14}}}} [[{{Event data: {{{1}}}|14}}]]&nbsp;'''·'''&nbsp;}}<!--
 
-->{{#if:{{Event data: {{{1}}}|14}}|{{SetSymbol|{{Event data: {{{1}}}|14}}}} [[{{Event data: {{{1}}}|14}}]]&nbsp;'''·'''&nbsp;}}<!--
 
-->''{{#if:{{Event data: {{{1}}}|12}}|{{Event data: {{{1}}}|12}}}}<!--
 
-->''{{#if:{{Event data: {{{1}}}|12}}|{{Event data: {{{1}}}|12}}}}<!--

Revision as of 05:47, 24 May 2020

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|Ravnica at War: Eternity}}

Produces:

Ravnica at War: Eternity (RaW:E)
EventsStoryPlaneswalkersCardsGuides
RaW-Eternity.png
Type PvP Block Coalition PvP Coalition
Spacing-horz.pngBlock [OriginsGuilds of RavnicaRavnica AllegianceWar of the SparkCore Set 2020Core Set 2021]
Rewards Progression rewards Progression
Placement rewards Individual placement
Coalition rewards Coalition placement
Nodes 3
Charges 1 initial charges
4 maximum charges
6h recharge time
Specials Color restriction  PW color-restricted
Locked nodes    PW choice locked
Permanent support  Perma-support in play
Card XP gain 20 XP (all wins on a node)
Introduced War of the Spark WAR · Jun 2019 · v3.5
Portal:Events   (Infobox · Data)