[[File:{{{1}}}|120x120px]] |
This templates creates a gallery.
Usage
{{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 |The Hobbit- The Desolation of Smaug 20.jpg|Thranduil poster |The Hobbit- The Desolation of Smaug 25.jpg|Gandalf poster |The Hobbit- The Desolation of Smaug 26.jpg|Bilbo Baggins poster |The Hobbit- The Desolation of Smaug 24.jpg|Legolas poster |The Hobbit- The Desolation of Smaug 22.jpg|Thorin Oakenshield poster |Hr The Hobbit- The Desolation of Smaug 23.jpg|Tauriel poster |Hr The Hobbit- The Desolation of Smaug 21.jpg|Bard the Bowman poster }}
![]() |
Thranduil poster
![]() |
Gandalf poster
![]() |
Bilbo Baggins poster
![]() |
Legolas poster
![]() |
Thorin Oakenshield poster
![]() |
Tauriel poster
![]() |
Bard the Bowman poster
Let's change parameters:
{{Gallery|width=120|height=160|captionalign=center|position=center |The Hobbit- The Desolation of Smaug 20.jpg|Thranduil poster |The Hobbit- The Desolation of Smaug 25.jpg|Gandalf poster |The Hobbit- The Desolation of Smaug 26.jpg|Bilbo Baggins poster |The Hobbit- The Desolation of Smaug 24.jpg|Legolas poster |The Hobbit- The Desolation of Smaug 22.jpg|Thorin Oakenshield poster |Hr The Hobbit- The Desolation of Smaug 23.jpg|Tauriel poster |Hr The Hobbit- The Desolation of Smaug 21.jpg|Bard the Bowman poster
![]() |
Thranduil poster
![]() |
Gandalf poster
![]() |
Bilbo Baggins poster
![]() |
Legolas poster
![]() |
Thorin Oakenshield poster
![]() |
Tauriel poster
![]() |
Bard the Bowman poster
Notes
- Pipes (|) in captions must be masked via {{!}}.
- Not more than 40 images.
Community content is available under CC-BY-SA unless otherwise noted.