Difference between revisions of "Template:PW"

From mtgpq wiki
Jump to: navigation, search
Line 12: Line 12:
  
 
Produces:
 
Produces:
: {{PW|Nicol Bolas, the Arisen|UBR}}
+
 
 +
{{PW|Nicol Bolas, the Arisen|UBR}}
  
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
</noinclude><includeonly>
+
</noinclude><includeonly>[[{{{1}}}]] {{nowrap|({{replace|{{replace|{{replace|{{replace|{{replace|{{replace|{{{2}}}|W|{{W}}}}|U|{{U}}}}|B|{{B}}}}|R|{{R}}}}|G|{{G}}}}|C|{{C}}}})}}</includeonly>
{{nowrap|[[{{{1}}}]] ({{replace|{{replace|{{replace|{{replace|{{replace|{{replace|
 
{{{2}}}
 
|W|{{W}}}}
 
|U|{{U}}}}
 
|B|{{B}}}}
 
|R|{{R}}}}
 
|G|{{G}}}}
 
|C|{{C}}}})
 
}}</includeonly>
 

Revision as of 03:47, 6 January 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|UBR}}

Produces:

Nicol Bolas, the Arisen ()