Difference between revisions of "Template:EventTableRow"
Line 20: | Line 20: | ||
-->{{#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>}} | ||
− | | {{SetSymbol|{{Event data: {{{1}}}|14}}}} [[{{Event data: {{{1}}}|14}}]] | + | | {{#if:{{Event data: {{{1}}}|14}}|{{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 01:57, 16 March 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 |