Difference between revisions of "Template:Infobox event"
| Line 90: | Line 90: | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|legendary}}|{{Event Icon|legendary}} Legendary (x2 both)<br>}}}} | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|legendary}}|{{Event Icon|legendary}} Legendary (x2 both)<br>}}}} | ||
| label7 = {{#if:{{Event data: {{{1}}}|16}}|Card XP gains}} | | label7 = {{#if:{{Event data: {{{1}}}|16}}|Card XP gains}} | ||
| − | | data7 = {{#if:{{Event data: {{{1}}}|16}}|'''{{Event data: {{{1}}}|16}}''' XP ''<small>(first win on node)</small>''<br | + | | 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}} | | label8 = {{#if:{{Event data: {{{1}}}|12}}|Introduced in}} | ||
| data8 = <!-- | | data8 = <!-- | ||
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) | |
|---|---|
|
| |
| Type |
|
| Rewards |
|
| Nodes | 3 |
| Charges |
1 initial charges 4 maximum charges 6h recharge time |
| Specials |
|
| Card XP gain | 20 XP (all wins on a node) |
| Introduced |
|
| Portal:Events (Infobox · Data) | |