Template:Elite pack table span

From mtgpq wiki
Jump to: navigation, search

Usage

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

  • 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.

An alternative which occupies less horizontal space is Template:Elite pack table span 2.

Example

The following shorthand:

{| class="wikitable"
! 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19 || 20
|-
! A
{{Elite pack table span||3|KLD}}
{{Elite pack table span||3|AKH}}
{{Elite pack table span|1|3|HOU}}
{{Elite pack table span||1|XLN}}
{{Elite pack table span||1|RIX}}
{{Elite pack table span||3|DOM}}
{{Elite pack table span|3|3|M19}}
{{Elite pack table span|1|3|GRN}}
|-
! B
{{Elite pack table span||3|KLD}}
{{Elite pack table span|1|3|AKH}}
{{Elite pack table span||3|HOU}}
{{Elite pack table span||1|XLN}}
{{Elite pack table span|1|1|RIX}}
{{Elite pack table span||3|DOM}}
{{Elite pack table span||3|M19}}
{{Elite pack table span|2|3|GRN|vip}}
|}

Produces:

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
A     Hour of Devastation - Elite pack #1           Core Set 2019 - Elite pack #3 Guilds of Ravnica - Elite pack #1  
B   Amonkhet - Elite pack #1       Rivals of Ixalan - Elite pack #1       Guilds of Ravnica - Elite pack #2