Difference between revisions of "Template:Infobox event"
Line 19: | Line 19: | ||
| headerstyle = {{Infobox sec|header}} | | headerstyle = {{Infobox sec|header}} | ||
| labelstyle = {{Infobox sec|label|width=30%}} | | labelstyle = {{Infobox sec|label|width=30%}} | ||
− | | above = {{#explode:{{Event data: {{{1}}}|1}}|(|0}} {{#if:{{Event data: {{{1}}}|2}}|({{Event data: {{{1}}}|2}})}} | + | | above = {{#if:{{{image|}}}|YES}}{{#explode:{{Event data: {{{1}}}|1}}|(|0}} {{#if:{{Event data: {{{1}}}|2}}|({{Event data: {{{1}}}|2}})}} |
− | | image = {{#if:{{{ | + | | image = {{#if:{{Event data: {{{1}}}|15}}|[[File:{{Event data: {{{1}}}|15}}|250px]]}} |
| label1 = {{#if:{{Event data: {{{1}}}|3}}|Type}} | | label1 = {{#if:{{Event data: {{{1}}}|3}}|Type}} | ||
| data1 = {{#if:{{Event data: {{{1}}}|3}}|<!-- | | data1 = {{#if:{{Event data: {{{1}}}|3}}|<!-- |
Revision as of 08:57, 28 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) | |
---|---|
Type |
PvE Legacy Coalition |
Rewards |
Progression Coalition placement |
Nodes | 2 (x3 sub-nodes) |
Charges |
2 initial charges 5 maximum charges 8h recharge time |
Specials |
Perma-support in play Bonus cards in hand |
Introduced | DOM · May 2018 · v2.7 |
Portal:Events (Infobox · Data) |