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
{	"description": "Creates a link to an item with an accompanying image.", "format": "inline", "params": { "1": {			"aliases": [ "link" ],			"label": "Link", "required": true, "type": "wiki-page-name" },		"2": {			"aliases": [ "text" ],			"label": "Text", "default": "", "type": "string" },		"image": { "label": "Image", "default": ".png", "type": "wiki-file-name" },		"size": { "label": "Size", "type": "string" }	} }