FANDOM


Description
This template places an image that changes when you hover the mouse cursor over it. This should be used only to offer this functionality to any wiki user (non-admins). For limited, specific implementation of hover images, it's better to use Special:CSS. This template allows users to specify their own images for the hover effect.
Syntax
Type {{Hover|thumb|imageUnder|imageOver|align}} somewhere on a page.
If the first option is "thumb," the thumbnail style will be applied. imageUnder is the normally displayed image, and imageOver is the image that displays on hover. align may be "left," "right," or "none"
Images use the regular file syntax.
Example
{{Hover|thumb|imageUnder=[[File:Wiki.png|150x150px]]|imageOver=[[File:Example.jpg|150x150px]]|align=left}} gives ...
Wiki

Styles

This template requires styles to be added to the wiki's common or wikia and monobook css pages. An admin can either copy the styles directly to a css page, or copy it to MediaWiki:Hover.css and add the following line to the top of the site's style sheets.

@import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Hover.css");
Community content is available under CC-BY-SA unless otherwise noted.