Difference between revisions of "Template:PWLevelTableRow"

From mtgpq wiki
Jump to: navigation, search
(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,+...")
 
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== Example ==
 
== Example ==
 
This shorthand within a table
 
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}}
+
<pre><nowiki>{{PWLevelTableRow |1| 1-5,1220 | 3,+1,-1,-1,+1,-1,0 | 1,6,3,2 | 2,32 | 5,0 | 10,0 | 10,0 | WR}}
{{PWLevelTableRow |1| | | 6,'''7''',3,2 | | }}
+
{{PWLevelTableRow |1| | | 6,'''7''',3,2 | | | | | WR}}
{{PWLevelTableRow |1| | | | 2,35 | }}
+
{{PWLevelTableRow |1| | | | 2,35 | | | | WR}}
{{PWLevelTableRow |1| | 6,'''+2''',-1,-1,+1,-1,0 | | | }}
+
{{PWLevelTableRow |1| | 6,'''+2''',-1,-1,+1,-1,0 | | | | | | WR}}
{{PWLevelTableRow |1| | | | 2,38 | }}
+
{{PWLevelTableRow |1| | | | 2,38 | | | | WR}}
{{PWLevelTableRow |2| 6-10 | | | | 4580}}
+
{{PWLevelTableRow |2| 6-10,4580 | | | | 5,1 | | | WR}}
{{PWLevelTableRow |2| | | | 2,41 | }}
+
{{PWLevelTableRow |2| | | | 2,41 | | | | WR}}
{{PWLevelTableRow |2| | | 6,'''7''',3,4 | | }}
+
{{PWLevelTableRow |2| | | 6,'''7''',3,4 | | | | | WR}}
{{PWLevelTableRow |2| | | | 2,44 | }}
+
{{PWLevelTableRow |2| | | | 2,44 | | | | WR}}
{{PWLevelTableRow |2| | 6,+2,-1,-1,'''+2''',-1,0 | | | }}</nowiki></pre>
+
{{PWLevelTableRow |2| | 6,+2,-1,-1,'''+2''',-1,0 | | | | | | WR}}</nowiki></pre>
  
 
Produces:
 
Produces:
 
{| class="wikitable"
 
{| class="wikitable"
{{PWLevelTableRow |1| 1-5 | 3,+1,-1,-1,+1,-1,0 | 1,6,3,2 | 2,32 | 1220}}
+
{{PWLevelTableRow |1| 1-5,1220 | 3,+1,-1,-1,+1,-1,0 | 1,6,3,2 | 2,32 | 5,0 | 10,0 | 10,0 | WR}}
{{PWLevelTableRow |1| | | 6,'''7''',3,2 | | }}
+
{{PWLevelTableRow |1| | | 6,'''7''',3,2 | | | | | WR}}
{{PWLevelTableRow |1| | | | 2,35 | }}
+
{{PWLevelTableRow |1| | | | 2,35 | | | | WR}}
{{PWLevelTableRow |1| | 6,'''+2''',-1,-1,+1,-1,0 | | | }}
+
{{PWLevelTableRow |1| | 6,'''+2''',-1,-1,+1,-1,0 | | | | | | WR}}
{{PWLevelTableRow |1| | | | 2,38 | }}
+
{{PWLevelTableRow |1| | | | 2,38 | | | | WR}}
{{PWLevelTableRow |2| 6-10 | | | | 4580}}
+
{{PWLevelTableRow |2| 6-10,4580 | | | | 5,1 | | | WR}}
{{PWLevelTableRow |2| | | | 2,41 | }}
+
{{PWLevelTableRow |2| | | | 2,41 | | | | WR}}
{{PWLevelTableRow |2| | | 6,'''7''',3,4 | | }}
+
{{PWLevelTableRow |2| | | 6,'''7''',3,4 | | | | | WR}}
{{PWLevelTableRow |2| | | | 2,44 | }}
+
{{PWLevelTableRow |2| | | | 2,44 | | | | WR}}
{{PWLevelTableRow |2| | 6,+2,-1,-1,'''+2''',-1,0 | | | }}
+
{{PWLevelTableRow |2| | 6,+2,-1,-1,'''+2''',-1,0 | | | | | | WR}}
 
|}
 
|}
  
 
</noinclude><includeonly>|- style="height: 9px;"
 
