Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.

Template:ImCap

From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Usage

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.

Example

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
}}