Open main menu

mtgpq wiki β

Changes

Template:Elite pack table span

139 bytes added, 09:59, 14 March 2019
no edit summary
Generates a span in an Elite pack tracking table, containing one highlighted cell.
* The first parameter (optional) 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.
! B
{{Elite pack table span|4|9|HOU|2}}
{{Elite pack table span|2|84|M19|2}}{{Elite pack table span||4|M19|}}
{{Elite pack table span|2|3|GRN|3}}
|}
! B
{{Elite pack table span|4|9|HOU|2}}
{{Elite pack table span|2|84|M19|2}}{{Elite pack table span||4|M19|}}
{{Elite pack table span|2|3|GRN|3}}
|}
</noinclude><includeonly>{{#if:{{{1|}}}|{{#ifexpr:{{{1}}} > 1|
{{!}} colspan="{{#expr:{{{1}}} - 1}}" {{!}}&nbsp;}}
| {{!}} style="background:#a20a90;" |{{!}}{{SetSymbol|{{{3}}}||<!--
-->{{#switch:{{{3}}}
|KLD|AER|AKH|HOU=Elite pack card pools (KLD-HOU)#{{{3}}}
|#{{{3}}}}}|{{Set expand|{{{3}}}}} - Elite pack #{{{4}}}}}<!--<small>'''&thinsp;{{{4}}}'''</small>--><!--
-->{{#ifexpr:{{{2}}} - {{{1}}} > 0|<!--
--> {{!}}{{!}} colspan="{{#expr:{{{2}}} - {{{1}}}}}" {{!}}&nbsp;}}|{{!}} colspan={{{2}}} {{!}}&nbsp;}}</includeonly>