From Melvor Idle

Pulls icons for pets based on either name or skill:

{{PetIcon|Smithing}} becomes Puff, the Baby Dragon (pet).svg Puff, the Baby Dragon

{{PetIcon|Beavis}} becomes Beavis (pet).png Beavis

{{PetIcon|Larry}} becomes Larry, the Lonely Lizard (pet).png Larry, the Lonely Lizard

Size option allows for larger icons. {{PetIcon|Asura|notext=true|size=50}} becomes Asura (pet).png

For a complete list of options, please refer to Template:Icon.