Difference between revisions of "Template:PW stats max level"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> == Usage == This template produces a table detailing a Planeswalker's stats at their maximum level. The only parameter is the full name of the Planeswalker. ==...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
This template produces a table detailing a Planeswalker's stats at their maximum level.
 
This template produces a table detailing a Planeswalker's stats at their maximum level.
  
The only parameter is the full name of the Planeswalker.
+
The first parameter is the full name of the Planeswalker.
 +
 
 +
A named parameter "flipped" may be present; if it's equal to 1 then the Planeswalker's Transformed stats are used instead.
  
 
== Example ==
 
== Example ==
 +
This shorthand:
 
<pre><nowiki>
 
<pre><nowiki>
This shorthand:
 
{{PWLevel60Stats | +3,+1,0,+2,+2,0 | 9,6,5 | 119 | 160720 | WG}}
 
 
{{PW stats max level|Ajani Vengeant}}
 
{{PW stats max level|Ajani Vengeant}}
 +
{{PW stats max level|Rowan Kenrith|flipped=1}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
Produces:
 
Produces:
{{PWLevel60Stats | +3,+1,0,+2,+2,0 | 9,6,5 | 119 | 160720 | WG}}
 
 
{{PW stats max level|Ajani Vengeant}}
 
{{PW stats max level|Ajani Vengeant}}
 +
{{PW stats max level|Rowan Kenrith|flipped=1}}
  
 
</noinclude>
 
</noinclude>
 
<includeonly>{| class="wikitable"
 
<includeonly>{| class="wikitable"
! colspan="11" style="text-align:left;" | {{{1}}} - level 60
+
! colspan="11" style="text-align:left;" | {{#ifeq:{{{flipped|}}}|1|{{PW data: {{{1}}}|4}} (Transformed)|{{{1}}}}} - level 60
 
|-
 
|-
 
! colspan="6" | Mana bonus
 
! colspan="6" | Mana bonus
Line 26: Line 28:
 
! Leveling cost
 
! Leveling cost
 
|-
 
|-
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|W}} | {{CellTintW}}{{!}} | }} {{Symbol|W|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|W}} | '''{{#explode: {{PW data: {{{1}}}|8}}|,|0}}''' | {{#explode: {{PW data: {{{1}}}|8}}|,|0}} }}
+
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|W}} | {{CellTintW}}{{!}} | }} {{Symbol|W|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|W}} | '''{{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|0}}''' | {{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|0}} }}
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|U}} | {{CellTintU}}{{!}} | }} {{Symbol|U|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|U}} | '''{{#explode: {{PW data: {{{1}}}|8}}|,|1}}''' | {{#explode: {{PW data: {{{1}}}|8}}|,|1}} }}
+
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|U}} | {{CellTintU}}{{!}} | }} {{Symbol|U|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|U}} | '''{{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|1}}''' | {{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|1}} }}
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|B}} | {{CellTintB}}{{!}} | }} {{Symbol|B|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|B}} | '''{{#explode: {{PW data: {{{1}}}|8}}|,|2}}''' | {{#explode: {{PW data: {{{1}}}|8}}|,|2}} }}
+
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|B}} | {{CellTintB}}{{!}} | }} {{Symbol|B|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|B}} | '''{{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|2}}''' | {{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|2}} }}
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|R}} | {{CellTintR}}{{!}} | }} {{Symbol|R|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|R}} | '''{{#explode: {{PW data: {{{1}}}|8}}|,|3}}''' | {{#explode: {{PW data: {{{1}}}|8}}|,|3}} }}
+
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|R}} | {{CellTintR}}{{!}} | }} {{Symbol|R|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|R}} | '''{{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|3}}''' | {{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|3}} }}
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|G}} | {{CellTintG}} {{!}} | }} {{Symbol|G|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|G}} | '''{{#explode: {{PW data: {{{1}}}|8}}|,|4}}''' | {{#explode: {{PW data: {{{1}}}|8}}|,|4}} }}
+
| {{#if: {{#pos:{{PW data: {{{1}}}|7}}|G}} | {{CellTintG}} {{!}} | }} {{Symbol|G|16}} {{#if: {{#pos:{{PW data: {{{1}}}|7}}|G}} | '''{{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|4}}''' | {{#explode: {{PW data: {{{1}}}|{{#ifeq:{{{flipped|}}}|1|17|8}}}}|,|4}} }}
 
| {{Symbol|L|16}} 0
 
| {{Symbol|L|16}} 0
 
| {{Creatures | {{#explode: {{PW data: {{{1}}}|9}}|,|0}} }}
 
| {{Creatures | {{#explode: {{PW data: {{{1}}}|9}}|,|0}} }}
Line 36: Line 38:
 
| {{Supports | {{#explode: {{PW data: {{{1}}}|9}}|,|2}} }}
 
| {{Supports | {{#explode: {{PW data: {{{1}}}|9}}|,|2}} }}
 
| {{#explode: {{PW data: {{{1}}}|10}}|,|0}}
 
| {{#explode: {{PW data: {{{1}}}|10}}|,|0}}
| {{Runes|{{#ifeq:{{PW data: {{{1}}}|7}}|C|323,750|{{#ifeq:{{#len:{{PW data: {{{1}}}|7}}|1}}|1|79,920|{{#ifeq:{{#len:{{PW data: {{{1}}}|7}}|1}}|2|160,720|323,750}}}}}}}}
+
| {{Runes|{{PWLevel60Cost|{{{1}}}}}}}
 
|}</includeonly>
 
|}</includeonly>

Latest revision as of 11:25, 20 March 2020


Usage

This template produces a table detailing a Planeswalker's stats at their maximum level.

The first parameter is the full name of the Planeswalker.

A named parameter "flipped" may be present; if it's equal to 1 then the Planeswalker's Transformed stats are used instead.

Example

This shorthand:

{{PW stats max level|Ajani Vengeant}}
{{PW stats max level|Rowan Kenrith|flipped=1}}

Produces:

Ajani Vengeant - level 60
Mana bonus Deck limits Health Leveling cost
White +3 Blue +1 Black 0 Red +2 Green +2 Loyalty 0 Creatures  9 Spells  6 Supports  5 119 160,720 Mana Runes
Will Kenrith (Transformed) - level 60
Mana bonus Deck limits Health Leveling cost
White +2 Blue +6 Black 0 Red 0 Green 0 Loyalty 0 Creatures  7 Spells  7 Supports  5 122 160,720 Mana Runes