Board Thread:Support Requests - Getting Technical/@comment-24714891-20140322191407/@comment-3032314-20140322202201

You added a line break between  and the start of the   function in Template:ElemColorMain and Template:ElemColorBorder. Those line breaks get turned into spaces, and interrupt your color codes (e.g. ).

To fix this, make sure there's nothing between  and the start of your template. For instance, change Template:ElemColorMain to:



You could also use HTML comments, if you want your code to be pretty:



Or you could incorporate the number sign into your template:





There are still going to be spaces on either end of the color code, but that probably doesn't matter in this case.

If you're worried that the number sign will be interpreted as a list, you could wrap it in  tags. That will only happen if you try to put a color code at the start of a blank line, though, which is pretty unlikely.