FANDOM



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

This template creates a navigation gallery that is used inside an ItemBlock. It uses the default MediaWiki tag gallery version and thus also support the same default syntax for each individual gallery item.

As a helper template, the Template:BlockGalleryItem was created to have a more easy interface to the define individual gallery items.

Paramaters

Parameter Description Default value
1 The first parameter is used to define all gallery items as described on the Fandom page. Even though this is an unnamed parameter it is recommended to use it as a named parameter. This means that you would use the "1=" syntax.
size This defines the preferred size of all images. 155
columns This defines the preferred amount of columns for the gallery 100

Indented script version

    {{#tag:gallery|
        {{{1}}}
        |navigation="true"
        |spacing="large"
        |widths="{{{size|155}}}"
        |hideaddbutton="true"
        |orientation=square
        |columns={{{columns|100}}}
    }}

Example

{{BlockGallery|1=
    Teutonic_Knight.png
    Tomoe_Gozen.png{{!}}Captioned gallery item
}}
Community content is available under CC-BY-SA unless otherwise noted.