The wiki is lacking in content. You can help by creating a new article. See the to do list for more ways you can help.

Difference between revisions of "Template:Imgcaption/doc"

From Final Fantasy Wiki
Jump to navigationJump to search
(doc)
 
(better example)
Line 15: Line 15:
===Example===
===Example===
{{imgcaption
{{imgcaption
|image=File:Wiki.png
|image=File:FFVII Cloud icon.png
|size=109px
|size=109px
|align=right
|align=right
|caption=It's a Wiki. About Kirby.
|caption=Pause menu icon of Cloud from ''Final Fantasy VII''
|captionalign=center
|captionalign=center
|captionwidth=175px
|captionwidth=175px

Revision as of 23:56, March 4, 2020

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

File:File:FFVII Cloud icon.png
Pause menu icon of Cloud from Final Fantasy VII


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

Attribution

Original template is from WiKirby.