Template:IconLink/doc

Takes a page title and provides a link with an icon to the left side. The icon is a png with the same title. Optionally, you can specify a default icon to use if missing, and/or an icon size.

Usage

 * - Gives a link to the page "1", with its icon 1.png, size 20px
 * - Gives a link to the page "1", with its icon 1.png and labeled as "2", size 20px
 * - As above but with a 100px icon.
 * - uses "unknown.png" as the icon if "1.png" not found.
 * - Combination of the above.

Parameters

 * Page to link. Also the title of the png icon to use.
 * (optional) Alt label for the link. If not given, it will use "1" instead.
 * (optional) is the image size. If not given, it will use 20px as default.
 * (optional) icon name to fall back on if 1.png does not exist.