Template:FileCaption/doc
Jump to navigation
Jump to search
Experimenting with a template found on MediaWiki.
Used to provide images with captions as an alternative to the ugly ones with a frame that come with MediaWiki.
ToDo: Rename to "File Title" to imply this template is used with "File:..." syntax.
Usage
file=Sets which file to use. Default value is 1AKC Samoyed Dog Show 2011.jpg.width=width of the image.height=height of the imagealign=Sets alignment of image and caption block. Options are right, left, center, and none. Default is right.caption=Places a caption beneath the image, and also serves as the alt text. Optional.padding=Gives the option to turn off padding, in case the image is part of a floating div already. Default is to include padding; turn off by setting parameter to "no".
{{Img Title
|file - the filename of the image
|50 - width
|50 - height
}}
Example
{{Img Title|Influencers.svg|50|50}}
Gives the image at the top right of this page. Template:Img Title