Template:Double image

From Wikinews, the free news source you can write!
Jump to navigation Jump to search
[edit] Template-info.svg Template documentation

Usage[edit]

This template creates a box with two images side by side. It needs parameters like this:

{{double image|left/right/center|Left image|Left image size|Right image|Right image size|Left caption|Right caption|Left alt text|Right alt text}}

Examples[edit]

Yellow cartouche Red cartouche
Players are cautioned with a yellow card, and sent off with a red card, which is sometimes round.

To the right, with one single caption:

{{double image|right|Yellow card.svg|60|Red card.svg|60|Players are cautioned ... round.||Yellow cartouche|Red cartouche}}


Yellow cartouche Red cartouche
Yellow
Red

To the left. With two captions, one beneath each image:

{{double image|left|Yellow card.svg|60|Red card.svg|60|Yellow|Red|Yellow cartouche|Red cartouche}}


See also[edit]