Template:Double image
Jump to navigation
Jump to search
[[File:{{{2}}}|{{{3}}}px|alt=]] | [[File:{{{4}}}|{{{5}}}px|alt=]] | |
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}}
The template can also stack the two images vertically. To do this, specify |stack=yes
. In this mode:
- The first image (parameter 2) will be displayed on top, while the second image (parameter 4) will be displayed on the bottom.
- Parameter 3 specifies the width for both images. Parameter 5 is ignored.
- Only one caption (parameter 6) is accepted and displayed below the bottom image. Parameter 7 is ignored.
See wikipedia:WP:ALT for information about alt text.