Template:Photo/doc

Photo is an alternative to the Gallery extension that simulates Polaroid photographs. It is used for photo-based table-of-contents or as a standalone Gallery.

Usage and Notes

 * Image (Parameter 1): The picture to be displayed.
 * Example:  or


 * Caption: (Optional) The caption to be displayed.
 * Example:


 * Link: (Optional) Hyperlink to follow if NOT just to the displayed image when clicked.
 * Example:
 * Note: to link the image directly (for photo galleries), leave the link blank.


 * Equivalent Caption and Link: (Optional) Use only when both the Caption and Link are the same to increase legibility of the code.
 * Example:
 * For instance,
 * does exactly the same as


 * Icon: (Optional) An icon to be displayed at the start of the caption.
 * Example:


 * Icon2: (Optional) A second icon to be displayed at the start of the caption after the first icon.
 * Example:


 * CSS: (Optional) CSS to affect the entire photograph at the  html tag encompassing it.
 * Example:


 * Blackbox: (Optional) The color to display the stereotypical "Black Background" when the image doesn't fill the full 200x113px area.
 * Example:
 * Example:
 * Example:







