More actions
A shorthand template for one item in Template:Carousel.
Usage
- Main article: Template:Carousel
{{Carousel |width = |align = |list= <div class="jcarousel-item">[[File:exampleimage1.jpg]]</div> <div class="jcarousel-item">[[File:exampleimage2.jpg]]</div> ... }} {{Carousel |width = |align = |list= {{p|[[File:exampleimage1.jpg|thumb|300px]]}} {{p|[[File:exampleimage2.jpg]]}} ... }}
Shorthand using "images" parameter instead of "list"
- List images to have them automatically sized to the given "width" of the carousel. List each item on a separate line.
- Split width, captions, etc. by semicolons
{{Carousel |width=300 |images= image 1.png;300px;Image caption image 2.png;This is an image caption }}