Difference between revisions of "Template:EventTableRow"

From mtgpq wiki
Jump to: navigation, search
Line 15: Line 15:
 
{{EventTableRow|Across Ixalan}}
 
{{EventTableRow|Across Ixalan}}
 
|}
 
|}
 +
 
</noinclude><includeonly>|-
 
</noinclude><includeonly>|-
! style="text-align: left;" | {{nowrap| [[{{Event data: {{{1}}}|1}}]]<!--
+
! style="text-align: left;" | {{nowrap| [[{{Event data: {{{1}}}|1}}|{{#explode:{{Event data: {{{1}}}|1}}|(|0}}]]<!--
 
-->{{#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>}}

Revision as of 07:22, 28 February 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}}

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