You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Tld/doc

From Wikitech-static
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.

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

Up to 9 pass parameters (numbered) for the specified template are displayed as 'placeholders'.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Tld

<templatedata> { "description": "Template link code linked", "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": "content" }, "3": { "label": "Parameter 2", "description": "Second parameter value", "type": "content" }, "4": { "label": "Parameter 3", "description": "Third parameter value", "type": "content" }, "5": { "label": "Parameter 4", "description": "Fourth parameter value", "type": "content" }, "6": { "label": "Parameter 5", "description": "Fifth parameter value", "type": "content" }, "7": { "label": "Parameter 6", "description": "Sixth parameter value", "type": "content" }, "8": { "label": "Parameter 7", "description": "Seventh parameter value", "type": "content" }, "9": { "label": "Parameter 8", "description": "Eighth parameter value", "type": "content" }, "nowrap": { "label": "Nowrap?", "description": "Whether to add “”", "default": "0", "autovalue": "1", "type": "boolean" } } } </templatedata>

See also

Template:Tl-nav