Hi! I long since wanted to make a heading that'll look as an image in the article body but still will be working with the toc and will look in the toc as text. Is it even possible or I have too wild of an imagination?
==[[File:Emoticon argh.png|link=]]<span style="display: none;">header3</span>==
==[[File:300px-The Final Creddie Kiss iGoodbye.jpg|50px|link=]]<span style="display: none;">header4</span>==
Great! I just wish I knew why it wasn't working here. The fact that it doesn't makes me worry that the solution might not be reliable. Please let me know if you run into any issues with it on your wiki.
This was the text I added, however I think (under speculation) that the TOC chooses the most predominant version typed, therefore Fngplg's version was the predominantly featured one, meaning that my text ended up on their version, I would think by that assumption, that pages with multiple TOC(s) would choose the dominant one to add the code to.
Anika-pigeon, are your images just the banner with text on it? If so, it would be better to set a blank banner as the background and use regular text as the visible text. Then you can avoid this whole hidden text thing but still get the general effect you want. Also, it would allow you to apply the banner to every header without needing a different image for each.
UpnCbs06, you tried noinclude and nowiki tags. Look back at my example carefully.