Difference between revisions of "Template:Elite pack table span 2"

From mtgpq wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 66: Line 66:
  
 
</noinclude><includeonly>{{#if:{{{1|}}}|
 
</noinclude><includeonly>{{#if:{{{1|}}}|
{{!}} style={{#ifeq:{{{4|}}}|vip|"background:#edd340;|"background:#a20a90;"}} {{!}}{{SetSymbol|{{{3}}}||<!--
+
{{!}} style={{#ifeq:{{{4|}}}|vip|"background:#edd340;|"background:#a20a90;"}} {{!}}{{nowrap|{{SetSymbol|{{{3}}}||<!--
 
-->{{#switch:{{{3}}}
 
-->{{#switch:{{{3}}}
 
|KLD|AER|AKH|HOU=Elite pack card pools (KLD-HOU)#{{{3}}}{{{1}}}
 
|KLD|AER|AKH|HOU=Elite pack card pools (KLD-HOU)#{{{3}}}{{{1}}}
Line 73: Line 73:
 
|ELD|THB|IKO|M21=Elite pack card pools (ELD-M21)#{{{3}}}{{{1}}}
 
|ELD|THB|IKO|M21=Elite pack card pools (ELD-M21)#{{{3}}}{{{1}}}
 
|ZNR|KHM|STX|AFR=Elite pack card pools (ZNR-AFR)#{{{3}}}{{{1}}}
 
|ZNR|KHM|STX|AFR=Elite pack card pools (ZNR-AFR)#{{{3}}}{{{1}}}
|MID=Elite pack card pools (MID-)#{{{3}}}{{{1}}}
+
|MID|VOW|NEO|SNC=Elite pack card pools (MID-SNC)#{{{3}}}{{{1}}}
|#{{{3}}}}}|{{Set expand|{{{3}}}}} - Elite pack #{{{1}}}}}<small>'''&thinsp;{{{1}}}'''</small>|
+
|DMU|BRO=Elite pack card pools (DMU-)#{{{3}}}{{{1}}}
 +
|#{{{3}}}}}|{{Set expand|{{{3}}}}} - Elite pack #{{{1}}}}}<small>'''&thinsp;{{{1}}}'''</small>}}|
 
{{!}} style="{{#if:{{#pos:{{LegacySetList}}|{{{3}}}}}|{{TintLegacy}}|{{TintStandard}}}}" {{!}}&nbsp;}}</includeonly>
 
{{!}} style="{{#if:{{#pos:{{LegacySetList}}|{{{3}}}}}|{{TintLegacy}}|{{TintStandard}}}}" {{!}}&nbsp;}}</includeonly>

Latest revision as of 06:20, 15 December 2022

Usage

Generates a shorter span in an Elite pack tracking table, containing one highlighted cell.

An alternative to Template:Elite pack table span which occupies more horizontal space.

  • The first parameter (optional) is the number of the Elite pack within the set.
  • The second parameter is the total number of cells in the span (in the set).
  • The third parameter is the three-letter set abbreviation associated with the highlighted cell.
  • The fourth parameter is either "vip" or empty, indicating whether the elite pack's availability is VIP-only.

Example

The following shorthand:

{| class="wikitable"
! 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8
|-
! A
{{Elite pack table span 2||3|KLD}}
{{Elite pack table span 2||3|AKH}}
{{Elite pack table span 2|1|3|HOU}}
{{Elite pack table span 2||1|XLN}}
{{Elite pack table span 2||1|RIX}}
{{Elite pack table span 2||3|DOM}}
{{Elite pack table span 2|3|3|M19}}
{{Elite pack table span 2|1|3|GRN}}
|-
! B
{{Elite pack table span 2||3|KLD}}
{{Elite pack table span 2|1|3|AKH}}
{{Elite pack table span 2||3|HOU}}
{{Elite pack table span 2||1|XLN}}
{{Elite pack table span 2|1|1|RIX}}
{{Elite pack table span 2||3|DOM}}
{{Elite pack table span 2||3|M19}}
{{Elite pack table span 2|2|3|GRN|vip}}
|}

Produces:

0 1 2 3 4 5 6 7 8
A     Hour of Devastation - Elite pack #1 1       Core Set 2019 - Elite pack #3 3 Guilds of Ravnica - Elite pack #1 1
B   Amonkhet - Elite pack #1 1     Rivals of Ixalan - Elite pack #1 1     Guilds of Ravnica - Elite pack #2 2