Difference between revisions of "Template:EventTableRow"

From mtgpq wiki
Jump to: navigation, search
Line 8: Line 8:
 
{{EventTableRow|A World Reborn}}
 
{{EventTableRow|A World Reborn}}
 
{{EventTableRow|Across Ixalan}}
 
{{EventTableRow|Across Ixalan}}
 +
{{EventTableRow|Duel Decks: Zendikar vs Eldrazi}}
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 14: Line 15:
 
{{EventTableRow|A World Reborn}}
 
{{EventTableRow|A World Reborn}}
 
{{EventTableRow|Across Ixalan}}
 
{{EventTableRow|Across Ixalan}}
 +
{{EventTableRow|Duel Decks: Zendikar vs Eldrazi}}
 
|}
 
|}
  
Line 31: Line 33:
 
| style="background: #22354b; text-align: center;" | {{#if: {{#pos:{{Event data: {{{1}}}|4}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!--
 
| style="background: #22354b; text-align: center;" | {{#if: {{#pos:{{Event data: {{{1}}}|4}}|progression}}|[[File:reward-progression.png|x24px|Progression rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|placement}}|[[File:reward-placement.png|x24px|Placement rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}<!--
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}
+
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|[[File:reward-coalition.png|x24px|Coalition rewards|link=#Icon descriptions]]|<!--
 +
-->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|winning-side}}|[[File:reward-winning-side.png|x24px|Winning side rewards|link=#Icon descriptions]]|[[File:reward-blank.png|x24px]]}}}}
 
| style="text-align:center" | {{Event data: {{{1}}}|6}}{{#if:{{Event data: {{{1}}}|7}} | {{#ifexpr:{{Event data: {{{1}}}|7}} > 1 | <small>x{{Event data: {{{1}}}|7}} }} }}</small>
 
| style="text-align:center" | {{Event data: {{{1}}}|6}}{{#if:{{Event data: {{{1}}}|7}} | {{#ifexpr:{{Event data: {{{1}}}|7}} > 1 | <small>x{{Event data: {{{1}}}|7}} }} }}</small>
 
| {{#if: {{Event data: {{{1}}}|8}} | {{Event data: {{{1}}}|8}}/{{Event data: {{{1}}}|9}} <small>''+{{Event data: {{{1}}}|10}}''</small> | -}}
 
| {{#if: {{Event data: {{{1}}}|8}} | {{Event data: {{{1}}}|8}}/{{Event data: {{{1}}}|9}} <small>''+{{Event data: {{{1}}}|10}}''</small> | -}}

Revision as of 05:24, 25 May 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}}

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