Usage
{{HoverImage|File1|File2}}

If you want to add a title replace title with your text

{{HoverImage|File1|File2|Widthpx|B|B|B|B|B|B|The role of the fool is an important one}}