模板:Tl:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
创建页面,内容为“<noinclude>{{Documentation}}</noinclude> {{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude> <!-- Categories go on the /doc subpage and interwikis go on…”
 
Kangkk​(留言 | 贡献)
无编辑摘要
 
第1行: 第1行:
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>
&#123;&#123;[[Template:{{{1}}}|{{{1}}}]]&#125;&#125;<noinclude>
<includeonly>&#123;&#123;[[Template:{{{1}}}|{{{1}}}]]&#125;&#125;</includeonly>
 
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>

2020年3月2日 (一) 16:09的最新版本

模板文档[查看] [编辑] [历史] [刷新]

模板链接模板是一个简单的宏 模板用作链接包围括号显示模板名称,从而示出了模板名称作为代码而不是实际调用它。它的主要用途是在说明和文档中,用于按名称引用模板而不调用它。

{{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 name1

the template name without the namespace prefix “Template:”, which is added automatically

单行文本必需

More complex variations are described below.