Module:Random slideshow/doc: Difference between revisions
Appearance
Content deleted Content added
m Module:Redirect is unused |
Replace merged template |
||
Line 1: | Line 1: | ||
{{Module rating |alpha}} |
{{Module rating |alpha}} |
||
{{Template display|badmobile}} |
|||
⚫ | |||
{{Uses Lua|Module:Excerpt/portals|Module:Random}} |
{{Uses Lua|Module:Excerpt/portals|Module:Random}} |
||
{{Uses TemplateStyles|Module:Random slideshow/styles.css}} |
{{Uses TemplateStyles|Module:Random slideshow/styles.css}} |
||
Line 12: | Line 12: | ||
This module is also used by [[Module:Excerpt slideshow]]. |
This module is also used by [[Module:Excerpt slideshow]]. |
||
==Display in the mobile view== |
|||
⚫ | 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 ([[:File:Israel_portal_mobile_375x800.png|example screenshot]]). For mobile devices with larger resolutions, all images are displayed ([[:File:Israel_portal_mobile_800x920.png|example screenshot]]). For some tables, it displays all images stacked ([[:File:Mobile view problem climate change.png|example screenshot]]). |
||
== Testcases == |
== Testcases == |
Revision as of 04:21, 4 October 2023
![]() | This template contains coding that is not compatible with mobile versions of Wikipedia, causing display and accessibility problems. Read the documentation for an explanation. |
![]() | This module depends on the following other modules: |
![]() | This module uses TemplateStyles: |
Usage
{{#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
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
The following testcase pages are available for testing changes made to this module's sandbox: