Template:FileBox/doc

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

Parameters
{	"params": { "1": {			"label": "File Content", "type": "string", "required": true },		"filename": { "description": "File name to display in the box header", "type": "string", "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" }	},	"description": "Create an infobox to mark this discussion as open to help readers looking only for open / done discussions." }

Usage
See the template's testcases: