YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Template:Double image

From Discovery Wiki
Revision as of 17:32, 10 January 2012 by Alex (talk | contribs) (Created page with "<includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left, right or central float --> | left = <div class="thumb tleft"> | right = <div class="thumb trigh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


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|Left alt text|Right alt text}}

or

{{double image
|1=left/right/center
|2=Left image
|3=Left image size
|4=Right image
|5=Right image size
|6=Left caption
|7=Right caption (leave blank to combine)
|8=Left image alt text
|9=Right image alt text}}

Examples

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|Nukemine.png‎|60|Countermeasures.png‎|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|Nukemine.png‎|60|Countermeasures.png‎|60|Yellow|Red|Yellow cartouche|Red cartouche}}