Difference between revisions of "Template:PW row mini"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude>Creates a row of info for a given Planeswalker. Can be used within or outside of a table. The only parameter is the full name of the Planeswalker. == Example ==...")
 
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
-->{{#if: {{PW data: {{{1}}}|3}}|[[File:{{PW data: {{{1}}}|3}}|x26px|link={{{1}}}|{{{1}}}]]|&nbsp; &nbsp; &nbsp; &thinsp;}} &nbsp;<!--
+
-->{{#if: {{PW data: {{{1}}}|3}}|[[File:{{PW data: {{{1}}}|3}}|x26px|link={{Trim|{{{1}}}}}|{{{1}}}]]|&nbsp; &nbsp; &nbsp; &thinsp;}} &nbsp;<!--
-->[[{{{1}}}]]&nbsp; '''·''' &nbsp;<!--
+
-->[[{{Trim|{{{1}}}}}]]&nbsp; '''·''' &nbsp;<!--
 
-->{{Color Icons|{{PW data: {{{1}}}|7}}}}&nbsp; '''·''' &nbsp;<!--
 
-->{{Color Icons|{{PW data: {{{1}}}|7}}}}&nbsp; '''·''' &nbsp;<!--
 
-->{{Creatures|{{#explode: {{PW data: {{{1}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Creatures|{{#explode: {{PW data: {{{1}}}|9}}|,|0}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Spells|{{#explode: {{PW data: {{{1}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
 
-->{{Spells|{{#explode: {{PW data: {{{1}}}|9}}|,|1}}}}&nbsp;'''·'''&nbsp;<!--
-->{{Supports|{{#explode: {{PW data: {{{1}}}|9}}|,|2}}}}<!--
+
-->{{Supports|{{#explode: {{PW data: {{{1}}}|9}}|,|2}}}} &nbsp;<!--
 
--></includeonly>
 
--></includeonly>

Latest revision as of 02:55, 27 October 2019

Creates a row of info for a given Planeswalker. Can be used within or outside of a table.

The only parameter is the full name of the Planeswalker.

Example

This shorthand

{{PW row mini|Ajani, Unyielding}}

{{PW row mini|Arlinn Kord}}

{{PW row mini|Gideon Blackblade}}

Produces:

Ajani, Unyielding  Ajani, Unyielding  ·  WhiteGreen  ·  Creatures 8 · Spells 5 · Supports 4  

Arlinn Kord  Arlinn Kord  ·  RedGreen  ·  Creatures 7 · Spells 6 · Supports 6  

Gideon Blackblade  Gideon Blackblade  ·  White  ·  Creatures 7 · Spells 6 · Supports 6