Template:Unit ID/doc

This template is used to display unit icons next to their link in articles. Image size is optional and defaults to 24px.

Usage: Unit ID

Example:

TemplateData
{	"params": { "1": {			"label": "Unit", "description": "The unit name.", "example": "Roshan", "type": "string", "required": true },		"2": {			"label": "Icon Size", "type": "string", "default": "24px" },		"text": { "label": "Link Text", "type": "string" }	},	"format": "inline", "description": "Displays a unit icon and link.", "paramOrder": [ "1",		"2",		"text" ] }

zh:Template:Unit ID/doc