Difference between revisions of "Template:EventTableRow"

From mtgpq wiki
Jump to: navigation, search
Line 24: Line 24:
 
-->{{#if: {{Event data: {{{1}}}|2}} |&nbsp;<small>({{Event data: {{{1}}}|2}})</small>}} }}<!--
 
-->{{#if: {{Event data: {{{1}}}|2}} |&nbsp;<small>({{Event data: {{{1}}}|2}})</small>}} }}<!--
 
-->{{#if: {{Event data: {{{1}}}|5}} |&nbsp;<span style="color:#808080"><small>{{nowrap|''(entry {{Event data: {{{1}}}|5}} [[File:crystal.png|x14px]])''}}</small></span>}}
 
-->{{#if: {{Event data: {{{1}}}|5}} |&nbsp;<span style="color:#808080"><small>{{nowrap|''(entry {{Event data: {{{1}}}|5}} [[File:crystal.png|x14px]])''}}</small></span>}}
| {{#if:{{Event data: {{{1}}}|14}}|{{SetSymbol|{{Event data: {{{1}}}|14}}}} [[{{Event data: {{{1}}}|14}}]]}}
+
| {{#if:{{Event data: {{{1}}}|14}}|{{Nowrap|{{SetSymbol|{{Event data: {{{1}}}|14}}}} [[{{Event data: {{{1}}}|14}}]]}}}}
 
| style="background: #22354b; text-align: center;" | {{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
| style="background: #22354b; text-align: center;" | {{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|legacy}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
[[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] | [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] }} }} }}<!--
 
[[File:pvp-leg-coa.png|x24px|PvP Legacy Coalition|link=#Icon descriptions]] | [[File:pvp-leg.png|x24px|PvP Legacy|link=#Icon descriptions]] }} }} }}<!--

Revision as of 10:46, 23 December 2019

Shorthand for creating a row of a table containing details of an event.

The only parameter is the event name. The event data is pulled from the associated event data template.

Example

This shorthand within a table

{{EventTableRow|A World Reborn}}
{{EventTableRow|Across Ixalan}}
{{EventTableRow|Duel Decks: Zendikar vs Eldrazi}}
{{EventTableRow|Planechasing Fblthp}}

Produces:

A World Reborn A World Reborn (AWR)   Dominaria DOM PvE Legacy Coalition Progression rewardsReward-blank.pngCoalition rewards 2x3 2/5 +8h Permanent support affects playBonus cards are added to hand
Across Ixalan Across Ixalan (AX)   Ixalan XLN PvP Legacy Progression rewardsReward-blank.pngReward-blank.png 4 2/3 +2h Special rules affect play
Duel Decks: Zendikar vs Eldrazi Duel Decks: Zendikar vs Eldrazi (ZvE)   Core Set 2019 M19 PvP Block restricted Progression rewardsReward-blank.pngWinning side rewards 2 3/12 +2h A node can only be played by a certain Planeswalker Duel Decks eventPermanent support affects play
Planechasing Fblthp Planechasing Fblthp (PF)   War of the Spark WAR PvE Legacy Progression rewardsReward-blank.pngReward-blank.png 1 5/5 Permanent support affects play