7,180
edits
Changes
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>
==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>