Open main menu

mtgpq wiki β

Changes

Template:PWLevelTableRow

2,327 bytes added, 03:59, 2 January 2019
Created page with "<noinclude> == Usage == This template produces a row in the Planeswalker level table. == Example == This shorthand within a table <pre><nowiki>{{PWLevelTableRow |1| 1-5 | 3,+..."
<noinclude>
== Usage ==
This template produces a row in the Planeswalker level table.

== Example ==
This shorthand within a table
<pre><nowiki>{{PWLevelTableRow |1| 1-5 | 3,+1,-1,-1,+1,-1,0 | 1,6,3,2 | 2,32 | 1220}}
{{PWLevelTableRow |1| | | 6,'''7''',3,2 | | }}
{{PWLevelTableRow |1| | | | 2,35 | }}
{{PWLevelTableRow |1| | 6,'''+2''',-1,-1,+1,-1,0 | | | }}
{{PWLevelTableRow |1| | | | 2,38 | }}
{{PWLevelTableRow |2| 6-10 | | | | 4580}}
{{PWLevelTableRow |2| | | | 2,41 | }}
{{PWLevelTableRow |2| | | 6,'''7''',3,4 | | }}
{{PWLevelTableRow |2| | | | 2,44 | }}
{{PWLevelTableRow |2| | 6,+2,-1,-1,'''+2''',-1,0 | | | }}</nowiki></pre>

Produces:
{| class="wikitable"
{{PWLevelTableRow |1| 1-5 | 3,+1,-1,-1,+1,-1,0 | 1,6,3,2 | 2,32 | 1220}}
{{PWLevelTableRow |1| | | 6,'''7''',3,2 | | }}
{{PWLevelTableRow |1| | | | 2,35 | }}
{{PWLevelTableRow |1| | 6,'''+2''',-1,-1,+1,-1,0 | | | }}
{{PWLevelTableRow |1| | | | 2,38 | }}
{{PWLevelTableRow |2| 6-10 | | | | 4580}}
{{PWLevelTableRow |2| | | | 2,41 | }}
{{PWLevelTableRow |2| | | 6,'''7''',3,4 | | }}
{{PWLevelTableRow |2| | | | 2,44 | }}
{{PWLevelTableRow |2| | 6,+2,-1,-1,'''+2''',-1,0 | | | }}
|}

</noinclude><includeonly>|- style="height: 9px;"
{{#if: {{{2|}}} | {{!}} rowspan="5" {{AltTableStyle{{{1}}}}} {{!}} {{{2}}} | }}
| {{AltTableStyle{{{1}}}}} |
{{#if: {{{3|}}} | {{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{!}} {{#explode:{{{3}}}|,|1}} {{!}}{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{!}} {{#explode:{{{3}}}|,|2}} {{!}}{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{!}} {{#explode:{{{3}}}|,|3}} {{!}}{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{!}} {{#explode:{{{3}}}|,|4}} {{!}}{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{!}} {{#explode:{{{3}}}|,|5}} {{!}}{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{!}} {{#explode:{{{3}}}|,|6}} | }}
| {{AltTableStyle{{{1}}}}} |
{{#if: {{{4|}}} | {{!}} rowspan="{{#explode:{{{4}}}|,|0}}" {{!}} {{#explode:{{{4}}}|,|1}} {{!}}{{!}} rowspan="{{#explode:{{{4}}}|,|0}}" {{!}} {{#explode:{{{4}}}|,|2}} {{!}}{{!}} rowspan="{{#explode:{{{4}}}|,|0}}" {{!}} {{#explode:{{{4}}}|,|3}} | }}
| {{AltTableStyle{{{1}}}}} |
{{#if: {{{5|}}} | {{!}} rowspan="{{#explode:{{{5}}}|,|0}}" {{!}} {{#explode:{{{5}}}|,|1}} | }}
| {{AltTableStyle{{{1}}}}} |
{{#if: {{{6|}}} | {{!}} rowspan="5" valign="bottom" {{AltTableStyle{{{1}}}}} {{!}} {{{6}}} | }}</includeonly>