Template:Multiple image
From Wikipedia, the free encyclopedia
[edit] Template documentation
This template creates a box with two to five images arranged vertically or horizontally with captions for the entire box and/or for each images.
[edit] Usage
- align defaults to "center"
- direction defaults to "horizontal"
- header_align defaults to "center"
- footer_align defaults to "left"
- width will overrides width1, width2, width3, width4, and width5. If you each images to be different sizes, do not provide the width parameter.
- header, footer, and captions are optional
{{multiple image | align = left/right/center | direction = horizontal/vertical | header = | header_align = left/right/center | header_background = | footer = | footer_align = left/right/center | footer_background = | width = | image1 = | width1 = | caption1 = | image2 = | width2 = | caption2 = | image3 = | width3 = | caption3 = | image4 = | width4 = | caption4 = | image5 = | width5 = | caption5 = }}
[edit] Examples
{{multiple image | footer = Players are cautioned... | width = 60 | image1 = Yellow card.svg | image2 = Red card.svg }}
{{multiple image | align = left | direction = vertical | header = [[PNG]] transparency demonstration | width = 200 | image1 = PNG transparency demonstration 1.png | caption1 = A PNG image... | image2 = PNG transparency demonstration 2.png | caption2 = ...here overlaid... }}
{{multiple image | footer = When a user has... | width = 60 | image1 = Ribbon numeral 2.png | caption1 = Number 2 | image2 = Ribbon numeral 3.png | caption2 = Number 3 | image3 = Ribbon numeral 4.png | caption3 = Number 4 }}