Board Thread:Support Requests - Getting Technical/@comment-5645428-20160426031255/@comment-26143371-20160428194658

OK, so to summarise, if a newline is added in this case, MediaWiki removes is, if it isn't, MediaWiki adds one (didn't know about the second part). Great, very intuitive!

Iynque sadi:

I suppose a real "fix" would be to re-write MediaWiki's back-end wikitext parser to make it recognize what was intended (without breaking anything in the process). A bit beyond my abilities. :D Doing a fix as "upstream" as possible is usually the best solution, yes. But like you said this is practically impossible for various reasons.

From a editor's point of view it is certainly better and more convenient if both calls work correctly and if they don't have to worry about the design flaws in wikitext. That's why I called your solution a workaround. By a template's maintainer my suggestion would probably be considered a workaround (for a wikitext issue).

Adjusting the template means one person has to to do it and think of it once. Having the call with the newline not working correctly means that several people have to know that (none of the solutions seem to be obvious, otherwise OP wouldn't have asked in the first place) and think of it in potentially several hundred cases.