Board Thread:Support Requests - Getting Technical/@comment-34438235-20180227183325/@comment-34438235-20180227224228

TableWiz wrote: AFAIK...
 * image will only accept a file image so will not work
 * as you are looking for a word match should #ifeq: be used instead of #switch:

So something like this should work I know since it works that way you can use a however I read on the guidelines they say you aren't supposed to use data sources this way. I am also wondering if there are any differences in the way insertions are styled in the infobox as opposed to inserting it in a data tag.

I'm wondering what the actual reason for it not to work in the image tag is, because the switch statement itself (and presumably an ifeq) DOES work since it detects when it's called with certain text.. It just doesn't do anything if the keyword is detected (In other words, if I have an image file inside tags to test with, it is always shown - unless a separate image file is called via the template, OR if the template is called with the word default, in which case nothing at all is shown).

I've tried with and without format tags, in various formats (, filename, filename.png)

Is there a way to view the source of the portable infobox itself on wikia so I can see what it does with the data passed to the image tags?