Template:ImCap


UsageEdit

This template allows you to add a caption to an image without creating a frame around it. This is used for transparent images.

Usage:

{{ImCap
|image=        the image
|size=         the width of the image (in pixels)
|align=        alignment (optional, defaults to right)
|caption=      the caption
|captionalign= caption alignment relative to image (optional, defaults to center)
|captionwidth= the width of the caption (in pixels) (optional)
|sprite=       fill this in if the image is a sprite getting enlarged (optional)
}}

Note that "captionwidth" should be greater than or equal to "size" when used, or the image may get cut off.

ExampleEdit

WiKirby.png
It's a Wiki. About Kirby.


{{ImCap
|image=File:WiKirby2.png
|size=109px
|align=right
|caption=It's a Wiki. About Kirby.
|captionalign=center
|captionwidth=175px
}}