Year of the Dragon: Through April 23rd, claim the adventure pack Slice of Life for free! Speak to Xatheral in the Hall of Heroes.edit
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!
Template:Gallery
USAGE[edit]
{{ Gallery | First image.jpg | Second_image.png | ... | Nth image.bmp | caption 1 = Image of First | caption # = ... | alt 1 = alternate image | alt # = ... }}
- This template will accept unlimited* implicit or explicitly numbered parameters. Each numbered parameter is expected to be just the name of the file itself, ie
First image.jpg
orSecond_image.png
only. Do not putFile:
orMedia:
in front of it and don't wrap it in[[
Square brackets]]
. - (Optional)
|caption #=
parameters are available to change the default text from a link to the file page to whatever you want to have as a caption. - (Optional)
|alt #=
parameters let you override the default image if the image is missing with any other image on wiki of your choice. (- Default: No pic.jpg -) - (Optional)
|mode=
allows you to use thetraditional
,nolines
,packed
,packed-overlay
, orpacked-hover
modes. Note: theslideshow
mode option is not available until we upgrade to MW:1.28+. (- Default: traditional -) - (Optional)
|caption=
allows you to add a caption to the entire gallery. Not to be confused with the|caption #=
option above. - (Optional)
|widths=
allows you to set the max width in px (input the integer part only) of all the images. (- Default: 120 -) - (Optional)
|heights=
allows you to set the max height in px (input the integer part only) of all the images. (- Default: 120 -) - (Optional)
|per row=
allows you to define the number of images that should be in a row. Set to 0 for "auto-adjust". (- Default: 0 -)
CODING[edit]
The code in this section is "includeonly" transcluded onto the page.