Jump to content

Module:Random slideshow/doc

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Pppery (talk | contribs) at 01:58, 19 November 2023 (Bump rating). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Usage

[edit]
{{#invoke:Random slideshow|main}}
See {{Random slideshow}} for details.
{{#invoke:Random slideshow|transclude}}
See {{Transclude files as random slideshow}} for details.

This module is also used by Module:Excerpt slideshow.

Display in the mobile view

[edit]

On mobile devices, a standard gallery is displayed instead of the slideshow. If the screen width is less than 720px, only the first four images after randomisation are visible (example screenshot). For mobile devices with larger resolutions, all images are displayed (example screenshot). For some tables, it displays all images stacked (example screenshot).

Testcases

[edit]

The following testcase pages are available for testing changes made to this module's sandbox: