Template:Tabbed Gallery

From OS-tans.moe Wiki

Template for Tabbed Galleries, intended for use in Infoboxes (for example to show various character outfits or art styles), though other uses may be possible.

Usage

A Tabbed Gallery consists of pairs of images and their title for the tabs, which can be clicked to show the corresponding image.

10 fields are available for the pairs. Titles can be set with title0, title1, ..., title9, while the corresponding images are set with image0 up to image9, and their value must be the file name of an existing image (without File: prefix). If a title is used, the corresponding image must also be set. Setting an image without its title will do nothing. title0/image0 will be shown by default if set.

The tabs will be presented from left to right as the index increases, and it is not necessary to use consecutive indexes.

To use multiple tabbed galleries, an index must not be used more than once within the whole page due to technical reasons, so additional indexes from 10 to 19 and 20 to 29 can also be used for up to three galleries. The indexes 10 and 20 will be the one shown by default, so no more than a multiple of 10 can be used in a same gallery.

In an Infobox, be careful to use the images field rather than image.

Example

Site-tan
General Information
Full NameMona
{{Infobox Character
|type = [[:Category:Site personifications|Site-tan]]
|images = {{Tabbed Gallery
|title0 = Normal
|image0 = Mona Cropped.png
|title1 = Chibi
|image1 = Mona Chibi.png
}}
|fullname = [[Mona]]
}}