Template:Gallery/float

From Slavemaker Wiki
Jump to: navigation, search

This creates an image and caption that floats to the left. Using several of these in succession will create an image gallery that expands and contracts depending on the user's browser width.

You may omit any parameter (leave out the entire line including |name =) to use its default value. The frame width and height must always be equal to those of the maximum image dimensions. If you set one, you must set the others.

{{Gallery/float
| File = name of image
| link = name of page that clicking on image will go to
| caption = caption for image
| img dim = the maximum dimensions of the image (default: 150x150px)
| frame width = width of img dim
| frame height = height of img dim
}}