Pergi ke kandungan

Modul:Random slideshow/doc

Daripada Wikipedia, ensiklopedia bebas.
Semakan 6440952 pada 07:22, 31 Januari 2025 oleh Teh Ais Lemon (bincang | sumb.) (Mencipta laman baru dengan kandungan '{{Module rating |protected}} {{Template display|badmobile}} {{Uses Lua|Module:Excerpt/portals|Module:Random}} {{Uses TemplateStyles|Module:Random slideshow/styles.css}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == ;<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''main''}}</code> :See {{tl|Random slideshow}} for details. ;<code><nowiki>{{</nowiki>#invo...')
(beza) ← Semakan terdahulu | Semakan semasa (beza) | Semakan berikutnya→ (beza)

Ini ialah laman pendokumenan untuk Modul:Random slideshow

Templat:Template display Templat:Uses Lua

{{#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

[sunting sumber]

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

[sunting sumber]

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

Templat:Portal templates navbox