Predloga:Transclude excerpts as random slideshow
| Uporablja Lua: |
| Ta predloga uporablja TemplateStyles: |
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= | errors= }}
The template accepts any number of page names as unnamed parameters. 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=leftto move images to the left; the default is none. - Prevent randomisation of the output by setting
|random=no(orfalse). - Allow stubs to be included by setting
|nostubs=no(orfalse). 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 textto 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 25. This is to prevent transcluding pages from exceeding various technical limitations. If more than 25 page names are provided, a random subset of 25 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).
See also
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.









