Template:Hover/doc

The Hover template provides a simple way to give text HTML title attribute, which displays when hovered over.

Usage
gives

The default formatting provides a 1-pixel dotted black border, with a help cursor when hovered. The third unnamed parameter can be used to change the inline style to something else, for example

gives