7,180
edits
Changes
no edit summary
<noinclude>Shorthand for creating a row of a table containing details of an event.
== Example ==
This shorthand within a table
<pre><nowiki>
{{EventTableRow|name = A World Reborn}}{{EventTableRow|alias = AWRAcross Ixalan}}{{EventTableRow|set = DOMDuel Decks: Zendikar vs Eldrazi}}{{EventTableRow|type = pve,standard,coalitionPlanechasing Fblthp}}{{EventTableRow|rewards = progression,coalition|nodes = 2,3,2,5,8h|specials = perm_support,bonus_cardsSaheeli Rai's Challenge}}{{EventTableRow|entry_cost_crystals =Fateful Showdown}}</nowiki></pre>
Produces:
{| class="wikitable"
{{EventTableRow|name = A World Reborn}}{{EventTableRow|alias = AWR|set = DOM|type = pve,standard,coalitionAcross Ixalan}}{{EventTableRow|rewards = progression,coalitionDuel Decks: Zendikar vs Eldrazi}}{{EventTableRow|nodes = 2,3,2,5,8hPlanechasing Fblthp}}{{EventTableRow|specials = perm_support,bonus_cardsSaheeli Rai's Challenge}}{{EventTableRow|entry_cost_crystals =Fateful Showdown}}
|}
</noinclude><includeonly>|-
! style="text-align: left;padding: 0px" | {{nowrap| [[{{{name}}}]]<!---->{{#if: {{Event data: {alias|{{1}}} | <small>({{{alias15}}})</small>}} }}<!---->|[[File:{{#ifEvent data: {{{entry_cost_crystals1}}}|15}}} | <span stylex28px|link="color:#808080"><small>{{nowrap{1}}}|''(entry {{{entry_cost_crystals1}}} [[File:crystal.png]]|{{Spacing|x14px]])''62px}}</small></span>}} <!--| -->[[{{Event data: {{{set1}}}]]| style="background:#22354b" 1}}| {{#ifexplode: {{#posEvent data:{{{type1}}}|pvp1}}|{{(|0}}]]<!---->{{#if: {{#posEvent data:{{{type1}}}|legacy2}}| <small>({{#ifEvent data: {{#pos:{{{type{1}}}|coalition2}})</small>}} }}|<!--[[File:pvp-leg-coa.png>{{#if: {{Event data: {{{1}}}|x24px5}} |PvP Legacy Coalition]] | [[File <span style="color:pvp-leg.png#808080"><small>{{nowrap|x24px|PvP Legacy]] }} }} }}<!---->{''(entry {{#ifEvent data: {{#pos:{{{type1}}}|pvp5}}|{{#if[[File: {{#pos:{{{type}}}crystal.png|standardx14px]])''}}</small></span>}} |{{#if: {{#posEvent data:{{{type1}}}|coalition14}}|[[File{{Nowrap|{{SetSymbol|{{Event data:pvp-sta-coa.png|x24px|PvP Standard Coalition]] {{{1}}}| 14}}}} [[File{{Event data:pvp-sta.png{{{1}}}|x24px|PvP Standard14}}]] }} }} }}<!---->| style="background: #22354b; text-align: center; padding: 2px" | {{#if: {{#pos:{{Event data: {type{{1}}}|3}}|pvepvp}}|{{#if: {{#pos:{{Event data: {{type{1}}}|3}}|legacy}}|{{#if: {{#pos:{{Event data: {type{{1}}}|3}}|coalition}}|[[File:pvepvp-leg-coa.png|x24px|PvE PvP Legacy Coalition|link=#Icon descriptions]] | [[File:pvepvp-leg.png|x24px|PvE PvP Legacy|link=#Icon descriptions]] }} }} }}<!---->{{#if: {{#pos:{{Event data: {{type{1}}}|pve3}}|{pvp}}|{{#if: {{#pos:{{Event data:{{{type1}}}|3}}|standard}}|{{#if: {{#pos:{{Event data: {type{{1}}}|3}}|coalition}}|[[File:pvepvp-sta-coa.png|x24px|PvE PvP Standard Coalition|link=#Icon descriptions]] | [[File:pvepvp-sta.png|x24px|PvE PvP Standard|link=#Icon descriptions]] }} }} }}<!--| style="background:#22354b" | -->{{#if: {{#pos:{{Event data:{{{rewards1}}}|progression3}}|[[Filepve}}|{{#if:reward-progression.png|x24px|Progression rewards]]|[[File{{#pos:reward-blank.png{{Event data: {{{1}}}|3}}|x24px]]legacy}}<!---->|{{#if: {{#pos:{{Event data:{{{rewards1}}}|placement3}}|coalition}}|[[File:rewardpve-leg-placementcoa.png|x24px|Placement rewardsPvE Legacy Coalition|link=#Icon descriptions]]|[[File:rewardpve-blankleg.png|x24px|PvE Legacy|link=#Icon descriptions]]}} }} }}<!---->{{#if: {{#pos:{{Event data: {{rewards{1}}}|3}}|coalitionpve}}|[[File{{#if:reward-coalition.png|x24px|Coalition rewards]]|[[File:reward-blank.png|x24px]]}}| {{#explodepos:{{Event data:{{{nodes1}}}|,3}}|0standard}}|{{#if:{{#explodepos:{{Event data:{{{nodes1}}}|,3}}|1coalition}} | <small>x{{[[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#explode:{{{nodes}}}Icon descriptions]] |,|1[[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] }} }} }}</small!---->| {{#if: {{#explodepos:{{Event data:{{{nodes1}}}|,3}}|2pvp}} | {{#explodeif: {{#pos:{{Event data:{{{nodes1}}}|,3}}|2block}}/|{{#explodeif:{{{nodes}}}|,|3}} <small>''++#pos:{{#explodeEvent data:{{{nodes1}}}|,3}}|4coalition}}''</small> | -}} [[File:pvp-sta-coa.png|x24px|PvP Block restricted Coalition| {{link=#if: {{#pos:{{{specials}}}|bonus_cards}}Icon descriptions]] |[[File:eventpvp-bonus_cardssta.png|x24px|Bonus cards are added to handPvP Block restricted|link=#Icon descriptions]]}} }} }}<!---->{{#if: {{#pos:{{Event data: {{specials{1}}}|boss_hp3}}|[[File:event-boss_hp.png|x24px|Boss Health event]]pve}}<!---->|{{#if: {{#pos:{{Event data:{{{specials1}}}|3}}|color_restrictblock}}|[[File{{#if:event-color_restrict.png|x24px|Planeswalker choice restricted by color]]}}<!---->{{#ifpos: {{#posEvent data:{{{specials1}}}|enraged3}}|[coalition}}|[[File:eventpve-leg-enragedcoa.png|x24px|Enraged (2x damage after 5 turns)PvE Block restricted Coalition|link=#Icon descriptions]]}}<!| [[File:pve---->{{sta.png|x24px|PvE Block restricted|link=#if: {Icon descriptions]] }} }} }}| style="background: #22354b; text-align: center; padding: 2px" | {{#if: {{#pos:{{Event data:{{{specials1}}}|supercharged4}}|progression}}|[[File:eventreward-superchargedprogression.png|x24px|Supercharged (2x mana after 5 turns)Progression rewards|link=#Icon descriptions]]}}<!|[[File:reward-blank.png|x24px]]}}<!---->{{#if: {{#pos:{{Event data:{{{specials1}}}|4}}|legendaryplacement}}|[[File:eventreward-legendaryplacement.png|x24px|Legendary (2x damage and mana after 3 turns)Placement rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!---->{{#if: {{#pos:{{Event data: {specials{{1}}}|locked_nodes4}}|coalition}}|[[File:eventreward-locked_nodescoalition.png|x24px|Planeswalker choice can't be changed once madeCoalition rewards|link=#Icon descriptions]]}}|<!---->{{#if: {{#pos:{{Event data: {specials}{{1}}}|4}}|perm_supportwinning-side}}|[[File:eventreward-winning-perm_supportside.png|x24px|Permanent support affects playWinning side rewards|link=#Icon descriptions]]}}<!-|[[File:reward-blank.png|x24px]]}}}}| style="text-->{{#ifalign: center" | {{#posEvent data:{{{specials1}}}|special_rules6}}|[[File:event-special_rules.png|x24px|Special rules affect play]]}}<!---->{{{#if: {{#posEvent data:{{{specials1}}}|pw_restrict7}}|[[File{{#ifexpr:{{Event data:event-pw_restrict.png{{{1}}}|x24px7}} > 1 | <small>x{{Event data: {{{1}}}|7}} }} }}</small>| {{#if: {{Event data: {{{1}}}|8}} | {{Event data: {{{1}}}|8}}/{{Event data: {{{1}}}|9}} <!---->{{#if: {{Event data: {{{1}}}|10}} | <small>''+{{Event data: {{{1}}}|10}}''</small>}} | <small>''unlimited''</small>}}| style="padding: 2px" | {{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|[[File:event-color_restrict.png|x24px|A node can only be played by a certain Planeswalkerchoice restricted by color|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|[[File:event-locked_nodes.png|x24px|Planeswalker choice can't be changed once made|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|pw_restrict}}|[[File:event-pw_restrict.png|x24px|A node can only be played by a certain Planeswalker|link=#Icon descriptions]]}}| style="padding: 2px" | {{#if: {{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|[[File:event-boss_hp.png|x24px|Boss Health event|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|duel_decks}}|[[File:event-duel_decks.png|x24px|Duel Decks event|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|perm_support}}|[[File:event-perm_support.png|x24px|Permanent support affects play|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|special_rules}}|[[File:event-special_rules.png|x24px|Special rules affect play|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|bonus_cards}}|[[File:event-bonus_cards.png|x24px|Bonus cards are added to hand|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|starting_cards}}|[[File:event-starting_cards.png|x24px|Game begins with cards in play|link=#Icon descriptions]]}}| style="padding: 2px" | {{#if: {{#pos:{{Event data: {{{1}}}|11}}|enraged}}|[[File:event-enraged.png|x24px|Enraged (2x damage after 5 turns)|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|supercharged}}|[[File:event-supercharged.png|x24px|Supercharged (2x mana after 5 turns)|link=#Icon descriptions]]}}<!---->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|legendary}}|[[File:event-legendary.png|x24px|Legendary (2x damage and mana after 3 turns)|link=#Icon descriptions]]}}</includeonly>