</noinclude><includeonly>|- style="height: 9px;"
{{#if: {{{2|}}} | {{!}} rowspan="5" {{AltTableStyle{{{1}}}}} {{!}} {{{2}}} | }}
+
{{#if: {{{2|}}} | {{!}} rowspan="5" {{AltTableStyle{{{1}}}}} {{!}} '''{{#explode:{{{2}}}|,|0}}'''
 +
<small>{{#explode:{{{2}}}|,|1}}</small>[[File:Rune.png|x16px]]
 +
| }}
 
| {{AltTableStyle{{{1}}}}} |
 
| {{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}} | }}
+
{{#if: {{{3|}}} | <!--
 +
-->{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{#if: {{#pos:{{{9}}}|W}} | {{CellTintW}} | }} {{!}} {{#explode:{{{3}}}|,|1}} {{!}}<!--
 +
-->{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{#if: {{#pos:{{{9}}}|U}} | {{CellTintU}} | }} {{!}} {{#explode:{{{3}}}|,|2}} {{!}}<!--
 +
-->{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{#if: {{#pos:{{{9}}}|B}} | {{CellTintB}} | }} {{!}} {{#explode:{{{3}}}|,|3}} {{!}}<!--
 +
-->{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{#if: {{#pos:{{{9}}}|R}} | {{CellTintR}} | }} {{!}} {{#explode:{{{3}}}|,|4}} {{!}}<!--
 +
-->{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{#if: {{#pos:{{{9}}}|G}} | {{CellTintG}} | }} {{!}} {{#explode:{{{3}}}|,|5}} {{!}}<!--
 +
-->{{!}} rowspan="{{#explode:{{{3}}}|,|0}}" {{!}} {{#explode:{{{3}}}|,|6}} | }}
 
| {{AltTableStyle{{{1}}}}} |
 
| {{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}} | }}
 
{{#if: {{{4|}}} | {{!}} rowspan="{{#explode:{{{4}}}|,|0}}" {{!}} {{#explode:{{{4}}}|,|1}} {{!}}{{!}} rowspan="{{#explode:{{{4}}}|,|0}}" {{!}} {{#explode:{{{4}}}|,|2}} {{!}}{{!}} rowspan="{{#explode:{{{4}}}|,|0}}" {{!}} {{#explode:{{{4}}}|,|3}} | }}
Line 39: Line 47:
 
{{#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="5" valign="bottom" {{AltTableStyle{{{1}}}}} {{!}} {{{6}}} | }}</includeonly>
+
{{#if: {{{6|}}} | {{!}} rowspan="{{#explode:{{{6}}}|,|0}}" {{!}} [[File:AbilityLev{{#explode:{{{6}}}|,|1}}.png|x24px]] |}}<!--
 +
-->{{#if: {{{7|}}} | {{#if: {{{6|}}} | {{!}}{{!}} | {{!}} }} rowspan="{{#explode:{{{7}}}|,|0}}" {{!}} [[File:AbilityLev{{#explode:{{{7}}}|,|1}}.png|x24px]] |}}<!--
 +
-->{{#if: {{{8|}}} | {{#if: {{{6|}}}{{{7|}}} | {{!}}{{!}} | {{!}} }} rowspan="{{#explode:{{{8}}}|,|0}}" {{!}} [[File:AbilityLev{{#explode:{{{8}}}|,|1}}.png|x24px]] |}}
 +
| {{AltTableStyle{{{1}}}}} | </includeonly>

Latest revision as of 13:22, 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 | 10,0 | 10,0 | WR}}
{{PWLevelTableRow |1| | | 6,'''7''',3,2 | | | | | WR}}
{{PWLevelTableRow |1| | | | 2,35 | | | | WR}}
{{PWLevelTableRow |1| | 6,'''+2''',-1,-1,+1,-1,0 | | | | | | WR}}
{{PWLevelTableRow |1| | | | 2,38 | | | | WR}}
{{PWLevelTableRow |2| 6-10,4580 | | | | 5,1 | | | WR}}
{{PWLevelTableRow |2| | | | 2,41 | | | | WR}}
{{PWLevelTableRow |2| | | 6,'''7''',3,4 | | | | | WR}}
{{PWLevelTableRow |2| | | | 2,44 | | | | WR}}
{{PWLevelTableRow |2| | 6,+2,-1,-1,'''+2''',-1,0 | | | | | | WR}}

Produces:

1-5

1220Rune.png

+1 -1 -1 +1 -1 0 6 3 2 32 AbilityLev0.png AbilityLev0.png 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