Template:Icon/doc

This is a small function to use icons. It will insert a picture, render it to 32px, set the link to Name instead of the picture-detail and set the Name as capture.

Parameters

 * 1: The name of the item. Used in the image (File:1.png), the tooltip, and the link/name if applicable.
 * 2: (Optional) The formatting style. Will output a 32px icon with a tooltip if not provided. If given, must be one of:
 * table: Outputs a 20px image with a tooltip.
 * tabletext: Outputs a 20px image with the name of the item following, no tooltip.
 * tablelink: Outputs a 20px image with the name of the item following as a link, no tooltip.

Usage
<- for 32px <- for 20px <- for 20px + Name <- for 20px + Link

Example
produces.

produces.

produces.

produces.