Template:Three-image-box

From RPC Library
Jump to navigation Jump to search

This template generates a table that spreads two or three images across the page, equally spaced into a 3 column grid. The images are resized to either 200px or the size you specify. If you provide two images, the images appear in the left and right boxes, to wit:

Image 1
Image 2

If you provide three images, they're spread across all three cells, as in this example:

Image 1
Image 2
Image 3

This template doesn't offer any control over the alignment or size of the images in the grid.

Syntax

{{Three-image-box
| image_one_file = the left-most image to display
| image_one_caption = the caption for the left-most image
| image_one_size = (optional) the size of the left-most image
| image_two_file = the middle or right image to display, depending on whether image 3 is specified
| image_two_caption = the caption for image 2
| image_two_size = (optional) the size of image 2
| image_three_file = (optional) the right-most image to display
| image_three_caption = (optional) the right-most image's caption
| image_three_size = (optional) the size of the right-most image
}}

Copy-paste option

{{Three-image-box
| image_one_file = 
| image_one_caption = 
| image_one_size = 
| image_two_file = 
| image_two_caption = 
| image_two_size = 
| image_three_file = 
| image_three_caption = 
| image_three_size = 
}}