Vocaloid Wiki
Advertisement
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Gallery/doc to edit this documentation. (How does this work?)

This templates creates a gallery.

It is heavily used for the main Vocaloid pages that have a gallery section, see Gallery templates category to contribute.

Full credit goes to One Piece wiki.

Usage

WARNING : Do Not place the supported parameters below the image files, doing so might cause the template to react by increasing parameter lines that are not in use. Please keep supported parameters at the top.

{{Gallery|named parameters (see below)
|filename1|caption1
|filename2|caption2
|filename3|caption3
...
}}

Supported parameters:

  • width and height - width and height (in pixels) of the rectangles in which thumbnails are inscribed. Default values 120 and 120.
  • position - left, center, or right - align of gallery itself (default: left)
  • captionalign - left, center, or right - align of captions (default: left)
  • captiontextcolor - color of captions (default: black)
  • captionsize - font size of captions (for example: 8pt, 0.7em, etc.)
  • bordercolor - border color (default: #3366CC)

Examples

Default:

{{Gallery
|Ofclboxart zrog Leon.jpg|Leon
|Ofclboxart zrog Lola.jpg|Lola
|Ofclboxart cfm Meiko.jpg|Meiko
|Ofclboxart cfm Kaito.jpeg|Kaito
}}
Ofclboxart zrog Leon.jpg
Leon
Ofclboxart zrog Lola.jpg
Lola
Ofclboxart cfm Meiko.jpg
Meiko
Ofclboxart cfm Kaito.jpeg
Kaito

Let's change parameters:

{{Gallery|width=120|height=160|captionalign=center|position=center
|Ofclboxart zrog Leon.jpg|Leon
|Ofclboxart zrog Lola.jpg|Lola
|Ofclboxart cfm Meiko.jpg|Meiko
|Ofclboxart cfm Kaito.jpeg|Kaito
}}
Ofclboxart zrog Leon.jpg
Leon
Ofclboxart zrog Lola.jpg
Lola
Ofclboxart cfm Meiko.jpg
Meiko
Ofclboxart cfm Kaito.jpeg
Kaito

Notes

  • Pipes (|) in captions must be masked via {{!}}.
  • Not more than 40 images.
Advertisement