Open main menu

mtgpq wiki β

Changes

Template:Color Icons

510 bytes added, 03:43, 9 February 2019
Created page with "<noinclude> ==Usage== Replace a string representing one or more colours with a series of icons. The template parameter is a sequence of upper-case letters from the set WUBRGC..."
<noinclude>
==Usage==
Replace a string representing one or more colours with a series of icons.

The template parameter is a sequence of upper-case letters from the set WUBRGCL.

==Example==
The following mark-up:
<pre><nowiki>
{{Color Icons|UBR}}
</nowiki></pre>

Produces:

{{Color Icons|UBR}}

</noinclude><includeonly>{{nowrap|{{replace|{{replace|{{replace|{{replace|{{replace|{{replace|{{replace|
{{{1}}}
|W|{{W}} }}
|U|{{U}} }}
|B|{{B}} }}
|R|{{R}} }}
|G|{{G}} }}
|C|{{C}} }}
|L|{{L}} }}
}}</includeonly>