Slideshow Macro
Last modified by RPG Research Xwiki Documents Administrator on 2023/09/27 22:31
Description
Creates a slideshow based on a set of image references. Supports two modes: default or pile. In default mode, a slideshow is created from the images defined in the macro content, while in pile mode, all slideshow images on the current page whose mode set to pile are assembled into a common slideshow. Optional captions can be added next to each image reference, or within the body of each slideshow call in case of pile mode.
Usage
Default mode
{{slideshow width="800px" height="400px"}}
gallica-btv1b10052637j-5.jpg Lorem ipsum
gallica-btv1b10052637j-12.jpg Dolor sit amor
gallica-btv1b10052637j-3.jpg Cectetur adipiscing elit
{{/slideshow}}
gallica-btv1b10052637j-5.jpg Lorem ipsum
gallica-btv1b10052637j-12.jpg Dolor sit amor
gallica-btv1b10052637j-3.jpg Cectetur adipiscing elit
{{/slideshow}}
Pile mode
{{slideshow images="gallica-btv1b10052637j-6.jpg" mode="pile" width="300px"}}
= Lorem ipsum =
Dolor sit amor
{{/slideshow}}
{{slideshow images="gallica-btv1b10052637j-4.jpg" mode="pile" width="300px"}}
= Cectetur adipiscing elit =
Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
{{/slideshow}}
= Lorem ipsum =
Dolor sit amor
{{/slideshow}}
{{slideshow images="gallica-btv1b10052637j-4.jpg" mode="pile" width="300px"}}
= Cectetur adipiscing elit =
Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
{{/slideshow}}
Parameters
Name | Description | Mandatory | Default |
---|---|---|---|
width | Slideshow initial width, e.g. "800px" | No | 800px |
height | Slideshow initial height, e.g. "400px" | No | 400px |
mode | No |