Template:CodeBox/doc

Article description::Displays a block element containing code, optionally providing syntax highlighting. A list of recognized languages for syntax highlighting can be found here.

Parameters
{	"params": { "1": {			"label": "Code", "type": "content", "required": true },		"title": { "description": "Additional title to display in the box header", "type": "string", "suggested": true },		"lang": { "label": "Language", "description": "Language of the contents, used for syntax highlighting", "example": "bash", "type": "string", "default": "text", "suggested": true }	},	"description": "Displays a block element containing code, optionally providing syntax highlighting" }

Usage
See the template's testcases: