Difference between revisions of "Template:EventTableRow"
Line 44: | Line 44: | ||
| [[{{{set}}}]] | | [[{{{set}}}]] | ||
| {{#if: {{#pos:{{{type}}}|pvp}}|{{#if: {{#pos:{{{type}}}|legacy}}|{{#if: {{#pos:{{{type}}}|coalition}}| | | {{#if: {{#pos:{{{type}}}|pvp}}|{{#if: {{#pos:{{{type}}}|legacy}}|{{#if: {{#pos:{{{type}}}|coalition}}| | ||
− | [[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition]] | [[File:pvp-leg.png|x24px|PvP Legacy]] | + | [[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition]] | [[File:pvp-leg.png|x24px|PvP Legacy]] }} }} }}<!-- |
− | }} | {{#if: {{#pos:{{{type}}}|coalition}}| | + | -->{{#if: {{#pos:{{{type}}}|pvp}}|{{#if: {{#pos:{{{type}}}|standard}}|{{#if: {{#pos:{{{type}}}|coalition}}| |
− | [[File:pvp-sta-coa.png|x24px|PvP Standard Coalition]] | [[File:pvp-sta.png|x24px|PvP Standard]] | + | [[File:pvp-sta-coa.png|x24px|PvP Standard Coalition]] | [[File:pvp-sta.png|x24px|PvP Standard]] }} }} }}<!-- |
− | }} }} | {{#if: {{#pos:{{{type}}}|legacy}}|{{#if: {{#pos:{{{type}}}|coalition}}| | + | -->{{#if: {{#pos:{{{type}}}|pve}}|{{#if: {{#pos:{{{type}}}|legacy}}|{{#if: {{#pos:{{{type}}}|coalition}}| |
− | [[File:pve-leg-coa.png|x24px|PvE Legacy Coalition]] | [[File:pve-leg.png|x24px|PvE Legacy]] | + | [[File:pve-leg-coa.png|x24px|PvE Legacy Coalition]] | [[File:pve-leg.png|x24px|PvE Legacy]] }} }} }}<!-- |
− | }} | {{#if: {{#pos:{{{type}}}|coalition}}| | + | -->{{#if: {{#pos:{{{type}}}|pve}}|{{#if: {{#pos:{{{type}}}|standard}}|{{#if: {{#pos:{{{type}}}|coalition}}| |
− | [[File:pve-sta-coa.png|x24px|PvE Standard Coalition]] | [[File:pve-sta.png|x24px|PvE Standard]] | + | [[File:pve-sta-coa.png|x24px|PvE Standard Coalition]] | [[File:pve-sta.png|x24px|PvE Standard]] }} }} }} |
− | }} }} }} | ||
| {{#if: {{#pos:{{{rewards}}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards]]}}<!-- | | {{#if: {{#pos:{{{rewards}}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards]]}}<!-- | ||
-->{{#if: {{#pos:{{{rewards}}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards]]}}<!-- | -->{{#if: {{#pos:{{{rewards}}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards]]}}<!-- |
Revision as of 05:59, 4 January 2019
Shorthand for creating a row of a table containing details of an event.
(In development: This template will be upgraded to replace some text with icons)
Parameters are:
{{{name}}}
: The name of the event (e.g. A World Reborn){{{alias}}}
: An alias for the event, if any (e.g. AWR){{{set}}}
: The abbreviation of the most recently released set when the event was released (e.g. DOM){{{type}}}
: A list of types of the event, which may include one or more of: pvp, pve, legacy, standard, or coalition. (e.g. pve,standard,coalition){{{rewards}}}
: The reward categories for the event, which may include one or more of: progression, placement, coalition (e.g. progression,coalition){{{nodes}}}
: The node details of the event: number of nodes, number of sub-nodes per node, starting charges, max charges, recharge time. (e.g. 2,3,2,5,8h){{{specials}}}
: Any other special details of the event, which may include one or more of: bonus_cards, boss_hp, color_restrict, duel_decks, enraged, locked_nodes, perm_support, premade_deck, pw_restrict, special_rules, supercharged. (e.g. perm_support,bonus_cards){{{entry_cost_crystals}}}
: The entry cost of the event in crystals, if any.
Example
This shorthand within a table
{{EventTableRow |name = A World Reborn |alias = AWR |set = DOM |type = pve,standard,coalition |rewards = progression,coalition |nodes = 2,3,2,5,8h |specials = perm_support,bonus_cards |entry_cost_crystals =}}
Produces: