Difference between revisions of "Template:Infobox PW series"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Template usage== An infobox which lists each playable Planeswalker representing the same character. The first parameter is the Planeswalker character's name (n...")
 
 
(7 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
==Template usage==
 
==Template usage==
  
An infobox which lists each playable Planeswalker representing the same character.
+
An infobox which lists each playable Planeswalker representing the same character.  Normally invoked by a PW-specific template (e.g. [[Template:Infobox Ajani]]).
  
 
The first parameter is the Planeswalker character's name (not necessarily the name of a playable Planeswalker).
 
The first parameter is the Planeswalker character's name (not necessarily the name of a playable Planeswalker).
Line 19: Line 19:
 
|Sarkhan Unbroken
 
|Sarkhan Unbroken
 
}}
 
}}
 +
 +
{{Infobox Ajani}}
 
</pre>
 
</pre>
  
Line 28: Line 30:
 
|Sarkhan Unbroken
 
|Sarkhan Unbroken
 
}}
 
}}
 +
 +
{{Infobox Ajani}}
  
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
Line 34: Line 38:
 
| abovestyle  = {{Infobox sec|above}}
 
| abovestyle  = {{Infobox sec|above}}
 
| headerstyle  = {{Infobox sec|header}}
 
| headerstyle  = {{Infobox sec|header}}
| labelstyle  = {{Infobox sec|label|width=30%}}
+
| labelstyle  = {{Infobox sec|label|width=31%}}
 
| above  = Planeswalker series
 
| above  = Planeswalker series
 
| data1  = '''{{Trim|{{{1}}}}}'''
 
