Template:Show on hover/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:Show on hover. It contains usage information, categories, and other content that is not part of the original template page. |
Usage
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
- {{PopupImage}} - Popup image
- {{Popout}} - Popout text
- {{Image hover}} - Image hover