Help:Caption

From QED

Jump to: navigation, search

Uploaded Images

The simplest way to embed an uploaded image on a QED page is to use the wiki syntax with double square brackets. If the "thumb" option is specified, then a caption can also be added. Note that this option does not preclude a width specification, e.g.

[[Image:Tibetan Seal with the word Library.jpg|thumb|65px|[[wikipedia:Library|]]]]
produces the image to the right. Notice that the caption can contain hyperlinks.

For details about the wiki syntax for embedding images, see wikipedia:Help:Image.
The <image> tag may also be used to embed images with captions. This tag is especially useful if you want to specify the hovertext or the hyperlink associated with the image, but currently any required image resizing is left to the browser, and this often results in noticeably poorer quality. Here is an example:

<image src=NetMap.JPG width=10% float=center>Hot Spot</image>

produces

Hot Spot

HTML may also be used.

Transcluded Images

The <image> tag mentioned above can be used with any image accessible on the web.

An alternative is to use the transclude template, e.g.

{{transclude
|http://www.aidsandafrica.com/aids%20graphic.jpg
|150 pixels wide
|150
|float=center
}}

produces:

150 pixels wide

Galleries

The <gallery> tag also makes it easy to add captions.

Personal tools