Template:TemplateCode/doc

From NeuroWiki
Revision as of 12:29, 1 November 2024 by Selfice (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[ Purge ]
This is the documentation page, it should be placed in should. See Template:Documentation for more information.

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/doc