Editing Help:Images
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision
Your text
Line 559:
Line 559:
* <code>caption="{caption}"</code>: (caption text between double quotes for more than a word) sets a caption centered atop the gallery. Only plain text may be used in the caption; formatting, templates and the like will not work. * <code>caption="{caption}"</code>: (caption text between double quotes for more than a word) sets a caption centered atop the gallery. Only plain text may be used in the caption; formatting, templates and the like will not work.
− * <code>widths={width}px</code>: sets the (max) widths of the images; the default value is 120px. (It has no effect if mode is set to one of the following: packed, packed-overlay, packed-hover.) ''Note the plural: width'''s'''''. + * <code>widths={width}px</code>: sets the (max) widths of the images; the [[Special:MyLanguage/Manual:$wgGalleryOptions|default value]] is 120px. (It has no effect if mode is set to one of the following: packed, packed-overlay, packed-hover, slideshow.) ''Note the plural: width'''s'''''.
− * <code>heights={heights}px</code>: sets the (max) heights of the images; the default value is 120px. + * <code>heights={heights}px</code>: sets the (max) heights of the images; the default value is 120px. (It has no effect if mode is set to slideshow.)
* <code>perrow={integer}</code>: sets the number of images per row. (It has no effect if mode is set to one of the following: packed, packed-overlay, packed-hover, slideshow.) 0 means automatically adjust based on width of screen. * <code>perrow={integer}</code>: sets the number of images per row. (It has no effect if mode is set to one of the following: packed, packed-overlay, packed-hover, slideshow.) 0 means automatically adjust based on width of screen.
− * <code>showfilename={anything}</code>: Show the filenames of the images in the individual captions for each image. + * <code>showfilename={anything}</code>: Show the filenames of the images in the individual captions for each image (1.17+).
− * <code>mode={traditional|nolines|packed|packed-hover|packed-overlay}</code>. + * <code>mode={traditional|nolines|packed|packed-hover|packed-overlay|slideshow}</code>: See section above (1.22+; 1.28+ for "slideshow").
+ * <code>showthumbnails</code>: For "slideshow" mode only, display the strip with image thumbnails below the slideshow by default (1.29+).
==== Examples ==== ==== Examples ====
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 559: | Line 559: | ||
* <code>caption="{caption}"</code>: (caption text between double quotes for more than a word) sets a caption centered atop the gallery. Only plain text may be used in the caption; formatting, templates and the like will not work. | * <code>caption="{caption}"</code>: (caption text between double quotes for more than a word) sets a caption centered atop the gallery. Only plain text may be used in the caption; formatting, templates and the like will not work. | ||
− | * <code>widths={width}px</code>: sets the (max) widths of the images; the default value is 120px. (It has no effect if mode is set to one of the following: packed, packed-overlay, packed-hover.) ''Note the plural: width'''s'''''. | + | * <code>widths={width}px</code>: sets the (max) widths of the images; the [[Special:MyLanguage/Manual:$wgGalleryOptions|default value]] is 120px. (It has no effect if mode is set to one of the following: packed, packed-overlay, packed-hover, slideshow.) ''Note the plural: width'''s'''''. |
− | * <code>heights={heights}px</code>: sets the (max) heights of the images; the default value is 120px. | + | * <code>heights={heights}px</code>: sets the (max) heights of the images; the default value is 120px. (It has no effect if mode is set to slideshow.) |
* <code>perrow={integer}</code>: sets the number of images per row. (It has no effect if mode is set to one of the following: packed, packed-overlay, packed-hover, slideshow.) 0 means automatically adjust based on width of screen. | * <code>perrow={integer}</code>: sets the number of images per row. (It has no effect if mode is set to one of the following: packed, packed-overlay, packed-hover, slideshow.) 0 means automatically adjust based on width of screen. | ||
− | * <code>showfilename={anything}</code>: Show the filenames of the images in the individual captions for each image. | + | * <code>showfilename={anything}</code>: Show the filenames of the images in the individual captions for each image (1.17+). |
− | * <code>mode={traditional|nolines|packed|packed-hover|packed-overlay}</code>. | + | * <code>mode={traditional|nolines|packed|packed-hover|packed-overlay|slideshow}</code>: See section above (1.22+; 1.28+ for "slideshow"). |
+ | * <code>showthumbnails</code>: For "slideshow" mode only, display the strip with image thumbnails below the slideshow by default (1.29+). | ||
==== Examples ==== | ==== Examples ==== |