Template:ImCap

From WiKirby, your independent source of Kirby knowledge.
Jump to: navigation, search


Usage

This template allows you to add a caption to an image without creating a frame around it. Usage:

{{ImCap
|image=        the image
|size=         the width of the image (in pixels)
|align=        alignment (optional)
|caption=      the caption
|captionalign= caption alignment relative to image (optional)
|captionwidth= the width of the caption (in pixels) (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
}}