Board Thread:General Coding Help/@comment-27399098-20161010235311

Hello. I am involved in 2 wikis, and i tried moving a template from one into another. I moved this template from the first wiki to the second one (here), and edited the code to change its style. However, now the template is forcing itself to be alone in a line, unlike in the first wiki, where it can be placed after a word like a reference mark. How can i fix this, and what is causing the problem? 