Template:Img/doc
The parameters are:
filename
: (important!) Mention the file name without theFile:
prefix. Default is empty string. Example:|filename=Example.jpg
dir
: (optional) Mention the direction for image alignment. Default isleft
. Can take valuesleft
,right
andcenter
. Example:|dir=right
px
: (optional) Specify the width of the file with the px suffix. Default is set to empty string. Example:|px=300px
style
: (optional) Specify the style of the file display. Default isthumb
for thumbnail. Example:|style=frame
caption
: (optional) Add caption for the file. Default is empty string. Example:|caption=Yep, this is a caption.
alt
: (important) Add alt text; this substitutes for the image in case a user cannot access it (e.g. due to blindness). Default is empty string. Example:|alt=A world map with Indianapolis highlighted.
author
: (important) Add the author of the image for image credit; which makes use of {{image source}} [also known as {{image}}] template. Default is an empty string. Example:|author=Javed