Template:FreedImg/doc


 * Use this image container template to display CENTERED images.
 * Resizes the container dynamically and provides additional image related features.
 * When used to display an offset image, the surrounding text is broken into a new paragraph.

Usage

 * Always please use the shortcut to FreedImg, FI, rather than the long template name.

For true inline usage, please see FreedImg/span, FIS, instead.

Parameters

 * For the Image itself


 * mandatory : File name (without the "File:" prefix).
 * optional : Image alt-text, ie. for mouse-over text box or for use with a screenreader for the visually impaired.
 * optional : Override the default image link with an internal/external URL of your choosing (optional)
 * optional : Select individual image page within a multi-page file (PDF/DJVU etc.; optional)


 * when the (=user) is present & set
 * Images generated by certain wikicode extensions (e.g. the default &lt;math&gt; User preference, &lt;score&gt;, etc.) may be entered in the named parameter instead.


 * Primary DIV container
 * : The width of the primary container, by percentage (present, variable, default 100%)
 * : The class for the primary container, (present, variable, default floatnone [a null undefined classname just for placeholder purposes])
 * : Any special overall styles to apply to primary container (default: no extra CSS).
 * : The alignment of the primary container (not present; must be added, options are "left" or "right"; otherwise remains centered).
 * : The margin(s) of the primary container to be cleared (not present; must be added, options are "left", "right" or "both").
 * , : Any special margins to be applied to the primary container (defaults appropriate for centered result).


 * Image element
 * : extra CSS classes to add
 * : request this size of image from the server, rather than computing a guess. This can help to reduce file size, for example, when you know the image will be used in a narrow container. If is given and uses , you don't need to repeat it here. This value must be a pixel based value (em or percent based values are not supported for this parameter).


 * Image Caption
 * : The bottom image caption (if present)
 * : The top image caption (if present)
 * , : Any special text style or alignment to apply to caption block (if present).
 * , : Any special text-flow (e.g. hanging indent etc.) control to apply to caption (if present).

Styling via CSS
The following classes are applied, which can be targeted with work-specific CSS:
 * The whole container:
 * The caption(s):
 * The top caption:
 * The top caption:

Mathematical Equation
N.B. This only works if the user's Preferences are set to the default (i.e. Preference/Appearance/Math is "Always render PNG". Experimental choice "MathJax" causes any formulæ to be rendered entirely in text, completely bypassing any effect FreedImg may have.)

Missing images
If an image doesn't exist yet, you can use  in the  parameter: