Template:Ov

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
[[File:|60px]]
This template can display up to 13 images.

Its creator Rocket000 does not anymore contribute to Wikipedia since 2013.
A furher expansion (and use of Module:Iteration) seems not a useful solution.
When the limits of this template are too restrictive, it is always possible
to use e.g. Template:G instead, with a slightly other appearance but without any limit.


This creates a compact table for other versions of images to be used in the other_versions section of {{Information}}. It's specifically for small images (e.g. symbols or icons) accompanied by short captions.

Simple example:

{{ov|Red star.svg||red|Orange star.svg||orange|Green star.svg||green}}

creates:

red orangegreen


Example 2:

{{ov|Red star.svg|120px|the parameters|Orange star.svg|50px|right after|Green star.svg|90px|images|Five Pointed Star Solid.svg|105px|set the size.}}

creates:

the parameters right afterimagesset the size.


The background is white by default. This can be changed with bg#=color, where # is the location of the specific image (e.g. 1 for the 1st image, 2 for the 2nd, etc) - not the parameter number. To change all of them at once use bg=color.