Difference between revisions of "Template:EventTableRow"

From mtgpq wiki
Jump to: navigation, search
Line 9: Line 9:
 
{{EventTableRow|Across Ixalan}}
 
{{EventTableRow|Across Ixalan}}
 
{{EventTableRow|Duel Decks: Zendikar vs Eldrazi}}
 
{{EventTableRow|Duel Decks: Zendikar vs Eldrazi}}
 +
{{EventTableRow|Planechasing Fblthp}}
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 16: Line 17:
 
{{EventTableRow|Across Ixalan}}
 
{{EventTableRow|Across Ixalan}}
 
{{EventTableRow|Duel Decks: Zendikar vs Eldrazi}}
 
{{EventTableRow|Duel Decks: Zendikar vs Eldrazi}}
 +
{{EventTableRow|Planechasing Fblthp}}
 
|}
 
|}
  
Line 36: Line 38:
 
-->{{#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]]}}}}
 
-->{{#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}} <!--
 +
-->{{#if: {{Event data: {{{1}}}|10}} | <small>''+{{Event data: {{{1}}}|10}}''</small>}} | -}}
 
| {{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|[[File:event-color_restrict.png|x24px|Planeswalker choice restricted by color|link=#Icon descriptions]]}}<!--
 
| {{#if: {{#pos:{{Event data: {{{1}}}|11}}|color_restrict}}|[[File:event-color_restrict.png|x24px|Planeswalker choice restricted by color|link=#Icon descriptions]]}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|[[File:event-locked_nodes.png|x24px|Planeswalker choice can't be changed once made|link=#Icon descriptions]]}}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|11}}|locked_nodes}}|[[File:event-locked_nodes.png|x24px|Planeswalker choice can't be changed once made|link=#Icon descriptions]]}}<!--

Revision as of 00:56, 18 July 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