Template:Tlx/doc

This template creates example usage syntax for a template, and links the name to the template page. The name is derived from "Template list expanded".

Up to 7 pass parameters (numbered) for the specified template are displayed as 'placeholders', and more parameters are shown as " ...". An optional  parameter can specify an interwiki prefix to link to another wiki. Examples:

TemplateData
{	"description": "Template list expanded", "format": "inline", "params": { "1": {			"label": "Template", "description": "Linked template name", "required": true, "type": "wiki-template-name" },		"2": {			"label": "Parameter 1", "description": "First parameter value", "type": "string" },		"3": {			"label": "Parameter 2", "description": "Second parameter value", "type": "string" },		"4": {			"label": "Parameter 3", "description": "Third parameter value", "type": "string" },		"5": {			"label": "Parameter 4", "description": "Fourth parameter value", "type": "string" },		"6": {			"label": "Parameter 5", "description": "Fifth parameter value", "type": "string" },		"7": {			"label": "Parameter 6", "description": "Sixth parameter value", "type": "string" },		"8": {			"label": "Overflow", "description": "Overflow shown as ...", "type": "string" },		"SISTER": { "label": "Interwiki", "description": "Optional InterWiki link prefix", "type": "string" }	} }