0 Votes

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.

Warning

The syntax of this macro is still experimental at this stage and is subject to changes. Comments are welcome in the XWiki Forum or on the macro issue tracker.

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

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

Parameters

   

NameDescriptionMandatoryDefault
width

Slideshow initial width, e.g. "800px"

No800px
height

Slideshow initial height, e.g. "400px"

No400px
mode
No