Difference between revisions of "Template:Elite pack table span"
| Line 3: | Line 3: | ||
Generates a span in an Elite pack tracking table, containing one highlighted cell. | Generates a span in an Elite pack tracking table, containing one highlighted cell. | ||
| − | * The first parameter (optional) is | + | * 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. | + | * 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 third parameter is the three-letter set abbreviation associated with the highlighted cell. | ||
| − | |||
==Example== | ==Example== | ||
| Line 16: | Line 15: | ||
|- | |- | ||
! A | ! A | ||
| − | {{Elite pack table span| | + | {{Elite pack table span||3|KLD}} |
| − | {{Elite pack table span| | + | {{Elite pack table span||3|AKH}} |
| − | {{Elite pack table span|1|3|GRN | + | {{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 | ! B | ||
| − | {{Elite pack table span| | + | {{Elite pack table span||3|KLD}} |
| − | {{Elite pack table span| | + | {{Elite pack table span|1|3|AKH}} |
| − | {{Elite pack table span|| | + | {{Elite pack table span||3|HOU}} |
| − | {{Elite pack table span|2|3|GRN | + | {{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}} | ||
|} | |} | ||
</nowiki></pre> | </nowiki></pre> | ||
| Line 34: | Line 42: | ||
|- | |- | ||
! A | ! A | ||
| − | {{Elite pack table span| | + | {{Elite pack table span||3|KLD}} |
| − | {{Elite pack table span| | + | {{Elite pack table span||3|AKH}} |
| − | {{Elite pack table span|1|3|GRN | + | {{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 | ! B | ||
| − | {{Elite pack table span| | + | {{Elite pack table span||3|KLD}} |
| − | {{Elite pack table span| | + | {{Elite pack table span|1|3|AKH}} |
| − | {{Elite pack table span|| | + | {{Elite pack table span||3|HOU}} |
| − | {{Elite pack table span|2|3|GRN | + | {{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}} | ||
|} | |} | ||
| Line 51: | Line 68: | ||
|KLD|AER|AKH|HOU=Elite pack card pools (KLD-HOU)#{{{3}}} | |KLD|AER|AKH|HOU=Elite pack card pools (KLD-HOU)#{{{3}}} | ||
|XLN|RIX|DOM|M19|GRN|RNA=Elite pack card pools (XLN-RNA)#{{{3}}} | |XLN|RIX|DOM|M19|GRN|RNA=Elite pack card pools (XLN-RNA)#{{{3}}} | ||
| − | |#{{{3}}}}}|{{Set expand|{{{3}}}}} - Elite pack #{{{ | + | |#{{{3}}}}}|{{Set expand|{{{3}}}}} - Elite pack #{{{1}}}}}<!--<small>''' {{{1}}}'''</small>--><!-- |
-->{{#ifexpr:{{{2}}} - {{{1}}} > 0|<!-- | -->{{#ifexpr:{{{2}}} - {{{1}}} > 0|<!-- | ||
--> {{!}}{{!}} colspan="{{#expr:{{{2}}} - {{{1}}}}}" {{!}} }}| | --> {{!}}{{!}} colspan="{{#expr:{{{2}}} - {{{1}}}}}" {{!}} }}| | ||
{{!}} colspan={{{2}}} {{!}} }}</includeonly> | {{!}} colspan={{{2}}} {{!}} }}</includeonly> | ||
Revision as of 10:33, 14 March 2019
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.
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}}
|}
Produces:
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A | ||||||||||||||||||||
| B | ||||||||||||||||||||