Template:Infobox file display: Difference between revisions
Jump to navigation
Jump to search
en>Aidan9382 |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:07, 18 January 2023
File:Example.jpg |
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Description
This template is used to display files in the same way {{Infobox}} does for modules like Module:Excerpt/portals.
If no caption is provided, it'll just prompt the regular file displaying format on |thumb
mode. Otherwise, It'll try to recreate the formatting of infobox images, to allow for more fancy wikitext like bullet lists to display in the caption.
You can use |force=y
to force the image to display in the infobox format even if it doesn't have a caption.
You can use |left=y
to move the infobox onto the left side of the page instead.
Examples
{{Infobox file display|Example.jpg}}
{{Infobox file display|Example.jpg|Example caption}}
File:Example.jpg |
{{Infobox file display|Example.jpg{{!}}150px|force=y}}
File:Example.jpg |
{{Infobox file display|Example.jpg|Example caption|left=y}}
File:Example.jpg |