Template:Im/doc

Description
im is an icon-link (meta)-template.

It can be used to create a variety of icon templates, but, due to its short one letter parameters, nothing prevents it from being used directly on articles.

Editors can create new templates based on im without ever having to come here to edit this meta-template.

It should be use for all types of items.

For creatures, use the ii.

Syntax
Here are some of the possibilities:

Required
This is the icon being used and what will define the text and the link, if activated by the following parameters.
 * 1st unnamed

Optional
These 2 unnamed parameters are reserved to:
 * 2nd and 3rd unnamed
 *    if used, the image/icon will have a link; and
 *    if used, the icon will be followed by a text link.

If both are used,   shall always come before  . Never:. Note that the icon and the linked article shall have the same name. The image file can be renamed to match the article name, redirect pages may be used to fill the gap (see the example bellow: there is no article named "Tricky Toki Statue", but there is a redirect page), or use   for a custom target.   provides a text different from the image name.

Customizes the size of the icon (e.g.:, default is 18px).
 * s=?px

Customizes the tooltip over icons without text or links.
 * tip=?

Specify the file type (extension) if it's different from. If the image is a GIF, JPG, SVG, or any supported image type other than PNG, this parameter should be used.
 * f=EXT

Refines the vertical position of the icon with a distance from the bottom in pixels. The default is. It accepts positive and negative values.
 * b=?px

Technicalities
Unlike, this one does not use the expensive function call.