Template:Carousel
More actions
About
This template uses MediaWiki's built-in gallery feature with slideshow mode. It's compatible with all standard MediaWiki installations.
Gallery Modes
- slideshow - Interactive slideshow with navigation (default)
- traditional - Classic gallery grid
- packed - Packed images with justified layout
- nolines - Gallery without borders
- packed-hover - Shows captions on hover
Example
{{Carousel
|width = 500
|height = 350
|mode = slideshow
|image1 = Screenshot1.png
|caption1 = Welcome screen
|image2 = Screenshot2.png
|caption2 = Main menu
|image3 = Screenshot3.png
|caption3 = Gameplay
|header = Game Gallery
|description = Screenshots from version 2.0
}}
An image carousel/gallery using MediaWiki's native gallery feature. Displays up to 12 images with optional captions in various display modes including slideshow.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Width | width | Width of images in pixels
| Number | optional |
| Height | height | Height of images in pixels
| Number | optional |
| Display Mode | mode | Gallery display mode
| String | optional |
| Image 1 | image1 | First image filename (without File: prefix) | File | required |
| Caption 1 | caption1 | Caption for first image | String | optional |
| Image 2 | image2 | no description | File | optional |
| Caption 2 | caption2 | no description | String | optional |
| Image 3 | image3 | no description | File | optional |
| Caption 3 | caption3 | no description | String | optional |
| Image 4 | image4 | no description | File | optional |
| Caption 4 | caption4 | no description | String | optional |
| Image 5 | image5 | no description | File | optional |
| Caption 5 | caption5 | no description | String | optional |
| Image 6 | image6 | no description | File | optional |
| Caption 6 | caption6 | no description | String | optional |
| Image 7 | image7 | no description | File | optional |
| Caption 7 | caption7 | no description | String | optional |
| Image 8 | image8 | no description | File | optional |
| Caption 8 | caption8 | no description | String | optional |
| Image 9 | image9 | no description | File | optional |
| Caption 9 | caption9 | no description | String | optional |
| Image 10 | image10 | no description | File | optional |
| Caption 10 | caption10 | no description | String | optional |
| Image 11 | image11 | no description | File | optional |
| Caption 11 | caption11 | no description | String | optional |
| Image 12 | image12 | no description | File | optional |
| Caption 12 | caption12 | no description | String | optional |
| Header | header | Optional header text below the gallery | String | optional |
| Description | description | Optional description text below the header | String | optional |