Changes

Jump to: navigation, search

Template:Infobox PW

1,266 bytes added, 10:45, 26 January 2020
no edit summary
<noinclude>
==Template usage==
Generates an infobox for a Planeswalker using the Planeswalker's data template.
 
<nowiki>{{{image}}}</nowiki> and <nowiki>{{{aliases}}}</nowiki> - 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.
| headerstyle = {{Infobox sec|header}}
| labelstyle = {{Infobox sec|label|width=31%}}
| subheader = {{Portal icons|noicon=1}}
| above = {{PW data: {{{1}}}|1}}
| image = {{#if:{{PW data: {{{1}}}|3}}|[[File:{{PW data: {{{1}}}|3}}|250px]]}}
|'''{{#explode: {{PW data: {{{1}}}|8}}|,|4}}'''|{{#explode: {{PW data: {{{1}}}|8}}|,|4}}}}<!--
--></small>
| label11 = Leveling cost{{#if:{{#pos:{{PW data: {{{1}}}|17}}|,}}|Mana (flipped)}}| data11 = {{Runes#if:{{#pos:{{PW data: {{{1}}}|17}}|,}}|<small><!---->[[File:icon_W.png|x{{#expr:{{#explode: {{PW data: {{{1}}}|17}}|,|0}}+11}}px]]&thinsp;{{#ifexprif:{{#ifeqpos:{{PW data: {{{1}}}|7}}|CW}}|'''{{#explode: {{PW data: {{{1}}}|17}}|,|0}} and '''|{{#ifeqexplode:{{PW data: {{{1}}}|117}}|Ugin, the Spirit Dragon|0}}}}&nbsp;'''·'''&nbsp;<!---->[[File:icon_U.png|x{{#expr:{{#explode: {{PW data: {{{1}}}|17}}|323,750|1}}+11}}px]]&thinsp;{{#ifeqif:{{#lenpos:{{PW data: {{{1}}}|7}}|U}}|'''{{#explode: {{PW data: {{{1}}}|17}}|,|1}}'''|{{#explode: {{PW data: {{{1}}}|17}}|,|1}}}}&nbsp;'''·'''&nbsp;<!---->[[File:icon_B.png|x{{#expr:{{#explode: {{PW data: {{{1}}}|17}}|79,920|2}}+11}}px]]&thinsp;{{#ifeqif:{{#lenpos:{{PW data: {{{1}}}|7}}|B}}|'''{{#explode: {{PW data: {{{1}}}|17}}|,|2}}'''|{{#explode: {{PW data: {{{1}}}|17}}|,|2}}}}&nbsp;'''·'''&nbsp;<!---->[[File:icon_R.png|x{{#expr:{{#explode: {{PW data: {{{1}}}|17}}|160,720|3233}}+11}}px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|7}}|R}}|'''{{#explode: {{PW data: {{{1}}}|17}}|,750|3}}'''|{{#explode: {{PW data: {{{1}}}|17}}|,|3}}}}&nbsp;'''·'''&nbsp;<!---->[[File:icon_G.png| header12x{{#expr:{{#explode: {{PW data: {{{1}}}|17}}|,|4}}+11}}px]]&thinsp;{{#if: {{#pos:{{PW data: {{{1}}}|7}}|G}}|'''{{#explode: {{PW data: {{{1}}}|17}}|,|4}}'''|{{#explode: {{PW data: {{{1}}}|17}}|,|4}}}}<!----></small>}}| label12 = Leveling cost| data12 = {{Runes|{{PWLevel60Cost|{{{1}}}}}}}| header13= {{#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}}| label13 label14 = {{#if:{{PW data: {{{1}}}|11}}|Race}}| data13 data14 = {{#if:{{PW data: {{{1}}}|11}}|{{PW data: {{{1}}}|11}}}}| label14 label15 = {{#if:{{PW data: {{{1}}}|12}}|Birthplace}}| data14 data15 = {{#if:{{PW data: {{{1}}}|12}}|{{PW data: {{{1}}}|12}}}}| label15 label16 = {{#if:{{PW data: {{{1}}}|13}}|Allies}}| data15 data16 = {{#if:{{PW data: {{{1}}}|13}}|{{PW data: {{{1}}}|13}}}}| label16 label17 = {{#if:{{PW data: {{{1}}}|14}}|Enemies}}| data16 data17 = {{#if:{{PW data: {{{1}}}|14}}|{{PW data: {{{1}}}|14}}}}| label17 label18 = {{#if:{{PW data: {{{1}}}|15}}|Abilities}}| data17 data18 = {{#if:{{PW data: {{{1}}}|15}}|{{PW data: {{{1}}}|15}}}}| label18 label19 = {{#if:{{PW data: {{{1}}}|16}}|Planes}}| data18 data19 = {{#if:{{PW data: {{{1}}}|16}}|{{PW data: {{{1}}}|16}}}}
|belowstyle = background:#ddf;
|below =''' [[Planeswalkers]]''' &nbsp; <small>([[Template:Infobox PW|Infobox]] '''·''' [[Template:PW data: {{{1}}}|Data]])</small>
}}</includeonly>

Navigation menu