Jump to content

Template:Transclude linked excerpts as random slideshow/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Evad37 (talk | contribs) at 03:11, 24 July 2018 (start doc). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A template to make a random slideshow of transcluded excerpts. See Wikipedia_talk:WikiProject_Portals/Design#Excerpt_slideshows.

Usage

Parameters are the same as for {{Transclude random excerpt}}:

{{Transclude excerpts as random slideshow | 1= | 2= | paragraphs= | files= | fileargs= | more= | 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:

  • A list of paragraphs such as paragraphs=1,3-5; the default is all paragraphs.
  • A list of file (image) numbers such as files=1; the default is no images. Note that images within infoboxes etc. are not available.
  • Arguments to pass to File: such as fileargs=left to move images to the left; the default is none.
  • A link to the article itself such as more=(more); the default is no link. Short cut: more= produces Read more...

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.

See also