Template:Caption/Doc
Appearance
Use this template to show a figure with a corresponding caption.
Usage
Simply include the figure content as the first argument to the template, and the caption as the second:
{{caption|[[File:MediaWiki-2020-logo.svg|100px]]|The MediaWiki logo}}
You can also optionally set an alignment. By default, it will "break" the text before and after it. If setting the alignment to "right" or "left", the text will flow besides the figure. If setting it to "center", the figure will be positioned in the middle, but it will still break the text flow.
{{caption|align=left|[[File:MediaWiki-2020-logo.svg|100px]]|The MediaWiki logo}}
This text flows alongside the figure.
{{caption|align=right|[[File:MediaWiki-2020-logo.svg|100px]]|The MediaWiki logo}}
This text flows alongside the figure.
{{caption|align=center|[[File:MediaWiki-2020-logo.svg|100px]]|The MediaWiki logo}}
This text shows up below the figure.