Board Thread:Support Requests - Getting Technical/@comment-44900715-20200121021318

I'm attempting to create a template using WdsTooltips from ImportJS. I'll later use that in a Scribunto template to generate a link to an appropriate link to the page with a brief tooltip of the in-game explanation and in the case of certain types of link, an image, for ease of viewing. However, when using Visual Editor, using insert->template inserts it onto a new line, breaking the formatting of the page. I'd like to be able to insert it inline, rather than on a new line, to mimic what the page _actually_ looks like once it is saved.

As an example of this issue, take a look at https://slay-the-spire.fandom.com/wiki/User:Qrql/Page2 : the actual page itself looks correct, but once you click edit and open the Visual Editor, the formatting is completely broken Additionally, using the classic editor produces even more issues, although this is a lower priority fix than the visual editor.

How do I fix my template so that it can be inserted in-line without breaking the formatting as above, and if possible, how would I fix it in the classic editor as well?  