Jump to content

Template:Plain image with caption/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Waldyrious (talk | contribs) at 07:13, 29 May 2010 (create). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Since MediaWiki does not provide a way to add visible captions to images integrated seamlessly in a page (i.e, without borders), this template aims to provide that functionality.

Usage

This template can be either with named parameters, as in

{{Plain image with caption|image=Example.svg|caption=Example text|width=250|align=right}}

...or in its shorthand form (keep in mind that the order of parameters is important):

{{Plain image with caption|Example.svg|Example text|250|right}}
(notice how the witdh does not include the unit "px")
  • The only compulsory parameters are image and caption. The width defaults to 250px, and the alignment defaults to right.

See also