I am trying to display a decorative image that does nothing when clicked on. I have tried to code it as
[[File:image.png|50px|link=|alt=]]
By leaving the link attribute blank I can successfully do this until the next time the page is edited. When the edit button is pressed the code automatically changes and the image links to its image page.
Any suggestions?