Difference between revisions of "Template:PWLevelTableRow"

From mtgpq wiki
Jump to: navigation, search
Line 41: Line 41:
 
{{#if: {{{5|}}} | {{!}} rowspan="{{#explode:{{{5}}}|,|0}}" {{!}} {{#explode:{{{5}}}|,|1}} | }}
 
{{#if: {{{5|}}} | {{!}} rowspan="{{#explode:{{{5}}}|,|0}}" {{!}} {{#explode:{{{5}}}|,|1}} | }}
 
| {{AltTableStyle{{{1}}}}} |
 
| {{AltTableStyle{{{1}}}}} |
{{#if: {{{6|}}} | {{!}} rowspan="{{#explode:{{{6}}}|,|0}}" {{!}} {{#explode:{{{6}}}|,|1}} {{!}}{{!}} rowspan="{{#explode:{{{6}}}|,|0}}" {{!}} {{#explode:{{{6}}}|,|2}} {{!}}{{!}} rowspan="{{#explode:{{{6}}}|,|0}}" {{!}} {{#explode:{{{6}}}|,|3}} | }}
+
{{#if: {{{6|}}} | {{!}} rowspan="{{#explode:{{{6}}}|,|0}}" {{!}} [[File:AbilityLev{{#explode:{{{6}}}|,|1}}.png|x24px]] {{!}}{{!}} rowspan="{{#explode:{{{6}}}|,|0}}" {{!}} [[File:AbilityLev{{#explode:{{{6}}}|,|2}}.png|x24px]] {{!}}{{!}} rowspan="{{#explode:{{{6}}}|,|0}}" {{!}} [[File:AbilityLev{{#explode:{{{6}}}|,|3}}.png|x24px]] | }}
 
| {{AltTableStyle{{{1}}}}} | </includeonly>
 
| {{AltTableStyle{{{1}}}}} | </includeonly>

Revision as of 08:01, 2 January 2019

Usage

This template produces a row in the Planeswalker level table.

Example

This shorthand within a table

{{PWLevelTableRow |1| 1-5,1220 | 3,+1,-1,-1,+1,-1,0 | 1,6,3,2 | 2,32 | 5,0,0,0 }}
{{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 | | | | 5,1,0,0}}
{{PWLevelTableRow |2| | | | 2,41 | | }}
{{PWLevelTableRow |2| | | 6,'''7''',3,4 | | | }}
{{PWLevelTableRow |2| | | | 2,44 | | }}
{{PWLevelTableRow |2| | 6,+2,-1,-1,'''+2''',-1,0 | | | | }}

Produces:

1-5

1220Rune.png

+1 -1 -1 +1 -1 0 6 3 2 32 AbilityLev0.png
7 3 2
35
+2 -1 -1 +1 -1 0
38
6-10

4580Rune.png

AbilityLev1.png
41
7 3 4
44
+2 -1 -1 +2 -1 0