| data1  = '''{{Trim|{{{1}}}}}'''
| label2  = {{#if:{{{2|}}}|{{PW data: {{{2}}}|2}} {{Color Icons|{{PW data: {{{2}}}|7}}}}}}
+
| label2  = {{#if:{{{2|}}}|<!--
| data2  = {{#if:{{{2|}}}|{{SetSymbol|{{PW data: {{{2}}}|6}}}} [[{{Trim|{{{2}}}}}]]}}
+
-->{{#if:{{PW data: {{{2}}}|3}}|[[File:{{PW data: {{{2}}}|3}}|x20px|link={{{2}}}|{{{2}}}]]|{{Spacing|20px}}}}<!--
| label3  = {{#if:{{{3|}}}|{{PW data: {{{3}}}|2}} {{Color Icons|{{PW data: {{{3}}}|7}}}}}}
+
-->&nbsp;{{PW data: {{{2}}}|2}}<!--
| data3  = {{#if:{{{3|}}}|{{SetSymbol|{{PW data: {{{3}}}|6}}}} [[{{Trim|{{{3}}}}}]]}}
+
-->&nbsp;{{Color Icons|{{PW data: {{{2}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{2}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
| label4  = {{#if:{{{4|}}}|{{PW data: {{{4}}}|2}} {{Color Icons|{{PW data: {{{4}}}|7}}}}}}
+
| data2  = {{#if:{{{2|}}}|<!--{{SetSymbol|{{PW data: {{{2}}}|6}}}}--> [[{{Trim|{{{2}}}}}]]{{#if:{{PW data: {{{2}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
| data4  = {{#if:{{{4|}}}|{{SetSymbol|{{PW data: {{{4}}}|6}}}} [[{{Trim|{{{4}}}}}]]}}
+
| label3  = {{#if:{{{3|}}}|<!--
| label5  = {{#if:{{{5|}}}|{{PW data: {{{5}}}|2}} {{Color Icons|{{PW data: {{{5}}}|7}}}}}}
+
-->{{#if:{{PW data: {{{3}}}|3}}|[[File:{{PW data: {{{3}}}|3}}|x20px|link={{{3}}}|{{{3}}}]]|{{Spacing|20px}}}}<!--
| data5  = {{#if:{{{5|}}}|{{SetSymbol|{{PW data: {{{5}}}|6}}}} [[{{Trim|{{{5}}}}}]]}}
+
-->&nbsp;{{PW data: {{{3}}}|2}}<!--
| label6  = {{#if:{{{6|}}}|{{PW data: {{{6}}}|2}} {{Color Icons|{{PW data: {{{6}}}|7}}}}}}
+
-->&nbsp;{{Color Icons|{{PW data: {{{3}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{3}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
| data6  = {{#if:{{{6|}}}|{{SetSymbol|{{PW data: {{{6}}}|6}}}} [[{{Trim|{{{6}}}}}]]}}
+
| data3  = {{#if:{{{3|}}}|<!--{{SetSymbol|{{PW data: {{{3}}}|6}}}}--> [[{{Trim|{{{3}}}}}]]{{#if:{{PW data: {{{3}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
 
+
| label4  = {{#if:{{{4|}}}|<!--
 +
-->{{#if:{{PW data: {{{4}}}|3}}|[[File:{{PW data: {{{4}}}|3}}|x20px|link={{{4}}}|{{{4}}}]]|{{Spacing|20px}}}}<!--
 +
-->&nbsp;{{PW data: {{{4}}}|2}}<!--
 +
-->&nbsp;{{Color Icons|{{PW data: {{{4}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{4}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
 +
| data4  = {{#if:{{{4|}}}|<!--{{SetSymbol|{{PW data: {{{4}}}|6}}}}--> [[{{Trim|{{{4}}}}}]]{{#if:{{PW data: {{{4}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
 +
| label5  = {{#if:{{{5|}}}|<!--
 +
-->{{#if:{{PW data: {{{5}}}|3}}|[[File:{{PW data: {{{5}}}|3}}|x20px|link={{{5}}}|{{{5}}}]]|{{Spacing|20px}}}}<!--
 +
-->&nbsp;{{PW data: {{{5}}}|2}}<!--
 +
-->&nbsp;{{Color Icons|{{PW data: {{{5}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{5}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
 +
| data5  = {{#if:{{{5|}}}|<!--{{SetSymbol|{{PW data: {{{5}}}|6}}}}--> [[{{Trim|{{{5}}}}}]]{{#if:{{PW data: {{{5}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
 +
| label6  = {{#if:{{{6|}}}|<!--
 +
-->{{#if:{{PW data: {{{6}}}|3}}|[[File:{{PW data: {{{6}}}|3}}|x20px|link={{{6}}}|{{{6}}}]]|{{Spacing|20px}}}}<!--
 +
-->&nbsp;{{PW data: {{{6}}}|2}}<!--
 +
-->&nbsp;{{Color Icons|{{PW data: {{{6}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{6}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
 +
| data6  = {{#if:{{{6|}}}|<!--{{SetSymbol|{{PW data: {{{6}}}|6}}}}--> [[{{Trim|{{{6}}}}}]]{{#if:{{PW data: {{{6}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
 +
| label7  = {{#if:{{{7|}}}|<!--
 +
-->{{#if:{{PW data: {{{7}}}|3}}|[[File:{{PW data: {{{7}}}|3}}|x20px|link={{{7}}}|{{{7}}}]]|{{Spacing|20px}}}}<!--
 +
-->&nbsp;{{PW data: {{{7}}}|2}}<!--
 +
-->&nbsp;{{Color Icons|{{PW data: {{{7}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{7}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
 +
| data7  = {{#if:{{{7|}}}|<!--{{SetSymbol|{{PW data: {{{7}}}|6}}}}--> [[{{Trim|{{{7}}}}}]]{{#if:{{PW data: {{{7}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
 +
| label8  = {{#if:{{{8|}}}|<!--
 +
-->{{#if:{{PW data: {{{8}}}|3}}|[[File:{{PW data: {{{8}}}|3}}|x20px|link={{{8}}}|{{{8}}}]]|{{Spacing|20px}}}}<!--
 +
-->&nbsp;{{PW data: {{{8}}}|2}}<!--
 +
-->&nbsp;{{Color Icons|{{PW data: {{{8}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{8}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
 +
| data8  = {{#if:{{{8|}}}|<!--{{SetSymbol|{{PW data: {{{8}}}|6}}}}--> [[{{Trim|{{{8}}}}}]]{{#if:{{PW data: {{{8}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
 +
| label9  = {{#if:{{{9|}}}|<!--
 +
-->{{#if:{{PW data: {{{9}}}|3}}|[[File:{{PW data: {{{9}}}|3}}|x20px|link={{{9}}}|{{{9}}}]]|{{Spacing|20px}}}}<!--
 +
-->&nbsp;{{PW data: {{{9}}}|2}}<!--
 +
-->&nbsp;{{Color Icons|{{PW data: {{{9}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{9}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
 +
| data9  = {{#if:{{{9|}}}|<!--{{SetSymbol|{{PW data: {{{9}}}|6}}}}--> [[{{Trim|{{{9}}}}}]]{{#if:{{PW data: {{{9}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
 +
| label10  = {{#if:{{{10|}}}|<!--
 +
-->{{#if:{{PW data: {{{10}}}|3}}|[[File:{{PW data: {{{10}}}|3}}|x20px|link={{{10}}}|{{{10}}}]]|{{Spacing|20px}}}}<!--
 +
-->&nbsp;{{PW data: {{{10}}}|2}}<!--
 +
-->&nbsp;{{Color Icons|{{PW data: {{{10}}}|7}}|{{#expr:(4 - {{#len:{{PW data: {{{10}}}|7}}}}) * 5 + 4}}|||&thinsp;}}}}
 +
| data10  = {{#if:{{{10|}}}|<!--{{SetSymbol|{{PW data: {{{10}}}|6}}}}--> [[{{Trim|{{{10}}}}}]]{{#if:{{PW data: {{{10}}}|4}}|&nbsp;[[File:PW-transform-icon.png|x20px|link={{{1}}}|Transforms]]}}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 04:52, 14 October 2022

Template usage

An infobox which lists each playable Planeswalker representing the same character. Normally invoked by a PW-specific template (e.g. Template:Infobox Ajani).

The first parameter is the Planeswalker character's name (not necessarily the name of a playable Planeswalker).

Each following parameter is the full name of a Planeswalker who represents that character.

All Planeswalkers in a Planeswalker series are assumed to have an alias.

Example

This shorthand:

{{Infobox PW series
|Sarkhan Vol (human)
|Sarkhan the Mad
|Sarkhan, Fireblood
|Sarkhan Unbroken
}}

{{Infobox Ajani}}

Produces:

Planeswalker series
Sarkhan Vol (human)
Sarkhan the Mad S1 BlackRed Sarkhan the Mad
Sarkhan, Fireblood S2 Red Sarkhan, Fireblood
Sarkhan Unbroken S3 BlueRedGreen Sarkhan Unbroken
Planeswalker series
Ajani Goldmane (leonin)
Ajani Vengeant AJ1 WhiteRed Ajani Vengeant
Ajani, Unyielding AJ2 WhiteGreen Ajani, Unyielding
Ajani, Adversary of Tyrants AJ3 White Ajani, Adversary of Tyrants
Ajani, Strength of the Pride AJ4 White Ajani, Strength of the Pride
Ajani, Invigorate Leadership AJ5 White Ajani, Invigorate Leadership
Ajani, Sleeper Agent AJ6 WhiteGreen Ajani, Sleeper Agent