Board Thread:General Discussion/@comment-15636815-20141127035711

I have found a way to eliminate the extra  inserted at the end of the output of cost. I propose making this change.

Background:
 * When cost receives only one parameter, such as "gold" or "gems", it returns the appropriate icon with the formatted number, and nothing else.
 * Example:  returns "". Everything fits on one line.
 * When cost receives more than one parameter, it adds a  tag after each icon, including the final icon.
 * Example:  returns "". The line feed after the  icon is necessary and desired. The line feed after the  icon is unnecessary and, in many cases, undesired. The unnecessary line feed frequently creates awkward formatting issues, such as the one in the first sentence of this paragraph.

By adding one simple parser function to the existing template, we can eliminate the final line feed while keeping the line feeds we want. To demonstrate, I copied cost to PellaTest, then added the necessary code. returns "". Voilà! No more formatting issues.

To prove that the modification also works with three parameters, please observe that  returns "". As you can see, all is well.

I considered simply making the change, then informing the community that I had improved the template. However, we have become accustomed to the current behaviour of the template, so I realized that we need to agree on this as a community before we change anything. At the very least, changing the template means that we must become accustomed to its new behaviour.

So, thoughts??? 