Template:Gallery/doc

Template page

This template displays a gallery of images in an array, left-to-right in rows. Global parameters width and height control the size of all images in the gallery. The number of images per row is based upon the image width parameters and the width of the screen. The number of images per row can change when the user resizes the window.

{{Gallery
| title        = 
| align        =
| footer       =
| style        =
| class        =
| state        =
| height       =
| width        =
| captionstyle =
| File:
 | alt1=
 | Write a caption here
| File:
 | alt2=
 | Write a caption here
| File:
 | alt3=
 | Write a caption here
| File:
 | alt4=
 | Write a caption here
| File:
 | alt5=
 | Write a caption here
}}

Parameters[edit source]

See the wikimedia docs for the full list of parameters.


Example[edit source]


Sourcecode of example[edit source]

{{Gallery | whitebg=no | height=300 | width=300 | align=center | mode=packed
| File:Erin official by ArtsyNada.webp|[[Erin Solstice]], Innkeeper
| File:Lyon_by_Stephanie_Chen.jpg|[[Lyonette du Marquin]], Manager and Mother
| File:Mrsha by ccyan.jpg|[[Mrsha du Marquin]], Gardener and Sister
| File:Numbtongue by ArtsyNada.png|[[Numbtongue]], Bouncer, Bard and Big Brother
| File:Bird the Hunter by Bobo Plushie.PNG|[[Bird]], Guard and Little Brother
| File:Buzz buzz by auspiciousoctopi.jpg|[[Apista]], Mascot
| File:Ryoka_Portrait_by_LeChatDemon.jpg|[[Ryoka Griffin]], Absent Aunt
| File:Ulvama_by_pkay.jpg|[[Ulvama]], Lazy Aunt
| File:Yelroan pkay.png|[[Yelroan]], Financial Advisor
| File:Ishkr with suit cut out by Butts.jpg|[[Ishkr Silverfang]], Head Waiter
| File:Rosencrantz.missing|[[Rosencrantz]], Waiter
}}