Difference between revisions of "Template:PW"

From mtgpq wiki
Jump to: navigation, search
 
Line 1: Line 1:
<noinclude>Shorthand for creating entries for {{tl|Planeswalker}}.
+
<noinclude>
  
Parameters are as follows:
+
==Usage==
* <code><nowiki>{{{1}}}</nowiki></code>: Name of the planeswalker's article, which should also be their full name.
+
Generates an entry for the Planeswalker navbox, [[Template:Planeswalker]].
* <code><nowiki>{{{2}}}</nowiki></code>: A list of letters identifying that planeswalker's colors.
+
 
** Standard WUBRG for the color pie, plus C for colorless.
+
The only parameter is the full Planeswalker name.
  
 
== Example ==
 
== Example ==
Line 10: Line 10:
  
 
<code><nowiki>
 
<code><nowiki>
{{PW|Nicol Bolas, God-Pharaoh|UBR}}
+
{{PW|Nicol Bolas, God-Pharaoh}}
 
</nowiki></code>
 
</nowiki></code>
  
 
Produces:
 
Produces:
{{PW|Nicol Bolas, God-Pharaoh|UBR}}
+
{{PW|Nicol Bolas, God-Pharaoh}}
  
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
</noinclude><includeonly>{{nowrap | [[{{{1}}}]] ({{Color Icons|{{{2}}}}})}}</includeonly>
+
</noinclude><includeonly>{{nowrap | [[{{{1}}}]] ({{Color Icons|{{PW data: {{{1}}}|7}}}})}}</includeonly>

Latest revision as of 01:27, 10 March 2019


Usage

Generates an entry for the Planeswalker navbox, Template:Planeswalker.

The only parameter is the full Planeswalker name.

Example

This shorthand:

{{PW|Nicol Bolas, God-Pharaoh}}

Produces: Nicol Bolas, God-Pharaoh (BlueBlackRed)