Template:Icon/doc

This template is used to add an image as icon. By default, the image includes a border and links to the image page. The default dimensions of an icon are 22x18px.

Usage examples

 * Standard usage
 * &rarr;
 * &rarr;


 * No border (slightly larger image to compensate)
 * &rarr;


 * Unlinked
 * &rarr;


 * Custom link
 * &rarr;


 * Size
 * &rarr;


 * Mouseover text
 * &rarr;


 * Image placeholder (uses unlinked and unbordered transparent image)
 * &rarr;


 * Non-decorative flag image (removes the "icon" class to avoid the image being hidden if the code below is used)
 * &rarr;

Removing icons from display
If you have a Wikia account, you can make icons created with this template not display by copying the following into Special:MyPage/wikia.css (or Special:MyPage/monobook.css if you use the Monobook skin): .icon {display:none;}