Template:Hover/doc

From the Tesseract Wiki, the wiki for all things Marvel Cinematic Universe
Jump to navigation Jump to search
Information icon-grey.svg
This is a documentation subpage for Template:Hover.
It contains usage information, categories, and other content that is not part of the original template page.

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

Usage

{{Hover|text|hover text}}

gives text

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

{{Hover|text|hover text|color: green; border: 2px cyan inset;}}

gives text