![]() | This template uses Lua: |
![]() | This template uses TemplateStyles: |
A template to make a random slideshow of transcluded excerpts. See Wikipedia_talk:WikiProject_Portals/Design#Excerpt_slideshows.
Parameters are mostly the same as for {{Transclude linked excerpt}}:
{{Transclude linked excerpts as random slideshow | 1= | 2= | paragraphs= | files= | fileargs= | errors= }}
The template accepts any number of page names as unnamed parameters; excerpts will be taken from links on these pages. The slideshow order is selected randomly. Include a namespace where necessary. There are no other positional parameters, but there are some optional named parameters:
|sectionn=
(e.g. |section1=
)|sectiononlyn=yes
(e.g. |sectiononly1=yes
)|section=
instead (and similarly for |sectiononly=
, if desired)|paragraphs=1,3-5
; the default is all paragraphs.|files=1
; the default is no images. Note that images within infoboxes etc. are not available.|fileargs=left
to move images to the left; the default is none.|random=no
(or false
).|nostubs=no
(or false
). The default is to exclude stubs from the slideshow, unless every article is a stub.|more=no
– to suppress link to the article at the end of the excerpt. |more=custom text
to customize the link text at the end of the excerpt. Default is "Full article...".Note that this template limits the number of excerpts in the slideshow to 50. This is to prevent transcluding pages from exceeding various technical limitations. If more than 50 links are found, a random subset of 50 will be shown. A lower limit may be set using |limit=
if necessary, i.e. to prevent "The time allocated for running scripts has expired" errors either in this template or further down the page (example).
![]() | This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |