Template:IconLink
Jump to navigation
Jump to search
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
{{IconLink|1}}
- Gives a link to the page "1", with its icon 1.png, size 50px{{IconLink|1|size=100px}}
- As above but with a 100px icon.{{IconLink|1|default=unknown}}
- uses "unknown.png" as the icon if "1.png" not found.
Parameters
1
Page to link. Also the title of the png icon to use.size
(optional) is the image size. If not given, it will use 20px as default.default
(optional) icon name to fall back on if 1.png does not exist.
The above documentation is transcluded from Template:IconLink/doc. (edit | history)