Jump to content

User:Rupert Clayton/Template:Slideshow

From Wikipedia, the free encyclopedia
Use
Create a gallery of images (maximum 20) of the same width. A javascript function allows the images to be viewed one by one. The printable version is readable; deactivating Javascript does not prevent the images from being viewed. Warning: So as not to mess up the layout, you are advised to use images of equal or very similar sizes. When there is not much text around the images, left alignment is recommended.
Syntax
{{User:Rupert Clayton/Template:Slideshow |width=200 |align=left |background=white |border=black |image1.jpg|title 1 |image2.jpg|title 2 |etc.....|etc..... |image20.jpg|title 20 }}
  • width : The width to use for each image, in px (do not include units). Default : 200.
  • background : Background color for the box. Default : white.
  • border : Color for the box border. Default : #BBB.
  • align : Image alignment choices are left (in which case, text will not wrap around the image), center and right.
Usage example

Images of equal proportions, aligned left,

Some photos of the massif du Vercors
The plateau d'Ambel in May
The plateau d'Ambel in August
Petit Veymont
Mont Aiguille
The route over Col de Tourniol
View of the Col de la Bataille
The Grands Goulets route


Some photos of the massif du Vercors
The plateau d'Ambel in May
The plateau d'Ambel in August
Petit Veymont
Mont Aiguille
The route over Col de Tourniol
View of the Col de la Bataille
The Grands Goulets route

{{User:Rupert Clayton/Template:Slideshow
|width=300
|title=Some photos of the massif du Vercors |align=right |Image:Vercors Ambel2.jpg|The plateau d'Ambel in May |Image:Vercors_Ambel.jpg|The plateau d'Ambel in August |Image:Petit_Veymont.jpg|Petit Veymont |Image:Mont Aiguille.jpg|Mont Aiguille |Image:Route_Tourniol.jpg|The route over Col de Tourniol |Image:Col_Bataille.jpg|View of the Col de la Bataille |Image:Grands_Goulets.jpg|The Grands Goulets route }}
And the same, but right-aligned (align=right)

And the same, but centered (align=center). Warning: the background box occupies the full width of the page.

Some photos of the massif du Vercors
The plateau d'Ambel in May
The plateau d'Ambel in August
Petit Veymont
Mont Aiguille
The route over Col de Tourniol
View of the Col de la Bataille
The Grands Goulets route