Topic on User talk:Ritsu
From Elwiki
This is a permanent link to the first version of this post.
You can view later versions on the post history page.
I see it now, you're checking if the page "SWATBHat" exists (since you only provided {{{IM|}}}), and not File:SWATBHatLi.png.
Maybe store it in a variable so that you can reuse it for both the condition of #ifexist and the outcome.