Template:Colors expand

From mtgpq wiki
Revision as of 01:04, 22 February 2019 by Volrak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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