Template:Gallery/Documentation: Difference between revisions

Want an adless experience? Log in or Create an account.
m
no edit summary
mNo edit summary
mNo edit summary
Line 8: Line 8:
{{Gallery/Bottom}}
{{Gallery/Bottom}}
</pre></div><br style="clear:both">
</pre></div><br style="clear:both">
Use the parameter ''size'' to set the size to have each image as a pure number, the default value is 120. Use the parameter ''pad'' to set the amount of padding to have,as a pure number, the default value is 15. Use ''perrow'' to set the number of images per row, by default the number automatically fits the screen. Use '''title''' to make a title for the gallery. Use ''perrow'' to set the default reduction in the top and bottom margins for all images. Use ''align'' to set the default alignment of all captions.  
Use the parameter ''size'' to set the size to have each image as a pure number, the default value is 120. Use the parameter ''pad'' to set the amount of padding to have,as a pure number, the default value is 15. Use ''perrow'' to set the number of images per row, by default the number automatically fits the screen. Use '''title''' to make a title for the gallery. Use ''margin'' to set the default reduction in the top and bottom margins for all images, by default the margin is completely automatic. Use ''align'' to set the default alignment of all captions, by default the alignment is set to center.  


Use a '''Gallery/Box''' for each image. All parameters other than file are optional and can be entered in any order.
Use a '''Gallery/Box''' for each image. All parameters other than file are optional and can be entered in any order.