Open main menu

mtgpq wiki β

Template:Colors expand

Usage

Expands a string containing 1 to 5 one-letter color abbreviations into a comma-separated list of the colours as words.

The optional second parameter is either "and" or "or", for using a list of color names in a sentence.

Example

The following shorthand:

{{Colors expand|UBR}}

{{Colors expand|WR|or}}

Produces:

Blue, Black, Red

White or Red