Template:Plain image with caption/doc
Appearance
![]() | This is a documentation subpage for Template:Plain image with caption. It may contain usage information, categories and other content that is not part of the original template page. |
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
- {{Multiple image}}
- {{Double image}}
- {{Double image stack}}
- {{Triple image}}