Template:TemplateCode: Difference between revisions
Jump to navigation
Jump to search
创建页面,内容为“<includeonly><code>-{}-{{{{#invoke: Array | main | wrap = nowiki | delimiter = {{!}} | keepblank = 1 }}}}</code></includeonly><noinclude>{{documentation}} <!-- 请将分类/语言链接放在文档页面 --></noinclude>” |
m 1 revision imported |
(No difference)
|
Latest revision as of 12:29, 1 November 2024
This template uses Module:Array, this script is written in Lua.
For more details, please refer to Wikipedia:Lua and Extension:Scribunto.
用法
-{}-{{tcode|模板名称}}
也可以添加无限数量的参数。注意,必须使用-{}-{{=}}
来转义=
。
示例
-{}-{{tcode|subst:autoUnsigned}}
效果:
-{}-{{subst:autoUnsigned}}
-{}-{{tcode|Block|2=type=wood}}
效果:
-{}-{{Block|type=wood}}
-{}-{{tcode|:食物/table}}
效果:
-{}-{{:食物/table}}
-{}-{{tcode|move|页面移动至|可选原因}}
效果:
-{}-{{move|页面移动至|可选原因}}
另见
- {{Para}}
- {{Param}}
- {{Template link}}
[ View | Edit | History | Purge ]The above documentation is transcluded from Template:TemplateCode/doc.