Template:Hero ID/doc

Use this template for displaying hero icons in articles together with their names. Image size is optional, defaults at 20px.

Usage: Hero ID

Example:

TemplateData
{	"params": { "1": {			"label": "Hero", "description": "The hero's name.", "example": "Ursa", "type": "string", "required": true },		"2": {			"label": "Size", "description": "The icon size.", "type": "string", "default": "20px" },		"text": { "label": "Alternate Name", "description": "Replace the hero's name with custom text.", "example": "Wisp", "type": "string" }	},	"description": "Display a hero's icon and name.", "format": "inline" }

zh:Template:Hero ID/doc