Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.23 KB

carousel.md

File metadata and controls

42 lines (32 loc) · 1.23 KB

Carousel

The Carousel component is for cycling through images, like a carousel (slide show).

Example usage

{{#bootstrap_carousel: [[File:Image1|..]] | [[File:Image2|..]] | .. }}

Allowed Attributes

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.

Note

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]] }}

Links