Difference between revisions of "Template:EventTableRow"
Line 44: | Line 44: | ||
| [[{{{set}}}]] | | [[{{{set}}}]] | ||
| style="background:#22354b" | {{#if: {{#pos:{{{type}}}|pvp}}|{{#if: {{#pos:{{{type}}}|legacy}}|{{#if: {{#pos:{{{type}}}|coalition}}| | | style="background:#22354b" | {{#if: {{#pos:{{{type}}}|pvp}}|{{#if: {{#pos:{{{type}}}|legacy}}|{{#if: {{#pos:{{{type}}}|coalition}}| | ||
− | [[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=# | + | [[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] | [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] }} }} }}<!-- |
-->{{#if: {{#pos:{{{type}}}|pvp}}|{{#if: {{#pos:{{{type}}}|standard}}|{{#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|link=# | + | [[File:pvp-sta-coa.png|x24px|PvP Standard Coalition|link=#Icon descriptions]] | [[File:pvp-sta.png|x24px|PvP Standard|link=#Icon descriptions]] }} }} }}<!-- |
-->{{#if: {{#pos:{{{type}}}|pve}}|{{#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|link=# | + | [[File:pve-leg-coa.png|x24px|PvE Legacy Coalition|link=#Icon descriptions]] | [[File:pve-leg.png|x24px|PvE Legacy|link=#Icon descriptions]] }} }} }}<!-- |
-->{{#if: {{#pos:{{{type}}}|pve}}|{{#if: {{#pos:{{{type}}}|standard}}|{{#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|link=# | + | [[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#Icon descriptions]] | [[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] }} }} }} |
− | | style="background:#22354b" | {{#if: {{#pos:{{{rewards}}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=# | + | | style="background:#22354b" | {{#if: {{#pos:{{{rewards}}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!-- |
− | -->{{#if: {{#pos:{{{rewards}}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=# | + | -->{{#if: {{#pos:{{{rewards}}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!-- |
− | -->{{#if: {{#pos:{{{rewards}}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=# | + | -->{{#if: {{#pos:{{{rewards}}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}} |
| style="text-align:center" | {{#explode:{{{nodes}}}|,|0}}{{#if:{{#explode:{{{nodes}}}|,|1}} | <small>x{{#explode:{{{nodes}}}|,|1}} }}</small> | | style="text-align:center" | {{#explode:{{{nodes}}}|,|0}}{{#if:{{#explode:{{{nodes}}}|,|1}} | <small>x{{#explode:{{{nodes}}}|,|1}} }}</small> | ||
| {{#if: {{#explode:{{{nodes}}}|,|2}} | {{#explode:{{{nodes}}}|,|2}}/{{#explode:{{{nodes}}}|,|3}} <small>''++{{#explode:{{{nodes}}}|,|4}}''</small> | -}} | | {{#if: {{#explode:{{{nodes}}}|,|2}} | {{#explode:{{{nodes}}}|,|2}}/{{#explode:{{{nodes}}}|,|3}} <small>''++{{#explode:{{{nodes}}}|,|4}}''</small> | -}} | ||
− | | {{#if: {{#pos:{{{specials}}}|color_restrict}}|[[File:event-color_restrict.png|x24px|Planeswalker choice restricted by color|link=# | + | | {{#if: {{#pos:{{{specials}}}|color_restrict}}|[[File:event-color_restrict.png|x24px|Planeswalker choice restricted by color|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{specials}}}|locked_nodes}}|[[File:event-locked_nodes.png|x24px|Planeswalker choice can't be changed once made|link=# | + | -->{{#if: {{#pos:{{{specials}}}|locked_nodes}}|[[File:event-locked_nodes.png|x24px|Planeswalker choice can't be changed once made|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{specials}}}|pw_restrict}}|[[File:event-pw_restrict.png|x24px|A node can only be played by a certain Planeswalker|link=# | + | -->{{#if: {{#pos:{{{specials}}}|pw_restrict}}|[[File:event-pw_restrict.png|x24px|A node can only be played by a certain Planeswalker|link=#Icon descriptions]]}} |
− | | {{#if: {{#pos:{{{specials}}}|boss_hp}}|[[File:event-boss_hp.png|x24px|Boss Health event|link=# | + | | {{#if: {{#pos:{{{specials}}}|boss_hp}}|[[File:event-boss_hp.png|x24px|Boss Health event|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{specials}}}|perm_support}}|[[File:event-perm_support.png|x24px|Permanent support affects play|link=# | + | -->{{#if: {{#pos:{{{specials}}}|perm_support}}|[[File:event-perm_support.png|x24px|Permanent support affects play|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{specials}}}|special_rules}}|[[File:event-special_rules.png|x24px|Special rules affect play|link=# | + | -->{{#if: {{#pos:{{{specials}}}|special_rules}}|[[File:event-special_rules.png|x24px|Special rules affect play|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{specials}}}|bonus_cards}}|[[File:event-bonus_cards.png|x24px|Bonus cards are added to hand|link=# | + | -->{{#if: {{#pos:{{{specials}}}|bonus_cards}}|[[File:event-bonus_cards.png|x24px|Bonus cards are added to hand|link=#Icon descriptions]]}} |
− | | {{#if: {{#pos:{{{specials}}}|enraged}}|[[File:event-enraged.png|x24px|Enraged (2x damage after 5 turns)|link=# | + | | {{#if: {{#pos:{{{specials}}}|enraged}}|[[File:event-enraged.png|x24px|Enraged (2x damage after 5 turns)|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{specials}}}|supercharged}}|[[File:event-supercharged.png|x24px|Supercharged (2x mana after 5 turns)|link=# | + | -->{{#if: {{#pos:{{{specials}}}|supercharged}}|[[File:event-supercharged.png|x24px|Supercharged (2x mana after 5 turns)|link=#Icon descriptions]]}}<!-- |
− | -->{{#if: {{#pos:{{{specials}}}|legendary}}|[[File:event-legendary.png|x24px|Legendary (2x damage and mana after 3 turns)|link=# | + | -->{{#if: {{#pos:{{{specials}}}|legendary}}|[[File:event-legendary.png|x24px|Legendary (2x damage and mana after 3 turns)|link=#Icon descriptions]]}}</includeonly> |
Revision as of 03:31, 6 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,8 |specials = perm_support,bonus_cards |entry_cost_crystals =}}
Produces: