Template:Show on hover

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
Hello.
Goodbye.
[edit] [purge] Template-info.svg Template documentation

Usage

PM1.jpg
Manningface.jpg

Similar to {{PopupImage}}, except more barebones and not inline. Used to show a hidden object when cursor is hovering over an initially shown object.

{{Show on hover
|show = I'm shown initially.
|hide = I'm shown when the cursor hovers over the other text.
}}

Also works with pictures. Pretty flexible. The following code produces the image hover you see.

{{Show on hover
|show = [[File:PM1.jpg|right|110px]]
|hide = [[File:Manningface.jpg|right|110px]]
}}

See also