The picture name alone places the image in the text, or on the next line if there is insufficient space.
Embedding the image in the text is only possible for very small images.
Embedding the image will affect the vertical formatting of text.
With alternative text:
[[File:wiki.png|alt=Puzzle globe logo]]
With alternative text:
Alternative text, used when the image is unavailable or when the image is loaded in a text-only browser, or when spoken aloud, is strongly encouraged. See Alternative text for images for help on choosing it.
With link:
[[File:Wikipedia's W.svg|link=Wikipedia]]
With link:
The link directs to the Wikipedia page, Wikipedia, instead of the image file page.
Forced to the centre of the page
using the ''frame'' tag (attribute), a ''centre'' tag and a caption:
[[File:wiki.png|frame|centre|alt=Puzzle globe|Wikipedia logo]]
Forced to the centre of the page using the frame tag (attribute), a centre tag and a caption:
The frame tag automatically floats the image right.
The frame tag is only of use with very small images or ones using the px tag
The attributes left, center or centre override this, and places the image to the left or the centre of the page.
The last parameter is the caption that appears below the image.
Forced to the left side of the page
using the ''thumb'' attribute, the ''left'' attribute and a caption:
[[File:wiki.png|thumb|left|alt=Puzzle globe|Wikipedia logo]]
Forced to the left side of the page using the thumb attribute, the left attribute and a caption:
The thumb tag automatically floats the image right.
An enlarge icon is placed in the lower right corner.
The attributes left, center or centre override this, and places the image to the left or the centre of the page.
Forced to the right side of the page
''without'' a caption:
[[File:wiki.png|right|Wikipedia encyclopedia]]
Forced to the right side of the page without a caption:
Captions are only displayed when the thumb or frame attributes are present