Template:Autoimage/doc

This is a utility function to display requested images, or else fill in a default image. It is intended for use within infobox templates.

Syntax
Standard usage:

Complete argument list:

Parameters
There is one optional unnamed argument (images). All other parameters are named and optional. Default value for all arguments is empty.


 * images
 * First unnamed parameter, optional
 * A comma-separated list of one or more image names.
 * If images is empty, a default value will be filled in. On the English wiki, the pagename (  ) will be used.  On other language wikis, eng must be used to provide the english translation of the current pagename.
 * The template works best with png images, in which case the image names should be provided without the .png extension.
 * For any other type of image, the extension must be included
 * Full image links (e.g.,  [[File:Parsnip.png]] ) will also work, but no image-existence checks are done, and any option is ignored.


 * eng = item
 * English translation of current pagename.
 * Only necessary on non-English wikis


 * separator = space
 * Any type of space characters that should be placed in between images, e.g., &#nbsp; or.


 * option = option
 * Any additional option(s) to apply to all images. For example, option=24px.
 * Multiple options can be provided, as long as  |  (instead of  | </tt>) is used to separate them, e.g.,  24px|center </tt>

Examples
@@ On this template page, Autoimage without any parameters generates nothing, because is not a valid file name. Result: @@