Help:Flyover
From QED
| Help |
|
| Related topics |
Currently, the flyover effect may not work in IE6. Please consider upgrading or using another browser.
Contents |
Notes for Editors
The <flyover> tag is a local (QED) extension for creating a flyover image based on uploaded or certain transcluded images. The flyover image can be activated either by text or a thumbnail of the same image.
Syntax
<flyover src=SRC caption=CAPTION max=MAX x=X y=Y>ANCHOR</flyover>
All the parameters are optional.
The ANCHOR will be displayed as a hyperlink to Image:SRC, and a flyover (hover) image with the specified CAPTION and size will be created.
For uploaded files, the size of the flyover image is specified by X, Y, and MAX, as described below.
For transcluded images, the associated thumbnail will be displayed.
If ANCHOR is specified as =, then the flyover is attached to a thumbnail of the image.
Size of the Flyover Image
The image is resized using the geometry specification (X,Y), where X and Y specify the maximum number of pixels horizontally and vertically respectively. Normally, X and Y are given implicitly by specifying MAX or by not specifying X, Y, or MAX (see below).
Defaults:
- ANCHOR defaults to SRC;
- CAPTION defaults to SRC less any trailing filetype;
- MAX defaults to 150;
- X and Y default to MAX
Examples
<flyover src="Acid Rain in Europe, 1993.png">=</flyover>
generates:
<flyover src="Acid Rain in Europe, 1993.png" MAX=500></flyover>
generates:
Acid Rain in Europe, 1993.pngSee also
- Template:Hoverimage — a template for creating a flyover image using an uploaded or external image.
- Template:H:title — a template for creating a hover box with text.












