Template talk:Hoverimage
From QED
Contents |
Example: text as anchor for an external flyover
{{hoverimage
|Look here
|http://en.wikipedia.org/wiki/Vitreous_enamel
|http://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Medallion_St_Demetrios_Louvre_OA6457.jpg/200px-Medallion_St_Demetrios_Louvre_OA6457.jpg
}}and you may see a thumbnail.
produces:
Look here
![]()
Example: an uploaded file
{{hoverimage|Uploaded file
||/images/thumb/a/a2/MG%C2%A9Cultures_-_Consumption_and_Circulation%2C_1999.jpg/120px-MG%C2%A9Cultures_-_Consumption_and_Circulation%2C_1999.jpg
}}and you may see a thumbnail.
produces:
Uploaded file
![]()
Example: internal or external image as anchor
{{hoverimage
|<html><img src="/images/thumb/a/a2/MG%C2%A9Cultures_-_Consumption_and_Circulation%2C_1999.jpg/120px-MG%C2%A9Cultures_-_Consumption_and_Circulation%2C_1999.jpg"
/></html>
|http://en.wikipedia.org/wiki/Vitreous_enamel
|http://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Medallion_St_Demetrios_Louvre_OA6457.jpg/200px-Medallion_St_Demetrios_Louvre_OA6457.jpg
|A CAPTION}}and you may see another one.
produces:
![]()
Thumbnail of a transcluded image
If an Image: page has registered a transcluded image in the appropriate way (see QED:image and Template:transclude), the associated thumbnail may be used as a flyover image.
For example, the thumbnail for Image:New_Global_Threat_-_Death_from_SARS can be used as follows:
{{hoverimage |SARS | |/images/transcluded/New_Global_Threat_-_Death_from_SARS.jpg }}
produces:
SARS













