Module:Random slideshow/doc: Difference between revisions

Content deleted Content added
No edit summary
Bump rating
 
(6 intermediate revisions by 4 users not shown)
Line 1:
{{Module rating |alphaprotected}}
{{Template display|badmobile}}
{{Uses Lua|Module:Excerpt/portals|Module:Random|Module:Redirect}}
{{Uses TemplateStyles|TemplateModule:Random slideshow/styles.css|noprotcat=yes}}
<!-- 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>
Line 10 ⟶ 12:
 
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 ==
Line 16 ⟶ 21:
* [[Template:Transclude files as random slideshow/testcases]]
 
== See also ==
{{Portal templates navbox}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox other| |
<!-- Categories below this line, please; interwikis at Wikidata -->