Template:Slideshow
Template page
More actions
| This page uses Creative Commons Licensed content from Wikipedia (view authors). |
Usage
As many images and captions as desired may be specified, in the following format:
{{Random slideshow
| First image | first caption
| second image | second caption
| third image | third caption
}}
Credits (e.g. "Photograph: Example") may be specified, using the following format
{{Random slideshow
| First image | first caption | credit1=
| second image | second caption | credit2=
| third image | third caption | credit3=
}}
Parameters
|1=,|3=,|5=, ... (or equivalent positional parameters)- File name. The "File:" prefix is optional.
|2=,|4=,|6=, ... (or equivalent positional parameters)- Caption for the file.
|credit1=,|credit2=,|credit3=, ...- Credits for the file. Optional.
|width=- Maximum width for all images; default is
100%(intended for use inside portal components) - Can be specified as a
%(e.g. 75%), or inems (e.g. 30em), or inpx(e.g. 200px) - If a unit is not specified,
pxis assumed (i.e. 350 is equivalent to 350px) |random=- Set to
noorfalseto turn off the randomisation.