Template:TemplateCode/doc

Revision as of 23:12, 31 October 2024 by Selfice (talk | contribs) (创建页面,内容为“{{Documentation header}} {{lua|Array}} {{shortcut|tcode|tcd}} == 用法 == {{tcode|tcode|模板名称}} 也可以添加无限数量的参数。注意,必须使用{{tcd|1==}}来转义<code>=</code>。 == 示例 == {{tcode|tcode|subst:autoUnsigned}} 效果:<br> {{tcode|subst:autoUnsigned}} {{tcode|tcode|Block|3=2=type=wood}} 效果:<br> {{tcode|Block|2=type=wood}} {{tcode|tcode|:食物/table}} 效果:<br> {{tcode|:食物/table}} {{tcode|tcode|move|…”)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[ 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