Template:Colorsquare

A utility template currently used by character 2. When passed a parameter containing a perbang.dk URL, it will display a square of that color and then whatever the parameter was. The presence of at least one line break in the parameter will disable the square. If multiple links are present, only the first will be shown; if there are exactly two URLs, the square will have a character in it the color of the second one. Defining a second parameter makes the template not display the given parameter (this is for using the template manually). If defining the second parameter, you can also pass simply the hex color code (six digits) as the first parameter. Feel free to make suggestions for this template (or others).