font-size:medium|xx-small|x-small|small|large|x-large|xx-large|smaller|larger|length|initial|inherit;
line-height: 70%
Type
|
Wikitext options
|
Default setting
|
Layout options
|
Photo width (max) |
widths=[number of pixels] |
200px
|
Number of columns |
columns=[number of columns] or perrow=[number of columns] |
Fit to page*
|
* If columns isn't specified, the number of photos displayed per row will adjust automatically according to the size of the browser window.
|
Gallery position |
position=[left/center/right] |
Left
|
Photo spacing |
spacing=[small/medium/large] |
Med
|
Photo orientation and cropping |
orientation=[none/landscape/portrait/square] |
None
|
Caption options
|
Caption position |
captionposition=[within/below] |
Below
|
Caption alignment |
captionalign=[left/center/right] |
Left
|
Caption color |
captiontextcolor=[hex color code] |
Article text color
|
Border options
|
Border thickness |
bordersize=[none/small/medium/large] |
Small
|
Border color |
bordercolor=[hex color code] |
Accent theme color
|
Other
|
Hide "add photo" button |
hideaddbutton=true |
Not hidden
|
Gallery caption |
caption=[text displayed] |
No caption
|
The photos
|
Photos are separated by newlines. |
|
Captions are optional. Brackets are used only for adding links within captions. |
|
Links are optional, and use link= |
|