Template:TemplateCode

Revision as of 23:11, 31 October 2024 by Selfice (talk | contribs) (创建页面,内容为“<includeonly><code>-{}-{{{{#invoke: Array | main | wrap = nowiki | delimiter = {{!}} | keepblank = 1 }}}}</code></includeonly><noinclude>{{documentation}} <!-- 请将分类/语言链接放在文档页面 --></noinclude>”)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[ View | Edit | History | Purge ]Documentation page

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|页面移动至|可选原因}}

另见

en:Template:TemplateCode

[ View | Edit | History | Purge ]The above documentation is transcluded from Template:TemplateCode/doc.