Board Thread:Support Requests - Designing Your Wiki/@comment-43285914-20200302204432/@comment-9605025-20200302211238

Source mode is essentially plain text with a few "simple" GUI components to make inserting things easier. If you want templates to appear a certain way in source mode, you will have to write it that way. Think of it like Window's Notepad program. The reason it appears like in your second box is that the VisualEditor and rich-text editor are programmed to write it that way. To change that would require changes to the code for those editors. I doubt FANDOM would be interested in tackling that at this point in time but it never hurts to ask. You can contact them using this. You could also ask around on the dev wiki. The users there will probably be able to tell you whether or not it is possible to write a script to change the behavior. Worse case scenario, you could probably just periodically run a script like MassEdit to find a replace the template calls.