The Carousel component is for cycling through images, like a carousel (slide show).
{{#bootstrap_carousel: [[File:Image1|..]] | [[File:Image2|..]] | .. }}
The following attributes can be used inside the parser function:
- class
- Adds this string to the class attribute of the component. If you want to add multiple classes, separate them by a space.
- fade
- Uses cross-fade instead of sliding on image rotation.
You can also set this attribute to any no value, in which case it is ignored.
- id
- Sets the id of the component to this value. See to it, that it is unique.
- style
- Adds this string to the style attribute of the component. If you want to add multiple css styles, separate them by a semicolon.
If you want to add the same image more than once, you have to "fake" different attributes, otherwise the parser will drop all but one:
{{#bootstrap_carousel: [[File:Image1]] | 1=[[File:Image1]] | 2=[[File:Image1]] | 3=[[File:Image1]] }}