模板:Tl
来自康健生活
这个文档嵌入自模板:Tl/doc
。
模板链接模板是一个简单的宏 模板用作链接包围括号显示模板名称,从而示出了模板名称作为代码而不是实际调用它。它的主要用途是在说明和文档中,用于按名称引用模板而不调用它。
{{tl|Example}}
TemplateData
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.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| template name | 1 | the template name without the namespace prefix “Template:”, which is added automatically | 单行文本 | 必需 |
More complex variations are described below.