Help:Gallery

From Lockwiki
Revision as of 16:58, 18 August 2009 by Datagram (talk | contribs) (Based on http://en.wikipedia.org/wiki/Wikipedia:Gallery)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Help:Gallery

A gallery is a collection of items on a particular Lockwiki page. Galleries are commonly used to group images on specific locks to display their variations, design traits, and other information. A gallery should be included on every lock-specific page if there are enough images to populate the gallery and they are unique enough to warrant use. For more information on using images, see Help:Images.


Making a gallery

<gallery caption="Sample gallery" widths="180px" heights="120px" perrow="3">
File:Image.png|Caption text.
[...]
</gallery>

The basic syntax is:

<gallery>
File:ASSA_Twin_V10_cylinder.jpg
File:ASSA_Twin_V10_cylinder.jpg|This image has a caption
File:ASSA_Twin_V10_cylinder.jpg
File:ASSA_Twin_V10_cylinder.jpg|This caption has a link to the [[Main Page]].
</gallery>

Which produces:

Notes

  • Gallery images are separated by new lines.
  • Captions are optional, and may contain wikitext.

See also