Template:Test

if petname = exist then if: file Pet-Name.png = exist then output Pet-Name.png otherwise, petname change.png

otherwise, if costumename=exist then if: file Costume-Name.png = exist then Costume-Name.png otherwise costumename change.png