Template:Double image/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Double image (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

[edit] Usage

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]}}

[edit] Examples

Players are cautioned with a yellow card, and sent off with a red card, which is sometimes round. Players are cautioned with a yellow card, and sent off with a red card, which is sometimes round.
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...}}


Yellow Yellow
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}}

[edit] See also