Difference between revisions of "Template:EventTableRow"
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}} | <small>({{Event data: {{{1}}}|2}})</small>}} }}<!-- | -->{{#if: {{Event data: {{{1}}}|2}} | <small>({{Event data: {{{1}}}|2}})</small>}} }}<!-- | ||
-->{{#if: {{Event data: {{{1}}}|5}} | <span style="color:#808080"><small>{{nowrap|''(entry {{Event data: {{{1}}}|5}} [[File:crystal.png|x14px]])''}}</small></span>}} | -->{{#if: {{Event data: {{{1}}}|5}} | <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 (AWR) | DOM | 2x3 | 2/5 +8h | |||||
---|---|---|---|---|---|---|---|---|
Across Ixalan (AX) | XLN | 4 | 2/3 +2h |