Help:Galleries

Galleries are collections of uploaded files and videos. There are two gallery formats: Fandom galleries, used on Fandom wikis, and MediaWiki galleries, used on legacy Gamepedia wikis. Both formats are explained in further detail below.

Basic syntax
The basic wikitext syntax to create a gallery is below. By default, captions appear below the images, but this behavior can change depending on the gallery type or mode. The link parameter functions the same as linking from an image thumbnail.

Fandom galleries
Fandom wikis make use of the Fandom gallery format, which is vastly different from the default MediaWiki gallery format.

Types
Fandom galleries support three display types, controlled by the  parameter in the   tag:
 *   is the default static grid of images. Captions are displayed below each image.
 *   creates a slideshow of the images that the user can manually browse through. Captions are only displayed on hover as an overlay.
 *   creates a stylized automatic slideshow with a maximum of four images. Captions are displayed as titles—use  at the end of each image to display more text.

Below are examples of the display types:

Parameters
Fandom galleries allow the following optional parameters in the  tag, depending on the gallery type.

MediaWiki galleries
Legacy Gamepedia wikis make use of the MediaWiki gallery format.

Modes
MediaWiki galleries support a variety of display modes, controlled by the  parameter in the   tag:
 *   is the default static grid of images. Captions are displayed below each image.
 *   is the same as  but without any borders or padding around the images.
 *   is the same as  but all images have the same height and small spacing between them.
 *   is the same as  but the captions are overlayed on top of the images.
 *   is the same as  but each image's caption overlay only appears when the user hovers over the image.
 *   creates a slideshow of the images that the user can manually browse through. Captions are displayed below each image.

Parameters
MediaWiki galleries allow the following optional parameters in the  tag:


 *   creates a traditional gallery. See above for the different gallery modes available.
 *   displays a caption above the gallery. Only plain text is allowed. Double quotations must be used if any spaces are in the caption text.
 *   sets every image to a specific maximum width. Note that the parameter is plural (widths, not width).
 *   sets every image to a specific maximum height. Note that the parameter is plural (heights, not height).
 *   forces the gallery to show an exact number of images per row. The default is 0, which automatically adjusts the images based on the screen width.
 *   will show the filenames for each individual image in their captions.
 *   is only supported with  and displays a line of thumbnails below the slideshow.

Navigation galleries
Navigation galleries are designed for users to be sent to a specific page when clicking on an image. This is useful for a gallery of characters, episodes, etc. that have their own individual pages. On mobile web, navigation galleries have an optimized appearance for touch devices. Navigation galleries are supported on both MediaWiki and Fandom formats.

To set a gallery as a navigation gallery, add  to the   tag. Then, at the end of each image's line, add  to set the links for each image. For example, the above gallery can be converted into a navigation gallery with the following code:

Adding a gallery in VisualEditor
Galleries can also be added in the VisualEditor and its source mode through a visual interface. However, gallery parameters can only be edited by modifying the wikitext source code.


 * Click the edit button on an article.
 * If necessary, place the cursor in the editing area where you wish to position a gallery.
 * Click the  INSERT  drop-down menu in the editor toolbar and select Gallery. The gallery-building modal window will pop up.
 * In the "Search for media" text box, start typing the name of a  page. As you type, images and videos that match your input will appear in the space below. Continue typing until you find the one you want and then click it to select it. When an image/video is selected, a thumbnail of it appears in the list to the right under the heading "In the Gallery" and the  EDIT CAPTION  text field appears below the larger version of the selected media.
 * You may enter a caption for it (or leave it blank) and click the blue check-mark at the end of the text field. You should briefly see the message "Caption successfully saved" and then the Search function reappears with your latest search results.
 * Continue to search for images/videos and select them until you are done.
 * At any time, you may modify the "In the Gallery" list in the following ways:
 * Remove an image or video by clicking the × below it
 * Edit the caption by clicking the pencil icon below it
 * Drag-and-drop images/videos within the list to change the presentation order
 * When you are done, click  INSERT  in the upper-right corner of the gallery builder window. The modal will close and the images/videos will appear in the edit window. NOTE: They may not appear in rows at first, or may have more items per row than will be displayed in the final product—you may have to save the page to see the correct formatting.
 * Once back in the edit interface, clicking on any image in the gallery will show the Gallery  EDIT  button off to the side of the gallery and you may make further changes.
 * Save the page to finalize your changes.

Read more

 * Editing
 * Adding images
 * Videos

Further help and feedback
be:Help:Галерэя, слайдшоў і слайдэр de:Hilfe:Galerien, Diashows und Slider es:Ayuda:Galerías, presentaciones y diapositivas fi:Ohje:Galleriat, diaesitykset ja liukusäätimet fr:Aide:Galeries it:Aiuto:Gallerie ja:ヘルプ:ギャラリーとスライドショーとスライダー ko:도움말:갤러리, 슬라이드 쇼, 슬라이더 nl:Help:Galerijen en slideshows pt:Ajuda:Galerias, apresentações e sliders ru:Справка:Галерея, слайдшоу и слайдер tr:Yardım:Galeriler uk:Довідка:Галерея, слайдшоу та слайдер vi:Trợ giúp:Thư viện ảnh, Khung trình chiếu và Thanh trượt zh:Help:圖片冊、幻燈片與滑塊