Difference between revisions of "Template:PW"

From mtgpq wiki
Jump to: navigation, search
Line 9: Line 9:
 
This shorthand:
 
This shorthand:
  
<code><nowiki>{{PW|Nicol Bolas|UBR}}</nowiki></code>
+
<code><nowiki>
 +
{{PW|Nicol Bolas, God-Pharaoh|UBR}}
 +
</nowiki></code>
  
 
Produces:
 
Produces:
{{PW|Nicol Bolas, the Arisen|UBR}}
+
{{PW|Nicol Bolas, God-Pharaoh|UBR}}
  
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
</noinclude><includeonly>{{nowrap | [[{{{1}}}]] ({{replace|{{replace|{{replace|{{replace|{{replace|{{replace|{{{2}}}
+
</noinclude><includeonly>
|W|{{W}} }}
+
{{nowrap | [[{{{1}}}]] ({{Color Icons|{{{2}}}}})}}</includeonly>
|U|{{U}} }}
 
|B|{{B}} }}
 
|R|{{R}} }}
 
|G|{{G}} }}
 
|C|{{C}} }}) }}</includeonly>
 

Revision as of 04:11, 15 February 2019

Shorthand for creating entries for {{Planeswalker}}.

Parameters are as follows:

  • {{{1}}}: Name of the planeswalker's article, which should also be their full name.
  • {{{2}}}: A list of letters identifying that planeswalker's colors.
    • Standard WUBRG for the color pie, plus C for colorless.

Example

This shorthand:

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

Produces: Nicol Bolas, God-Pharaoh (BlueBlackRed)