Difference between revisions of "Template:EventTableRow"

From mtgpq wiki
Jump to: navigation, search
Line 7: Line 7:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{EventTableRow|A World Reborn}}
 
{{EventTableRow|A World Reborn}}
 +
{{EventTableRow|Across Ixalan}}
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 12: Line 13:
 
{| class="wikitable"
 
{| class="wikitable"
 
{{EventTableRow|A World Reborn}}
 
{{EventTableRow|A World Reborn}}
 +
{{EventTableRow|Across Ixalan}}
 
|}
 
|}
 
</noinclude><includeonly>|-
 
</noinclude><includeonly>|-
Line 18: Line 20:
 
-->{{#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>}}
 
| [[{{Event data: {{{1}}}|14}}]]
 
| [[{{Event data: {{{1}}}|14}}]]
| style="background:#22354b" | {{#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]] }} }} }}<!--
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pvp}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
Line 26: Line 28:
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
-->{{#if: {{#pos:{{Event data: {{{1}}}|3}}|pve}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|standard}}|{{#if: {{#pos:{{Event data: {{{1}}}|3}}|coalition}}|
 
[[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#Icon descriptions]] | [[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] }} }} }}
 
[[File:pve-sta-coa.png|x24px|PvE Standard Coalition|link=#Icon descriptions]] | [[File:pve-sta.png|x24px|PvE Standard|link=#Icon descriptions]] }} }} }}
| style="background:#22354b" | {{#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]]|[[File:reward-blank.png|x24px]]}}

Revision as of 01:15, 15 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