Open main menu

mtgpq wiki β

Changes

Template:Elite pack table span

433 bytes removed, 08:49, 14 October 2021
no edit summary
==Usage==
Generates a span in an Elite pack tracking table, containing one highlighted cell.
 
An alternative which occupies less space is [[Template:Elite pack table span 2]].
* The first parameter (optional) is the number of the Elite pack within the set.
<pre><nowiki>
{| class="wikitable"
! 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19 || 20
|-
! A
{| class="wikitable"
! 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19 || 20
|-
! A
|}
</noinclude><includeonly>{{#if:{{{1|}}}|{{#ifexpr:{{{1}}} > 1|{{!}} colspan="{{#expr:{{{1}}} - 1}}" style="{{#if:{{#pos:{{LegacySetList}}|{{{3}}}}}|{{TintLegacy}}|{{TintStandard}}}}" {{!}}&nbsp;}}
{{!}} style={{#ifeq:{{{4|}}}|vip|"background:#edd340;|"background:#a20a90;"}} {{!}}{{SetSymbol|{{{3}}}||<!--
-->{{#switch:{{{3}}}
|ELD|THB|IKO|M21=Elite pack card pools (ELD-M21)#{{{3}}}{{{1}}}
|ZNR|KHM|STX|AFR=Elite pack card pools (ZNR-AFR)#{{{3}}}{{{1}}}
|#{{{3}}}}}|{{Set expand|{{{3}}}}} - Elite pack #{{{1}}}}}<!--<small>'''&thinsp;{{{1}}}'''</small>--><!---->{{#ifexpr:{{{2}}} - {{{1}}} > 0|<!----> {{!}}{{!}} colspan="{{#expr:{{{2}}} - {{{1}}}}}" style="{{#if:{{#pos:{{LegacySetList}}|{{{3}}}}}|{{TintLegacy}}|{{TintStandard}}}}" {{!}}&nbsp;}}|{{!}} colspan={{{2}}} style="{{#if:{{#pos:{{LegacySetList}}|{{{3}}}}}|{{TintLegacy}}|{{TintStandard}}}}" {{!}}&nbsp;}}</includeonly>