Difference between revisions of "Template:Elite pack table span"
| Line 12: | Line 12: | ||
<pre><nowiki> | <pre><nowiki> | ||
{| class="wikitable" | {| class="wikitable" | ||
| − | ! 1 || 2 || 3 || 4 || 5 || 6 | + | ! 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19 || 20 || |
|- | |- | ||
| − | {{Elite pack table span| | + | ! A |
| + | {{Elite pack table span|7|9|HOU}} | ||
| + | {{Elite pack table span|8|8|M19}} | ||
| + | {{Elite pack table span|1|3|GRN}} | ||
|- | |- | ||
| − | {{Elite pack table span| | + | ! B |
| − | + | {{Elite pack table span|4|9|HOU}} | |
| − | {{Elite pack table span|2| | + | {{Elite pack table span|2|8|M19}} |
{{Elite pack table span|2|3|GRN}} | {{Elite pack table span|2|3|GRN}} | ||
|} | |} | ||
| Line 26: | Line 29: | ||
{| class="wikitable" | {| class="wikitable" | ||
| − | ! 1 || 2 || 3 || 4 || 5 || 6 | + | ! 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19 || 20 |
| − | | | ||
| − | |||
|- | |- | ||
| − | {{Elite pack table span| | + | ! A |
| + | {{Elite pack table span|7|9|HOU}} | ||
| + | {{Elite pack table span|8|8|M19}} | ||
| + | {{Elite pack table span|1|3|GRN}} | ||
|- | |- | ||
| − | {{Elite pack table span|2| | + | ! B |
| + | {{Elite pack table span|4|9|HOU}} | ||
| + | {{Elite pack table span|2|8|M19}} | ||
{{Elite pack table span|2|3|GRN}} | {{Elite pack table span|2|3|GRN}} | ||
|} | |} | ||
| − | </noinclude><includeonly>{{#ifexpr:{{{1}}} > 1| | + | </noinclude><includeonly>{{#ifexpr:{{{1}}} > 1| |
| − | + | {{!}} colspan="{{#expr:{{{1}}} - 1}}" {{!}} }} | |
| − | + | | style="background:#a20a90;" | {{SetSymbol|{{{3}}}}}<!-- | |
-->{{#ifexpr:{{{2}}} - {{{1}}} > 0|<!-- | -->{{#ifexpr:{{{2}}} - {{{1}}} > 0|<!-- | ||
--> {{!}}{{!}} colspan="{{#expr:{{{2}}} - {{{1}}}}}" {{!}} }}</includeonly> | --> {{!}}{{!}} colspan="{{#expr:{{{2}}} - {{{1}}}}}" {{!}} }}</includeonly> | ||
[[Category:Event tip templates]] | [[Category:Event tip templates]] | ||
Revision as of 07:39, 10 March 2019
Usage
Generates a span in an Elite pack tracking table, containing one highlighted cell.
- The first parameter is which cell in the span to highlight.
- The second parameter is the total number of cells in the span.
- 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|7|9|HOU}}
{{Elite pack table span|8|8|M19}}
{{Elite pack table span|1|3|GRN}}
|-
! B
{{Elite pack table span|4|9|HOU}}
{{Elite pack table span|2|8|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 | ||||||||||||||||||||