Template:ItemLink/doc

Takes a single parameter and provides a link to something accompanied by a 20px image of it.

For this template to work, there must be a png image with the same name of the page you are trying to link to.

Optionally define a second parameter to change the name of the item.

Parameters

 * defines the name and image, adding content equivalent to 1.png 1.
 * (optional) provides alternate text on the link. If given, the template will instead add content equivalent to 1.png 1|2.

TemplateData
{	"params": { "1": {			"aliases": [ "link" ],			"label": "Link", "type": "wiki-page-name", "required": true },		"2": {			"aliases": [ "text" ],			"label": "Text", "type": "string", "default": "" },		"image": { "label": "Image", "type": "wiki-file-name", "default": ".png" },		"size": { "label": "Size", "type": "string" }	},	"format": "inline" }