Template:FreedImg/400/doc


 * This template uses FreedImg, but limits the initial width. Similar to the width in layout 2 in Default layout, it limits the image width portrait-oriented to 400px, but can shrink as in FreedImg when the screen width of the book is smaller than 400px. 100% gives a width of 400px, 50% gives a width of 200px and so on.

Parameters

 * for the Image itself
 * : The file name (without the "File:" prefix) (mandatory parameter)
 * : Image alt-text, ie. for mouse-over text box or for use with a screenreader for the visually impaired (optional)
 * Currently no possibility for inline link re-assignment using the parameter.
 * when ( =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
 * : Default orientation is portrait, at 400px. Setting the parameter to landscape will default the width to 540px.
 * : The width of the primary container, by percentage (present, variable, default 400px)
 * : The class for the primary container, (present, variable, default floatnone [a null undefined classname just for placeholder purposes])
 * : 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 Caption
 * : The image caption (not present; must be added).
 * ,: 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).


 * Others
 * , uses this anchor template, for linking to an image.

FreedImage comparison

 * All of the following three examples have the image parameters set to the same value, but are adjusted dependent on the screen width.