Template:Extimage/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:26, 17 October 2024 (Created page with "{{Documentation}} Embed external images using internal image-like styling for thumbnails. Only images hosted on the servers listed at the local 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: *[http://www.dropbox.com Dropbox] *[http://www.imgur.com imgur] *[https://puush.me/ puush] *[https://www.discor..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 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 and examples

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

For example, {{Extimage|https://i.imgur.com/j021LcB.jpeg|left|200px}} would result in:

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Include externally hosted image with size scaling and captioning.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
URL1

Link to the image file

URLrequired
Alignment2

Alignment on the page (omit for in-text image)

Example
left, center or right
Stringsuggested
Linklink

The URL that the image will link to. The image can be made unclickable by specifying an empty link parameter. For Wikipedia images, this parameter is substitutable with the fourth parameter.

URLoptional
Width3

Width of the image, in pixels.

Numberoptional
Caption4

Caption to appear below the image. For Wikipedia images, this parameter results in a link(so could be substituted with the link patameter).

Stringoptional
Heightheight

Height of the image, in pixels. Defaults to preserve aspect ratio with the image width.

Numberoptional