Template:ImageCaption

From Nookipedia, the Animal Crossing wiki
Revision as of 00:22, February 11, 2020 by Sunmarsh (talk | contribs) (Adding ability to add a border and remove the caption box)


Usage

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

{{ImageCaption
|image        = the image
|size         = the width of the image (in pixels)
|align        = the alignment of the image (optional)
|caption      = the caption
|captionalign = caption alignment relative to image (optional)
|border       = border property (e.g. 1px solid black)
|nocap        = enter any value for no caption box
}}

Example

Nookipedia.png
Caption
{{ImageCaption
|image =        File:Nookipedia.png
|size =         109px
|align =        right
|caption =      Caption
|captionalign = center
}}

Blank Code

{{ImageCaption
|image = 
|size = 
|align = 
|caption = 
|captionalign = 
}}