Template:IconLink/doc

Takes a page title and provides an icon. 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 50px
 * - As above but with a 100px icon.
 * - uses "unknown.png" as the icon if "1.png" not found.

Parameters

 * Page to link. Also the title of the png icon to use.
 * (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.