Difference between revisions of "Template:Infobox event"
| Line 49: | Line 49: | ||
| label6 = {{#if:{{Event data: {{{1}}}|11}}|Specials}} | | label6 = {{#if:{{Event data: {{{1}}}|11}}|Specials}} | ||
| data6 = {{#if:{{Event data: {{{1}}}|11}}|<!-- | | data6 = {{#if:{{Event data: {{{1}}}|11}}|<!-- | ||
| + | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|duel_decks}}|{{Event Icon|duel_decks}} Duel Decks event<br>}}<!-- | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|{{Event Icon|color_restrict}} PW color-restricted<br>}}<!-- | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|{{Event Icon|color_restrict}} PW color-restricted<br>}}<!-- | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|{{Event Icon|locked_nodes}} PW choice locked<br>}}<!-- | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|{{Event Icon|locked_nodes}} PW choice locked<br>}}<!-- | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|pw_restrict}}|{{Event Icon|pw_restrict}} PW restricted<br>}}<!-- | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|pw_restrict}}|{{Event Icon|pw_restrict}} PW restricted<br>}}<!-- | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|{{Event Icon|boss_hp}} Boss Health event<br>}}<!-- | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|{{Event Icon|boss_hp}} Boss Health event<br>}}<!-- | ||
| − | |||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|perm_support}}|{{Event Icon|perm_support}} Perma-support in play<br>}}<!-- | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|perm_support}}|{{Event Icon|perm_support}} Perma-support in play<br>}}<!-- | ||
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|special_rules}}|{{Event Icon|special_rules}} Special rules affect play<br>}}<!-- | -->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|special_rules}}|{{Event Icon|special_rules}} Special rules affect play<br>}}<!-- | ||
Revision as of 01:33, 26 May 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 |
|
| Rewards |
|
| Nodes | 2 (x3 sub-nodes) |
| Charges |
2 initial charges 5 maximum charges 8h recharge time |
| Specials |
|
| Introduced |
|
| Portal:Events (Infobox · Data) | |