Changes

Jump to: navigation, search

Template:Event data

218 bytes added, 03:32, 14 February 2019
no edit summary
<noinclude>
==Usage==
Extract event Event data templates extract data for an event for use in other templates. Event data is extracted as follows:<pre><nowiki>{{Event data: {{{name}}}|param}}</nowiki></pre>* '''name''': The only name of the event* '''param''': A number indicating the position of the parameter to extract. The event data is the stored in templates named "Template:Event data: event name", such as [[Template:Event data: A World Reborn]]==Example==<pre><nowiki>{{Event data: A World Reborn|3}}</nowiki></pre>Produces:
The event data is stored in templates named "Template:Event data: event name". For example, [[Template:{{Event data: A World Reborn]]. |3}}==Details==The event data consists of contains the following ordered fields:
<pre><nowiki>
{| class="wikitable"
|-
! FieldParam! Param name
! Description
! Examples
|-
| 1
| name
| The event name.
| "A World Reborn"
|-
| 2
| alias
| An abbreviation for the event.
| "AWR"
|-
| 3
| type
| A comma-separated list of types, including one of "pve" and "pvp", one of "standard" and "legacy", and may include "coalition".
| "pve,standard,coalition"
|-
| 4
| rewards
| A comma-separated list of reward types offered by the event, which may include "progression", "individual", and "coalition".
| "progression,coalition"
|-
| 5
| nodes
| The number of nodes in the event, optionally followed by the number of variations of each node, separated by "x".
| "2x3"
|-
| 6
| charges
| The number of initial and total charges of each node, separated by "/". Blank if nodes have no charges.
| "2/5"
|-
| 7
| recharge
| The time between node recharges. Blank of nodes have no charges.
| "8h"
|-
| 8
| specials
| A comma-separated list of special features of the event, if any. May include any number of the following: "bonus_cards", "boss_hp", "color_restrict", "duel_decks", "enraged", "locked_nodes", "perm_support", "premade_deck", "pw_restrict", "special_rules", "supercharged".
| "perm_support,bonus_cards"
|-
| 9
| introduced
| The date the event was introduced to the game.
| "May 2018"
|-
| 10
| version
| The version in which the event was introduced to the game.
| "2.7"
|-
| 11
| set
| The three-letter abbreviation of the expansion set with which the event was introduced to the game.
| "DOM"
|}
 
==Example==
The following mark-up:
<pre><nowiki>
{{Event data|A World Reborn}}
</nowiki></pre>
 
Produces:
 
{{Event data|A World Reborn}}
 
</noinclude><includeonly>{{Event data: {{{1}}}}}</includeonly>

Navigation menu