Template:Tl

The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation. A short example is that the code:


 * generates
 * Example
 * Example

{ "description": "This template displays a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation.", "params": { "1": {   "label": "template name", "description": "the template name without the namespace prefix “Template:”, which is added automatically", "type": "string", "required": true } }}

More complex variations are described below.