Difference between revisions of "Template:Infobox PW"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Template usage== <nowiki>{{{image}}}</nowiki> and <nowiki>{{{aliases}}}</nowiki> - as well as all the lore fields - are hidden, if not specified . You can simply...")
 
Line 26: Line 26:
 
| data2  = {{#if:{{PW data: {{{1}}}|2}}|{{PW data: {{{1}}}|2}}}}
 
| data2  = {{#if:{{PW data: {{{1}}}|2}}|{{PW data: {{{1}}}|2}}}}
 
| label3  = Affinities
 
| label3  = Affinities
| data3  = {{Color Icons|{{PW data: {{{1}}}|6}}}}
+
| data3  = {{Color Icons|{{PW data: {{{1}}}|7}}}}
 
| label4  = Origin set
 
| label4  = Origin set
| data4  = {{SetSymbol|{{PW data: {{{1}}}|5}}}} {{Set expand|{{PW data: {{{1}}}|5}}}}
+
| data4  = {{SetSymbol|{{PW data: {{{1}}}|6}}}} {{Set expand|{{PW data: {{{1}}}|6}}}}
 
| header5 = Stats (max level)
 
| header5 = Stats (max level)
 
| label6  = Health
 
| label6  = Health
| data6  = {{PW data: {{{1}}}|9}}
+
| data6  = {{PW data: {{{1}}}|10}}
 
| label7  = Deck limits
 
| label7  = Deck limits
| data7  = {{Creatures|{{#explode: {{PW data: {{{1}}}|8}}|,|0}}}}&nbsp; '''·''' &nbsp;<!--
+
| data7  = {{Creatures|{{#explode: {{PW data: {{{1}}}|9}}|,|0}}}}&nbsp; '''·''' &nbsp;<!--
-->{{Spells|{{#explode: {{PW data: {{{1}}}|8}}|,|1}}}}&nbsp; '''·''' &nbsp;<!--
+
-->{{Spells|{{#explode: {{PW data: {{{1}}}|9}}|,|1}}}}&nbsp; '''·''' &nbsp;<!--
-->{{Supports|{{#explode: {{PW data: {{{1}}}|8}}|,|2}}}}
+
-->{{Supports|{{#explode: {{PW data: {{{1}}}|9}}|,|2}}}}
 
| label8  = Mana bonuses
 
| label8  = Mana bonuses
 
| data8  = <small><!--
 
| data8  = <small><!--
-->[[File:icon_W.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|6}}|W}}|'''{{#explode: {{PW data: {{{1}}}|7}}|,|0}}'''|{{#explode: {{PW data: {{{1}}}|7}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
+
-->[[File:icon_W.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|7}}|W}}|'''{{#explode: {{PW data: {{{1}}}|8}}|,|0}}'''|{{#explode: {{PW data: {{{1}}}|8}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
-->[[File:icon_U.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|6}}|U}}|'''{{#explode: {{PW data: {{{1}}}|7}}|,|1}}'''|{{#explode: {{PW data: {{{1}}}|7}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
+
-->[[File:icon_U.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|7}}|U}}|'''{{#explode: {{PW data: {{{1}}}|8}}|,|1}}'''|{{#explode: {{PW data: {{{1}}}|8}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
-->[[File:icon_B.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|6}}|B}}|'''{{#explode: {{PW data: {{{1}}}|7}}|,|2}}'''|{{#explode: {{PW data: {{{1}}}|7}}|,|2}}}}&nbsp;'''·'''&nbsp;<!--
+
-->[[File:icon_B.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|7}}|B}}|'''{{#explode: {{PW data: {{{1}}}|8}}|,|2}}'''|{{#explode: {{PW data: {{{1}}}|8}}|,|2}}}}&nbsp;'''·'''&nbsp;<!--
-->[[File:icon_R.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|6}}|R}}|'''{{#explode: {{PW data: {{{1}}}|7}}|,|3}}'''|{{#explode: {{PW data: {{{1}}}|7}}|,|3}}}}&nbsp;'''·'''&nbsp;<!--
+
-->[[File:icon_R.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|7}}|R}}|'''{{#explode: {{PW data: {{{1}}}|8}}|,|3}}'''|{{#explode: {{PW data: {{{1}}}|8}}|,|3}}}}&nbsp;'''·'''&nbsp;<!--
-->[[File:icon_G.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|6}}|G}}|'''{{#explode: {{PW data: {{{1}}}|7}}|,|4}}'''|{{#explode: {{PW data: {{{1}}}|7}}|,|4}}<!--
+
-->[[File:icon_G.png|x13px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|7}}|G}}|'''{{#explode: {{PW data: {{{1}}}|8}}|,|4}}'''|{{#explode: {{PW data: {{{1}}}|8}}|,|4}}<!--
 
--></small>}}
 
--></small>}}
 
| label9  = Leveling cost
 
| label9  = Leveling cost
| data9  = {{Runes|{{#ifeq:{{PW data: {{{1}}}|6}}|C|323,750|{{#ifeq:{{#len:{{PW data: {{{1}}}|6}}|1}}|1|79,920|{{#ifeq:{{#len:{{PW data: {{{1}}}|6}}|1}}|2|160,720|323,750}}}}}}}}
+
| data9  = {{Runes|{{#ifeq:{{PW data: {{{1}}}|6}}|C|323,750|{{#ifeq:{{#len:{{PW data: {{{1}}}|6}}|1}}|1|79,920|{{#ifeq:{{#len:{{PW data: {{{1}}}|7}}|1}}|2|160,720|323,750}}}}}}}}
| header10= {{#if:{{PW data: {{{1}}}|10}}{{PW data: {{{1}}}|11}}{{PW data: {{{1}}}|12}}{{PW data: {{{1}}}|13}}{{PW data: {{{1}}}|14}}{{PW data: {{{1}}}|15}}|Lore}}
+
| header10= {{#if:{{PW data: {{{1}}}|11}}{{PW data: {{{1}}}|12}}{{PW data: {{{1}}}|13}}{{PW data: {{{1}}}|14}}{{PW data: {{{1}}}|15}}{{PW data: {{{1}}}|16}}|Lore}}
| label11 = {{#if:{{PW data: {{{1}}}|10}}|Race}}
+
| label11 = {{#if:{{PW data: {{{1}}}|11}}|Race}}
| data11  = {{#if:{{PW data: {{{1}}}|10}}|{{PW data: {{{1}}}|10}}}}
 
| label11 = {{#if:{{PW data: {{{1}}}|11}}|Birthplace}}
 
 
| data11  = {{#if:{{PW data: {{{1}}}|11}}|{{PW data: {{{1}}}|11}}}}
 
| data11  = {{#if:{{PW data: {{{1}}}|11}}|{{PW data: {{{1}}}|11}}}}
| label11 = {{#if:{{PW data: {{{1}}}|12}}|Allies}}
+
| label11 = {{#if:{{PW data: {{{1}}}|12}}|Birthplace}}
 
| data11  = {{#if:{{PW data: {{{1}}}|12}}|{{PW data: {{{1}}}|12}}}}
 
| data11  = {{#if:{{PW data: {{{1}}}|12}}|{{PW data: {{{1}}}|12}}}}
| label11 = {{#if:{{PW data: {{{1}}}|13}}|Enemies}}
+
| label11 = {{#if:{{PW data: {{{1}}}|13}}|Allies}}
 
| data11  = {{#if:{{PW data: {{{1}}}|13}}|{{PW data: {{{1}}}|13}}}}
 
| data11  = {{#if:{{PW data: {{{1}}}|13}}|{{PW data: {{{1}}}|13}}}}
| label11 = {{#if:{{PW data: {{{1}}}|14}}|Abilities}}
+
| label11 = {{#if:{{PW data: {{{1}}}|14}}|Enemies}}
 
| data11  = {{#if:{{PW data: {{{1}}}|14}}|{{PW data: {{{1}}}|14}}}}
 
| data11  = {{#if:{{PW data: {{{1}}}|14}}|{{PW data: {{{1}}}|14}}}}
| label11 = {{#if:{{PW data: {{{1}}}|15}}|Planes}}
+
| label11 = {{#if:{{PW data: {{{1}}}|15}}|Abilities}}
 
| data11  = {{#if:{{PW data: {{{1}}}|15}}|{{PW data: {{{1}}}|15}}}}
 
| data11  = {{#if:{{PW data: {{{1}}}|15}}|{{PW data: {{{1}}}|15}}}}
 +
| label11 = {{#if:{{PW data: {{{1}}}|16}}|Planes}}
 +
| data11  = {{#if:{{PW data: {{{1}}}|16}}|{{PW data: {{{1}}}|16}}}}
 
|belowstyle = background:#ddf;
 
|belowstyle = background:#ddf;
 
|below      =''' [[Planeswalkers]]''' &nbsp; <small>([[Template:Infobox PW|Infobox]] '''·''' [[Template:PW data: {{{1}}}|Data]])</small>
 
|below      =''' [[Planeswalkers]]''' &nbsp; <small>([[Template:Infobox PW|Infobox]] '''·''' [[Template:PW data: {{{1}}}|Data]])</small>
 
}}</includeonly>
 
}}</includeonly>

Revision as of 03:02, 7 March 2019

Template usage

{{{image}}} and {{{aliases}}} - as well as all the lore fields - are hidden, if not specified . You can simply copy/paste the template below and fill in data (or remove lines) where necessary.

Example

Ajani Vengeant
EventsStoryPlaneswalkersCardsGuides
Ajani.png
Full Name Ajani Vengeant
Aliases AJ1
Affinities WhiteRed
Origin set Oath of the Gatewatch Oath of the Gatewatch
Cost 650 Mana Crystals
Stats (max level)
Health 119
Deck limits Creatures 9  ·  Spells 6  ·  Supports 5
Mana bonuses Icon W.png+3 · Icon U.png +1 · Icon B.png 0 · Icon R.png+2 · Icon G.png +2
Leveling cost 160,720 Mana Runes
Planeswalkers   (Infobox · Data)

The following shorthand:

{{Infobox PW|Ajani Vengeant}}

Produces: