Difference between revisions of "Template:Event data"
(Created page with "<noinclude> ==Usage== Extract event data for an event for use in other templates. The only parameter is the event name. The event data is stored in templates named "Template...") |
|||
Line 3: | Line 3: | ||
Extract event data for an event for use in other templates. The only parameter is the event name. | Extract event data for an event for use in other templates. The only parameter is the event name. | ||
− | The event data is stored in templates named "Template:Event data: | + | The event data is stored in templates named "Template:Event data: event name". For example, [[Template:Event data: A World Reborn]]. The event data consists of the following ordered fields: |
+ | |||
+ | <pre><nowiki> | ||
+ | |name | ||
+ | |alias | ||
+ | |type | ||
+ | |rewards | ||
+ | |nodes | ||
+ | |sub-nodes | ||
+ | |charges-initial | ||
+ | |charges-max | ||
+ | |charges-recharge | ||
+ | |specials | ||
+ | |date | ||
+ | |version | ||
+ | |set | ||
+ | </nowiki></pre> | ||
+ | |||
+ | |||
{| class="wikitable" | {| class="wikitable" |
Revision as of 01:52, 14 February 2019
Usage
Extract event data for an event for use in other templates. The only parameter is the event name.
The event data is stored in templates named "Template:Event data: event name". For example, Template:Event data: A World Reborn. The event data consists of the following ordered fields:
|name |alias |type |rewards |nodes |sub-nodes |charges-initial |charges-max |charges-recharge |specials |date |version |set
Field | Description | Examples |
---|---|---|
name | The event name. | "A World Reborn" |
alias | An abbreviation for the event. | "AWR" |
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" |
rewards | A comma-separated list of reward types offered by the event, which may include "progression", "individual", and "coalition". | "progression,coalition" |
nodes | The number of nodes in the event, optionally followed by the number of variations of each node, separated by "x". | "2x3" |
charges | The number of initial and total charges of each node, separated by "/". Blank if nodes have no charges. | "2/5" |
recharge | The time between node recharges. Blank of nodes have no charges. | "8h" |
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" |
introduced | The date the event was introduced to the game. | "May 2018" |
version | The version in which the event was introduced to the game. | "2.7" |
set | The three-letter abbreviation of the expansion set with which the event was introduced to the game. | "DOM" |
Example
The following mark-up:
{{Event data|A World Reborn}}
Produces:
{{p{{{1}}} |A World Reborn|AWR|pve,legacy,coalition |progression,coalition| |2|3|2|5|8h|perm_support,bonus_cards |May 2018|2.7|DOM|AWorldReborn.png||}}