- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
模板:Transclude
Qsefthuopq(讨论 | 贡献)2019年9月28日 (六) 13:56的版本 (创建页面,内容为“{{ #switch: {{NAMESPACE: {{{1}}} }} | #default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> | {{ns:0}} = {{ #ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Te…”)
Template:{{{1}}}
模板文档[编辑]
{{#invoke: documentation | docPage }} This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.
Usage
{{transclude| Template:Foo }}
→ 模板:Foo{{transclude| Category:Foo }}
→ 分类:Foo{{transclude| Foo }}
→ Template:Foo{{transclude| :Foo }}
→ Foo{{transclude| :File:Foo }}
→ 文件:Foo
See also
- Template:Transclude on Wikipedia