IF iname is NOT defined, check for default images and display links as appropriate.
- default (blank or undefined) is "in-game examine window". function=1 is for "in-game picture of this mob"
NOTE: MediaWiki will transform any colon (:) in an image filename to a dash (-), so we do too anywhere we are using a PAGENAME to check if a file exists, or to display an image. This means we HAVE to use #replace, but I just don't see a way to avoid that.
This template is called from several other templates to display a link or links for an image of the in-game examine window:
|Useful Template Links:||All Templates||Information Templates||Class Templates|