I tried to display an image in a widget but the code
doesn't seem to work. It just displays [[Image:test.png]] as an alt text. That's all.
I tried to display an image in a widget but the code
doesn't seem to work. It just displays [[Image:test.png]] as an alt text. That's all.
I don't think you can have wikitext within widget code, if that's what you're trying to do. Maybe what you can use is a wrapper template around the widget, that takes in a file name and handles calling both the wikitext and the widget...