Help:Galleries, Slideshows, and Sliders/wikitext

This page describes how to use and customize galleries, slideshows, and sliders using wikitext and the source editor.

See also Help:Galleries, Slideshows, and Sliders for the basics. Note that videos are only supported in galleries.

Gallery
A gallery is a collection of thumbnail images or videos appearing as tiles on the page.

Basic example
Here is the basic gallery code:

Example with variations
The following code would produce a more complex gallery, as seen above:

In this example...


 * The "navigation" option specifies whether the gallery serves navigational purposes, which isn't the case here. Some skins like the upcoming FandomMobile experience use the option.
 * The first item is an image only.
 * The second item is an image with a caption.
 * The third item is an image with a caption that includes wikitext
 * The fourth item is an image that is linked to a wiki page, followed by a caption.

Example with variables
If you wish to use variables in place of images, you'll need to switch to a slightly different form of the gallery tag, such as shown below (with three image variables and some settings defined):

Slideshow
A slideshow is an image module that displays one image at a time, and automatically rotates through the included images. Videos are ignored if placed in a slideshow.

Basic example
Here is the basic slideshow code:

Example with variations
The following code would produce a more complex slideshow:

In this example...


 * The first item is an image only.
 * The second item is an image with a caption.
 * The third item is an image with a caption that includes wikitext
 * The fourth item is an image that is linked to a wiki page. It also includes a caption, as well as a description of the link.

Slider
A slider is an image module that spans the full width of the page and automatically scrolls through up to four images. Videos are ignored if placed in a slider.

Tip: For best results, use images that are exactly 670 x 360px.

Basic example
Here is the basic slider code:

Example with variations
The following code would produce a more complex slider:

In this example...


 * The first item is an image only.
 * The second item is an image with a title.
 * The third item is an image with a title and a subtitle.
 * The fourth item is an image that is linked to a wiki page. It also includes a title and a subtitle.

Advanced slider with variables
If you wish to use variables in place of images, you'll need to switch to a slightly different form of the gallery tag, such as shown below (with three image variables and some settings defined):

Wikitext and options
The following reference tables address the customization options for each of these three image modules.

Further help and feedback
de:Hilfe:Galerien, Diashows und Slider/Wikitext es:Ayuda:Galerías, presentaciones y diapositivas/wikitexto fr:Aide:Galeries, diaporamas et carrousels/wikitexte ja:ヘルプ:ギャラリーとスライドショーとスライダー/ウィキテキスト nl:Help:Galerijen en slideshows/wikitekst pt:Ajuda:Galerias, apresentações e sliders/Wikitexto ru:Справка:Галерея, слайдшоу и слайдер/викитекст tr:Yardım:Galeriler, Slayt Gösterileri ve Sürgü/wiki metin uk:Довідка:Галерея та слайдшоу/вікітекст vi:Trợ giúp:Thư viện ảnh, Khung trình chiếu và Thanh trượt/Mã wiki zh:Help:用wiki文本製作圖片冊、幻燈片、滑塊