Template:Extimage/doc

From Darkan
Revision as of 22:11, 15 November 2011 by imported>Henneyj
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Extimage.
It contains usage information, categories, and other content that is not part of the original template page.

Embed external images using internal image-like styling for thumbnails. Only images hosted on the servers listed at the local image whitelist and Wikia's global image whitelist can be embedded directly into a page. Images on any other server will appear as a regular hyperlink. Currently, the following general image hosts are supported:

*These sites should not be used as host, but it is possible to use images that are already uploaded to these sites.

Usage

{{Extimage|url|alignment|width|caption (optional)|link=url (optional)}}

Where:

url
The URL of the external image.
alignment
Either left, center, or right. The image will be floated so that surrounding text flows around the image. Use {{clear}} to reset the document flow.
For Wikipedia and Wikia images, leaving this blank results in an in-text image.
width
Width of the image, in pixels.
caption (optional)
An optional caption that appears below the image.
For Wikipedia and Wikia images, this parameter results in a link(so could be substituted with the link patameter).
link (optional)
The URL that the image will link to. By default, the image URL itself is also used as the link URL. The image can be made unclickable by specifying an empty link parameter.
For Wikipedia and Wikia images, this parameter is substitutable with the fourth parameter.