Galleries are like art museums, all of the pictures organized into one category. If controlled well, the galleries will help make things look even more awesome. They are great for main pages and articles, but can also be placed on user pages and other types of pages.
<gallery position="Right / Left / Center" columns="1 - 6 " spacing="Small / Med / Large" orientation="None / Square / Landscape / Portrait" widths="HowmanyPixels"> FileName.FileExtension FileName.FileExtension etc. </gallery>
The Position Gallery Property adjusts the photo's placement on the page. The three values are Right, Left, and Center.
The Columns Gallery Property controls the number of photos found in each column. The values vary from 1 to 6.
The Spacing Gallery Property controls the gap between each photo. The values are Small, Med (Medium), or Large.
The Orientation Property controls the style and the organization of the Gallery. There are 4 values: none, square, landscape, and portrait.
- None: The image will retain its original shape.
- Square: The image's width and height will be equal.
- Landscape: The image's base is longer than its height.
- Portrait: The image's height is longer than its base.
The Widths Gallery Property controls the width of the images. The values vary from 50px to 310px.
The Border Size Gallery Property helps customizes the border's width. The values are None, Small, Med (Medium), and Large.
The Border Color Gallery Property adjusts the border's color. The values are controlled by a hex color code. To learn more about colors, read this article: Color Codes.
The Caption Position Gallery Property adjusts the caption's position and where it will be located. The values are Within and Below.
The Caption Alignment Gallery Property helps the caption's alignment. The values are Left, Center, and Right.
The Caption Size Gallery Property adjusts the font size. The values are Small, Med (Medium), and Large.
The Caption Color Gallery Property adjusts the caption's color. The values are controlled by a hex color code. To learn more about colors, read this article: Color Codes.
A slideshow will display a single photo field, but it will automatically rotate through a series of photos or you can use the left/right navigation buttons.
<gallery type = "slideshow" widths = "200 - 500" Crop = "True/" position = "Right / Left / Center" showrecentuploads = "True/"> FileName.FileExtension FileName.FileExtension etc. </gallery>
The Type Slideshow Property allows the gallery to be a slideshow. Slideshow is one of the values.
The Widths Slideshow Property helps adjust the Slideshow's base. The values vary from 200 to 500.
The Crop' Slideshow Property defines whether or not to remove part of the image. This may involve cutting some of the image from the left, right, top, bottom, or any combination thereof. The values are True. If you do not want it to be, simply leave the property and do not use it.
The three available values for the Postition Slideshow Property are Right, Left, and Center. These help adjust the Slideshow's location.
Show Recent UploadsEdit
The Show Recent Uploads Slideshow Property creates an automatically updated slideshow of new photos. The values are True. If you do not want it to be, simply leave the property and do not use it.
Sliders is like a slideshow, but larger with prominent link titles and icons for browsing. This is often used for the main page of a wiki.
<gallery type="slider" orientation="bottom / right"> File.FileExtension|title|linktext=text|link=Input a URL or name of Article on the Wiki. </gallery>
The Orientation Slider Property organizes how the slider should be put fit. The values are Right and Bottom.
The Type Slider Property allows the gallery to be a slider. Slider is one of the values.